Commit graph

29 commits

Author SHA1 Message Date
Lennart Poettering f975e971ac load-fragment: speed up parsing by using a perfect hash table with configuration settings built by gperf 2011-08-01 00:43:05 +02:00
Lennart Poettering 5ba7b87195 password-agent: actually really don't access unallocated memory
Fix for 9726f9ff11
2011-07-04 19:06:43 +02:00
Lennart Poettering 9726f9ff11 password-agent: make sure not to access unallocated memory
Tracked down by Frederic Crozat
2011-07-04 19:00:48 +02:00
Lennart Poettering 4d6d6518c3 logind: automatically deduce seat from display 2011-06-27 22:44:12 +02:00
Lennart Poettering ded8033531 ask-password: use kill(PID, 0) before querying a password 2011-04-13 21:43:36 +02:00
Lennart Poettering 7dcda352a6 ask-password: support passwords without timeouts 2011-04-13 21:42:46 +02:00
Lennart Poettering d55f4f3f92 ask-password: always send final NUL char 2011-04-13 21:26:30 +02:00
Kay Sievers 2b583ce657 use /run instead of /dev/.run
Instead of the /dev/.run trick we have currently implemented, we decided
to move the early-boot runtime dir to /run.

An existing /var/run directory is bind-mounted to /run. If /var/run is
already a symlink, no action is taken.

An existing /var/lock directory is bind-mounted to /run/lock.
If /var/lock is already a symlink, no action is taken.

To implement the directory vs. symlink logic, we have a:
  ConditionPathIsDirectory=
now, which is used in the mount units.

Skipped mount unit in case of symlink:
  $ systemctl status var-run.mount
  var-run.mount - Runtime Directory
    Loaded: loaded (/lib/systemd/system/var-run.mount)
    Active: inactive (dead)
            start condition failed at Fri, 25 Mar 2011 04:51:41 +0100; 6min ago
     Where: /var/run
      What: /run
    CGroup: name=systemd:/system/var-run.mount

The systemd rpm needs to make sure to add something like:
  %pre
  mkdir -p -m0755 /run >/dev/null 2>&1 || :
or it needs to be added to filesystem.rpm.

Udev -git already uses /run if that exists, and is writable at bootup.
Otherwise it falls back to the current /dev/.udev.

Dracut and plymouth need to be adopted to switch from /dev/.run to run
too.

Cheers,
Kay
2011-03-28 23:00:00 +02:00
Lennart Poettering b925e72633 dev: use /dev/.run/systemd as runtime directory, instead of /dev/.systemd 2011-03-09 22:45:47 +01:00
Lennart Poettering 1a6f4df6c9 dirent: support DT_UNKNOWN where necessary for compat with reiserfs 2011-03-03 16:29:50 +01:00
Lennart Poettering 3414abee0d ask-password: make a confused gcc shut up 2011-02-28 23:24:33 +01:00
Harald Hoyer 35b8ca3aaf Spelling Corrections
Just some lame spelling corrections with no functionality.
2011-02-28 22:47:38 +01:00
Lennart Poettering 446f004656 agent: don't print warnings if a password was removed or timed out 2011-02-25 02:52:07 +01:00
Lennart Poettering c0f9c7da07 systemctl: shutdown agent explicitly so that it can reset the tty properly 2011-02-25 02:51:48 +01:00
Lennart Poettering ccc80078fe general: unify error code we generate on timeout 2011-02-24 02:33:57 +01:00
Lennart Poettering 21bc923aa3 ask-password: supported plymouth cached passwords 2011-02-23 01:12:07 +01:00
Lennart Poettering fc116c6a19 util: beef up logic to find ctty name 2011-02-17 16:29:04 +01:00
Lennart Poettering 7f6d613516 systemctl: make sure the tty agent does not retain a copy of stdio
https://bugzilla.redhat.com/show_bug.cgi?id=674916
2011-02-09 01:00:21 +01:00
Lennart Poettering 0cf8469387 ask-password: add --console mode to ask questions on /dev/console 2010-11-16 04:28:04 +01:00
Lennart Poettering 967072694d plymouth: use updated socket name 2010-11-16 03:12:54 +01:00
Lennart Poettering 7af53310dd ask-password: don't show wall message on ttys we are already running a tty agent on 2010-11-12 03:33:08 +01:00
Lennart Poettering 9d3e691e70 ask-password: refer to right binary name in wall message 2010-11-12 03:05:20 +01:00
Lennart Poettering 656ce8f77a ask-password: ignore unknown query file fields 2010-11-12 03:05:03 +01:00
Lennart Poettering 53d3afa8ca ask-password: properly NULL terminate table 2010-11-12 03:04:47 +01:00
Lennart Poettering 7f4e08056d cryptsetup: hook up tool with ask-password 2010-11-12 00:40:27 +01:00
Lennart Poettering b9ba604e87 ask-password-tty: properly handle SIGINT/SIGTERM 2010-10-26 15:15:00 +02:00
Lennart Poettering 0ddf1d3aa5 ask-password: properly handle multiple pending passwords when writing wall msg 2010-10-26 04:45:27 +02:00
Lennart Poettering e5ebf783cb ask-password: add minimal plymouth password agent 2010-10-26 04:35:25 +02:00
Lennart Poettering ec863ba65a ask-password: add basic tty agent 2010-10-25 20:36:01 +02:00