Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-05-22 | systemd-analyze: switch to python getopt for argument parsing | Shawn Landden | |
this uses gnu style getopt, so you can put the opts at the end: (e.g.) systemd-analyze blame --user v4 | |||
2012-05-21 | main: allow system wide limits for services | Frederic Crozat | |
2012-05-21 | journald: one more SYSLOG_IDENTIFIER length fix | Michal Schmidt | |
2012-05-21 | journald: fix length of "SYSLOG_IDENTIFIER=" | Michal Schmidt | |
Fixes weird messages like: May 20 22:23:30 jik2 TIFIER=systemd-logind[795]: New session 46 of user gdm. https://bugzilla.redhat.com/show_bug.cgi?id=823498 | |||
2012-05-21 | util: rework in_initrd() logic | Lennart Poettering | |
Checking the device major/minor is not a good idea. Let's replace this with an explicit flag file, which we model after /etc/os-release and call /etc/initrd-release. | |||
2012-05-21 | main: rename a few fix to follow general naming style | Lennart Poettering | |
2012-05-21 | switch-root: move switch_root() call into its own .c file | Lennart Poettering | |
2012-05-21 | main: do_switch_root() do not recursively remove across device boundaries | Harald Hoyer | |
2012-05-21 | util: rm_rf_children() add root_dev parameter | Harald Hoyer | |
if root_dev is set, remove subdirectories only, if the device is the same as the root_dev. This prevents to remove files across device boundaries. | |||
2012-05-21 | delta/delta.c: initialize bottom for fail state | Harald Hoyer | |
2012-05-21 | core/main.c: handle the initrd timestamp differently, if in the initrd | Harald Hoyer | |
If systemd is in the initrd/initramfs, set the initrd timestamp and do not try to read it from the RD_TIMESTAMP environment variable. | |||
2012-05-21 | core/main.c: do_switch_root(): do not remove the old root if not in initrd | Harald Hoyer | |
Only recursively remove the old root, if we have been in an initrd/initramfs. | |||
2012-05-21 | core/main.c: add "--switchedroot" parameter | Harald Hoyer | |
If systemd serializes from a switch_root, it adds "--switchedroot" to the systemd in the real root. If "--switchedroot" is found, then we do not skip all the stuff, which is skipped for normal rexecs. | |||
2012-05-21 | manager: only serialize the timestamps for the initramfs if in_initrd() | Harald Hoyer | |
2012-05-21 | util.c: add in_initrd() | Harald Hoyer | |
in_initrd() checks, if the stat() for the device for "/" is 1, which it is for the initramfs. | |||
2012-05-21 | main: corrected do_switch_root() | Harald Hoyer | |
do_switch_root now mount moves "/dev", "/proc", "/sys", "/run" and removes the old root recursively. | |||
2012-05-21 | delta: fix spelling of overridden | Nis Martensen | |
2012-05-21 | util: fix typo in newdup | Frederic Crozat | |
2012-05-21 | sd-pam: Drop uid so parent signal arrives at child. | Auke Kok | |
The PAM helper thread needs to capture the death signal from the parent, but is prohibited from doing so since when the child dies as normal user, the kernel won't allow it to send a TERM to the PAM helper thread which is running as root. This causes the PAM threads to never exit, accumulating after user sessions exit. There is however really no need to keep the PAM threads running as root, so, we can just setresuid() to the same user as defined in the unit file for the parent thread (User=). This makes the TERM signal arrive as normal. In case setresuid() fails, we ignore the error, so we at least fall back to the current behaviour. | |||
2012-05-21 | journalctl: fix built-in usage output | Daniel Mack | |
This brings journalctl's built-in usage output in sync with the man page. There are no commands to pass, and the help screen should not confuse users. | |||
2012-05-21 | cryptsetup: support discards (TRIM) | Matthew Monaco | |
2012-05-21 | main: try a bit harder to find an init process to execute after ↵ | Lennart Poettering | |
reexec/switch-root | |||
2012-05-21 | service: make the fsck pass no configurable | Lennart Poettering | |
2012-05-21 | cryptsetup: a few simplifications | Lennart Poettering | |
2012-05-21 | hostname-setup: also consider (ńone) an unset hostname | Lennart Poettering | |
2012-05-21 | unit: introduce RequiredBy= setting in [Install], to complement WantedBy= | Lennart Poettering | |
2012-05-21 | login: minor typo fix | Lennart Poettering | |
2012-05-21 | units: introduce new Documentation= field and make use of it everywhere | Lennart Poettering | |
This should help making the boot process a bit easier to explore and understand for the administrator. The simple idea is that "systemctl status" now shows a link to documentation alongside the other status and decriptionary information of a service. This patch adds the necessary fields to all our shipped units if we have proper documentation for them. | |||
2012-05-21 | systemctl: drop useless DBus calls from 'systemctl show foo.service' | Michal Schmidt | |
systemctl called LoadUnit, GetUnit, GetAll in this order to get the properties. It is useless to load units explicitly, because it won't ensure anything. The unit may be freed immediately by the garbage collector. It is unnecessary to call GetUnit, because systemctl can easily translate the unit name to DBus path by itself. GetAll will load the unit if necessary. | |||
2012-05-21 | dbus-unit: always load the unit before handling a message for it | Michal Schmidt | |
We need to be able to show the properties even of inactive units. systemctl loads the unit before getting its properties, but this is racy as the garbage collector may kick in right after the loading. Fix it by always loading the unit before handling a message for it. https://bugzilla.redhat.com/show_bug.cgi?id=814966#c6 | |||
2012-05-21 | delta: drop PHP'ism | Lennart Poettering | |
2012-05-21 | delta: don't highlight unchanged files | Lennart Poettering | |
2012-05-21 | delta: introduce arg_flags field, to follow our usual scheme | Lennart Poettering | |
2012-05-16 | delta: use same nomenclature for equivalent and redirected everywhere | Lennart Poettering | |
2012-05-16 | delta: enums are much cooler than defines | Lennart Poettering | |
2012-05-16 | delta: Support filtering what type of deltas to show | Gergely Nagy | |
Not everyone is interested in every kind of deltas (and some might even be interested knowing which files do not have overrides), so this here is an implementation of a --type=LIST... option for systemd-delta, that makes it possible to filter what subset of deltas we want. The available modifiers are masked, equivalent, redirected, overriden, and unchanged - they should be self explanatory, and the man page explains them in a little more detail anyway. As a side effect, in case of overriden files, the diff output was made optional. By default, everything is shown (with a diff, if appropriate) except for completely unchanged files. Signed-off-by: Gergely Nagy <algernon@balabit.hu> | |||
2012-05-16 | delta: add preset dirs | Lennart Poettering | |
2012-05-16 | delta: add missing files | Lennart Poettering | |
2012-05-16 | switch-root: check for absolute paths | Lennart Poettering | |
2012-05-15 | udev: update docs, NEWS | Kay Sievers | |
2012-05-15 | udev: libudev - bump soname, remove deprecated functions, introduce symbol ↵ | Kay Sievers | |
versions | |||
2012-05-15 | tmpfiles: if we are supposed to write a string to a file, it's OK if we ↵ | Lennart Poettering | |
can't write the trailing newline | |||
2012-05-15 | install: fix inverted meaning of '--force' in systemctl enable | Michal Schmidt | |
2012-05-14 | missing: Fix broken syscall(__NR_fanotify_mark... on ppc32 | Andreas Schwab | |
The same situation as on o32 mips. | |||
2012-05-14 | sd-login: update header docs a bit | Lennart Poettering | |
2012-05-14 | namespace: make PrivateTmp= apply to both /tmp and /var/tmp | Lennart Poettering | |
2012-05-14 | systemctl: add switch-root verb | Lennart Poettering | |
2012-05-14 | core: add extra safety check before switching root | Lennart Poettering | |
2012-05-14 | job: info message if JOB_VERIFY_ACTIVE detects an inactive unit | Michal Schmidt | |
2012-05-14 | job: report the status of first half of JOB_RESTART the same as JOB_STOP | Michal Schmidt | |