1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 19:21:53 +03:00
Commit Graph

8342 Commits

Author SHA1 Message Date
Daniel Drake
7c49259fc8 shutdown: Don't skip bind mounts on shutdown
This reverts commits d72238fcb3 and
f3accc08.

OLPC runs / as a bind-mount, so this must be remounted RO during
shutdown to avoid corruption.

As Lennert can't recall the exact reasons for making the shutdown
code skip bind mounts, revert to previous behaviour to solve the
issue for OLPC.

http://lists.freedesktop.org/archives/systemd-devel/2012-April/004957.html
2012-05-30 23:17:03 +02:00
Lennart Poettering
d94117a93c journal: don't allow adding invalid matches to the context 2012-05-30 22:46:07 +02:00
Lennart Poettering
e51240886f journalctl: check first if match is a path name 2012-05-30 22:45:47 +02:00
Shawn Landden
509407003d journalctl: support /usr/bin/nginx, etc 2012-05-30 22:34:20 +02:00
Lennart Poettering
ab4979d202 journalctl: for now complain if more than one match is provided since this is still broken 2012-05-30 22:30:35 +02:00
Lennart Poettering
ba1261bc02 build-sys: fix built with --disable-logind 2012-05-30 22:25:01 +02:00
Lennart Poettering
7c0987d812 dbus: better don't expose options we better shouldn't exposed
NotifySocket= is hardly useful, people should use $NOTIFY_SOCKET if
anything.

RunningAs= suggests people had a choice of running user mode as PID 1 or
vice versa, so remove this too.
2012-05-30 21:43:11 +02:00
Lennart Poettering
c485d3ba09 service: mark compat options as such
This moves FsckPassNo= and SysVStartPriority= into its own
"Compatibility Options" section in the man page to clarify that these
options are not useful for anything but establishing a limited amount of
compatibility.

Also stop exposing these options on the bus.
2012-05-30 21:42:07 +02:00
Lennart Poettering
6de0e0e500 logind: rework button setting semantics
If a graphical session without full DE that handles power/suspend events
is used this can now be controlled by logind instead, optionally.
2012-05-30 21:40:32 +02:00
Tero Roponen
632c2e4123 login: Use the GOTO properly in udev rule
In udev rules the labels must be assigned to GOTO keys with '='.
2012-05-30 18:34:28 +02:00
Lennart Poettering
6c3569e11a journald: ignore messages read from /proc/kmsg that we generated via /dev/kmsg
Avoid a busy loop.
2012-05-30 15:42:35 +02:00
Lennart Poettering
e9d21f2407 logind: add missing files 2012-05-30 15:07:19 +02:00
Lennart Poettering
eb26728931 sleep: print nice messages right before and right after system hibernate/sleep 2012-05-30 15:04:39 +02:00
Lennart Poettering
069cfc85f8 logind: optionally handle power, sleep and lid switch events
This takes handling of chassis power and sleep keys as well as the lid
switch over from acpid.

This logic is enabled by default for power and sleep keys, but not for
the lid switch.

If a graphical session is in the foreground no action is taken under the
assumption that the graphical session does this.
2012-05-30 15:01:51 +02:00
Lennart Poettering
939b8f14dc capabilities: when dropping capabilities system-wide also drop them from usermode helpers
This hooks things up with /proc/sys/kernel/usermodehelper/bset and
/proc/sys/kernel/usermodehelper/inheritable.
2012-05-29 23:35:17 +02:00
Kay Sievers
9246319f1f update TODO 2012-05-29 23:15:34 +02:00
Kay Sievers
b5d22f5ebe plymouth: use systemd-udev-settle.service 2012-05-29 22:32:41 +02:00
Shawn Landden
63210a15e1 cgtop: work even if not all cgroups are available
cgtop quits on startup if all the cgroup mounts it expects are not available.
Just continue without nonexistant ones.
2012-05-29 21:59:10 +02:00
Gert Michael Kulyk
80d37ae7b9 bash: Reflect new name of loginctl in bash-completion script
https://bugs.freedesktop.org/show_bug.cgi?id=50402
2012-05-29 19:47:20 +02:00
Lennart Poettering
6b17d77e3e TODO 2012-05-29 19:46:58 +02:00
Kay Sievers
762f91fa60 update TODO 2012-05-29 12:19:40 +02:00
Paul Menzel
6a2857e689 man/systemctl.xml: Add missing space for »stopcommand« 2012-05-29 11:38:03 +02:00
Harald Hoyer
c452e37254 test/README.testsuite: add documentation for the testsuite 2012-05-29 09:23:37 +02:00
Harald Hoyer
0d6e798a78 test/TEST-01-BASIC: add /var on cryptoluks and wait for the journal 2012-05-29 09:23:37 +02:00
Harald Hoyer
1ecf6a2b49 test/test-functions: add check_qemu() and check_nspawn() functions 2012-05-29 09:23:37 +02:00
Harald Hoyer
6ea4364c7b test/TEST-01-BASIC: fail test, if qemu failed 2012-05-29 09:23:37 +02:00
Harald Hoyer
f7c05f7de6 test/TEST-01-BASIC: make DEBUGTOOLS an environment variable 2012-05-29 09:23:31 +02:00
Harald Hoyer
33a5e20ffa test/test-functions: be more verbose about skipping tests 2012-05-29 09:23:31 +02:00
Kay Sievers
78cd73fcf6 update TODO 2012-05-29 02:10:16 +02:00
Kay Sievers
3e920c7164 udev: man - mention systemd-udevd(8) 2012-05-29 00:54:40 +02:00
Tom Gundersen
392f9c8404 udev.pc: install udev files to /lib/udev rather than /lib/systemd 2012-05-27 15:24:20 +02:00
Matthias Clasen
a4a58cb335 journald: refer to the correct man page
Fix the reference to the journald.conf man page in the
config file of the same name.
2012-05-27 15:22:25 +02:00
Matthew Garrett
e0386cf280 rules: Limit USB autosuspend on USB HID devices
Some USB ports on external hubs may be reported as "fixed". We only want
to auto-enable this on ports that are internal to the machine, so check
the parent state as well.
2012-05-27 15:19:49 +02:00
Jean Delvare
9159b90a4f scsi_id: fix truncated model in by-id device links
Do not forget the leading "S" when appending the serial number,
otherwise we chop the last character of the model name.

Addresses: https://bugzilla.novell.com/show_bug.cgi?id=763397
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-05-27 15:15:47 +02:00
Kay Sievers
ee56538fa7 udev: silent gcc warnings 2012-05-25 14:25:46 +02:00
Lennart Poettering
79849bf9f4 NEWS: add contributors list 2012-05-24 18:15:35 +02:00
Lennart Poettering
b6bfc7bbee swap: avoid bad memory access 2012-05-24 17:33:50 +02:00
Lennart Poettering
f8c0a2cb69 NEWS: fix even more typos 2012-05-24 17:06:03 +02:00
Lennart Poettering
8bbabc447b update TODO 2012-05-24 17:04:04 +02:00
Lennart Poettering
439d6dfd12 NEWS: fix more typos 2012-05-24 17:03:52 +02:00
Lennart Poettering
3943231cfe NEWS: fix more typos 2012-05-24 16:53:31 +02:00
Lennart Poettering
9ae9afce6f NEWS: fixo 2012-05-24 16:52:12 +02:00
Lennart Poettering
187076d479 NEWS: explain the version jump 2012-05-24 16:41:16 +02:00
Lennart Poettering
ea5943d386 update TODO 2012-05-24 16:41:16 +02:00
Harald Hoyer
bd2b15138e test/TEST-01-BASIC: add missing "; then" 2012-05-24 16:07:35 +02:00
Harald Hoyer
7b17d413b1 test/TEST-01-BASIC: only test systemd-nspawn, if the test system uses systemd 2012-05-24 16:02:06 +02:00
Harald Hoyer
d9890f4ed4 test/TEST-01-BASIC: add systemd-nspawn run with the root image 2012-05-24 15:52:31 +02:00
Lennart Poettering
9262a51946 build-sys: prepare release 183 2012-05-24 15:44:38 +02:00
Harald Hoyer
6b197f2a03 test/TEST-01-BASIC: untabified 2012-05-24 15:33:58 +02:00
Harald Hoyer
3d3035e80c test/TEST-01-BASIC: add a defined rc.local 2012-05-24 15:32:51 +02:00