Kay Sievers
c66e7f0499
mkdir: provide all functions with and without selinux label application
2012-05-31 13:17:26 +02:00
Kay Sievers
d2e54fae5c
mkdir: append _label to all mkdir() calls that explicitly set the selinux context
2012-05-31 12:40:20 +02:00
Kay Sievers
051d68786b
util: don't require libcap when building libsystemd-shared
...
src/shared/util.c includes <sys/capability.h> but doesn't use anything
defined there. Since <sys/capability.h> is part of libcap, not libc,
don't require it.
Allows systemd-without-udevd to require fewer external libraries.
2012-05-31 11:58:06 +02:00
Lennart Poettering
aa0f64ac85
main: allow setting of timer slack for PID 1
2012-05-31 04:36:08 +02:00
Lennart Poettering
d88a251b12
util: introduce a proper nsec_t and make use of it where appropriate
2012-05-31 04:27:03 +02:00
Lennart Poettering
256425cc10
systemctl: introduce "systemctl man" to show man page for unit
...
For now this only reads man: URLs, but later on we might want to support
info: too. http/https is probably out of focus.
2012-05-31 04:11:57 +02:00
Lennart Poettering
4c8cd17330
build-sys: prepare release 184
2012-05-31 01:58:01 +02:00
Daniel J Walsh
9b5af248f0
label: fix systemd-udev labeling of /run directory.
...
systemd-udev is currently incorrectly labeling /run/udev/* content because it is
using selinux prefix labeling of /dev. This patch will allow systemd-udev to
use prefix labeling of /dev and /run.
2012-05-31 01:43:27 +02:00
Lennart Poettering
96ceff5645
journald: properly handle if we have no PID in a kmsg line
2012-05-31 01:26:06 +02:00
Lennart Poettering
d7e1c95e0a
login: properly detect MIMO USB displays
...
MIMO USB displays use a generic VID/PID for the hub component. With a
bit of trickery we can detect them by the VID/PID of the graphics
component.
2012-05-31 01:20:37 +02:00
Kay Sievers
da5d4bf64f
udev: skip timestamp check if rules are already free()d during reload
2012-05-31 01:17:59 +02:00
Lennart Poettering
107a2db901
selinux: downgrade database load time message to LOG_DEBUG
2012-05-31 01:10:53 +02:00
Lennart Poettering
e05137989b
update TODO
2012-05-30 23:39:15 +02:00
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