Lennart Poettering
9bdc770ccd
polkit: when spawning off agent, wait until the agent is fully initialized
2012-04-11 22:37:48 +02:00
Lennart Poettering
4771148bb9
units: exclude gettys from isolate requests
...
gettys are nowadays mostly autospawned and hence usually subject to
being shut down on isolate requests, since they are no dependency of any
other unit. This is a bad idea if the user isolates between
multi-user.graphical and graphical.target, hence exclude them from the
isolation.
This has the effect that gettys no longer cleaned up when
emergency.target is isolated, which might actualy be considered a
feature, even though it is a change from previous behaviour...
Note that the one getty that really matters (the one on tty1) is still
removed when isolating to emergency.target since it conflicts with
emergency.service.
2012-04-11 22:37:48 +02:00
Kay Sievers
4590cfe455
udev: fix RUN+= logic regarding builtin vs. program
2012-04-11 22:34:25 +02:00
Marc-Antoine Perennou
88dc4327e0
udev: fix keymap mkdir
2012-04-11 22:24:53 +02:00
Kay Sievers
635f7d8ca7
enable proper access timestamps on all tmpfs mounts
2012-04-11 22:18:55 +02:00
Kay Sievers
e5f3d1ba12
tmpfiles: open directories with O_NOATIME to preserve timestamp
...
Before:
# stat /tmp/pulse-Du5ectm60QYM | grep 'Access: 20'
Access: 2012-04-11 21:32:48.444920237 +0200
# systemd-tmpfiles --clean
# stat /tmp/pulse-Du5ectm60QYM | grep 'Access: 20'
Access: 2012-04-11 21:36:27.628925459 +0200
After:
# stat /tmp/pulse-Du5ectm60QYM | grep 'Access: 20'
Access: 2012-04-11 21:32:48.444920237 +0200
# ./systemd-tmpfiles --clean
# stat /tmp/pulse-Du5ectm60QYM | grep 'Access: 20'
Access: 2012-04-11 21:32:48.444920237 +0200
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=810257
2012-04-11 21:40:25 +02:00
Lennart Poettering
6bb92a169e
polkit: temporarily spawn of a polkit agent in terminals for possibly authenticated operations
2012-04-11 20:39:03 +02:00
Lennart Poettering
f25626edf4
main: disarm watchdog when preparing for reexecution
2012-04-11 18:40:22 +02:00
Kay Sievers
79c077224b
put acl.la in 'if HAVE_ACL' and rename acl.[ch] to acl-util.[ch]
2012-04-11 16:47:09 +02:00
Kay Sievers
b30e2f4c18
move libsystemd_core.la sources into core/
2012-04-11 16:03:51 +02:00
Lennart Poettering
9543ad1663
main: unset some bash specific environment variables that might get leaked to us
...
https://bugzilla.redhat.com/show_bug.cgi?id=811537
2012-04-11 13:20:34 +02:00
Lennart Poettering
71ecc858fa
main: drop container/initrd env vars from inherited set
...
Leave the env vars used in the container/initrd logic set for PID1, but
don't inherit them to any children.
2012-04-11 13:20:34 +02:00
Lennart Poettering
6996295f85
machine-id: don't delete runtime machine-id, and place it in /run
2012-04-11 13:20:33 +02:00
Lennart Poettering
966a5d37c3
main: add URL to cgroups check message
2012-04-11 13:20:33 +02:00
Kay Sievers
cc527a4734
split selinux label operations out of cgroup-util, socket-util
...
This prevents linking of selinux and libdl for another 15 binaries.
2012-04-11 12:49:00 +02:00
Kay Sievers
6ac405b493
build-sys: move remaining headers out EXTRA_DIST, install sd-readahead.h
2012-04-11 03:54:23 +02:00
Kay Sievers
f7b6a32e78
build-sys: add $(AM_LDFLAGS) where needed
2012-04-11 03:29:31 +02:00
Kay Sievers
69dd416595
pam_systemd: add missing libsystemd_audit.l
2012-04-11 03:16:20 +02:00
Lennart Poettering
04ebb59567
shutdownd: rework interface, allow subscribing to scheduled shutdowns
...
This extends the shutdownd interface to expose schedule shutdown
information in /run/systemd/shutdown/schedule.
This also cleans up the shutdownd protocol and documents it in a header
file sd-shutdown.h.
This is supposed to be used by client code that wants to control and
monitor scheduled shutdown.
2012-04-11 02:04:46 +02:00
Lennart Poettering
7e59bfcb18
systemctl: don't forward poweroff/reboot requests to logind if time is set or immediate or dry-run execution is requested
...
logind can't handle scheduled poweroff/reboot requests, nor
immediate/dry-run requests, hence don't attempt forwarding to logind if
these options are used.
2012-04-11 00:37:35 +02:00
Lennart Poettering
b5936820c7
logs-show: fix output of log lines lacking comm
2012-04-11 00:34:06 +02:00
Lennart Poettering
082694b75f
units: introduce nss-user-lookup.target
...
This separates user/group NSS lookups from host/network NSS lookups.
By default order all network mounts after host/network NSS lookups now,
and logind execution after user/group NSS lookups.
2012-04-11 00:11:18 +02:00
Kay Sievers
d50f0b1c9f
update TODO
2012-04-10 22:47:48 +02:00
Kay Sievers
49e942b2bc
rename basic.la to shared.la and put selinux deps in shared-selinx.la
...
Only 34 of 74 tools need libselinux linked, and libselinux is a pain
with its unconditional library constructor.
2012-04-10 22:43:05 +02:00
Kay Sievers
cc0933371d
udev: move man pages to udev section
2012-04-10 22:43:05 +02:00
Michael Olbrich
69df6f00f2
dbus: make the service property StartLimitAction writeable
2012-04-10 22:41:28 +02:00
Michael Olbrich
c57c09eed4
dbus: add generic DEFINE_BUS_PROPERTY_SET_ENUM() macro for enum properties
...
The defined function can be used as BusPropertySetCallback.
2012-04-10 22:41:20 +02:00
Michael Olbrich
9612f07cbf
dbus: add data argument to BusPropertySetCallback
...
BusPropertyCallback already has the argument. It is necesary for the
callback to know what data to access.
2012-04-10 22:41:15 +02:00
Michael Olbrich
56bcbfa5f8
watchdog: really return the actual watchdog timeout
...
In the current code setting the return argument is never reached.
2012-04-10 22:32:30 +02:00
Kay Sievers
771f19c06a
move list.h, macro.h, ioprio.h to shared/
2012-04-10 19:47:00 +02:00
Kay Sievers
9f36aa6846
move pager.[ch] to shared/
2012-04-10 19:32:48 +02:00
Kay Sievers
b6358b8d76
use libsystemd-daemon.la instead of source file
2012-04-10 19:23:08 +02:00
Kay Sievers
0d0a5ab46a
use libsystemd-id128.la instead of source file
2012-04-10 19:14:42 +02:00
Kay Sievers
159baa1bb0
move libsystemd-capability.la dep from basic to core
2012-04-10 18:59:47 +02:00
Kay Sievers
77d47be64f
move cgroup-util.[ch] to shared/
2012-04-10 18:46:51 +02:00
Kay Sievers
d33e31f845
udev: remove deps already pulled in by LIBADD
2012-04-10 17:48:44 +02:00
Kay Sievers
04a9d3a00a
udev: fix gcc warnings showing up after adding $(AM_CFLAGS)
2012-04-10 17:27:46 +02:00
Kay Sievers
235450b0d1
build-sys: add $(AM_CFLAGS) where needed
2012-04-10 16:07:17 +02:00
Kay Sievers
78b2e3a632
util: move ACL code into internal library
2012-04-10 14:59:45 +02:00
Kay Sievers
d7832d2c6e
util: move all to shared/ and split external dependencies in separate internal libraries
...
Before:
$ ldd /lib/systemd/systemd-timestamp
linux-vdso.so.1 => (0x00007fffb05ff000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f90aac57000)
libcap.so.2 => /lib64/libcap.so.2 (0x00007f90aaa53000)
librt.so.1 => /lib64/librt.so.1 (0x00007f90aa84a000)
libc.so.6 => /lib64/libc.so.6 (0x00007f90aa494000)
/lib64/ld-linux-x86-64.so.2 (0x00007f90aae90000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f90aa290000)
libattr.so.1 => /lib64/libattr.so.1 (0x00007f90aa08a000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f90a9e6e000)
After:
$ ldd systemd-timestamp
linux-vdso.so.1 => (0x00007fff3cbff000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f5eaa1c3000)
librt.so.1 => /lib64/librt.so.1 (0x00007f5ea9fbb000)
libc.so.6 => /lib64/libc.so.6 (0x00007f5ea9c04000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5eaa3fc000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f5ea9a00000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5ea97e4000)
2012-04-10 14:13:38 +02:00
Kay Sievers
304b9f3078
udev: set errno = ENOSYS for removed interfaces
2012-04-10 13:33:43 +02:00
Kay Sievers
b8b5e648ca
update TODO
2012-04-09 22:07:18 +02:00
Kay Sievers
2d13da8821
udev: remove RUN+="socket:.." and udev_monitor_new_from_netlink()
2012-04-09 21:18:30 +02:00
Kay Sievers
83cd6b754b
udev: convert 'uaccess' to a builtin
2012-04-09 19:25:41 +02:00
Kay Sievers
f1ff47be17
udev: keymap: remove rootprefix mangling from script
2012-04-08 17:10:03 +02:00
Kay Sievers
1c0f62e37b
udev: fix test-udev binary
2012-04-08 17:03:17 +02:00
Kay Sievers
07cd4fc168
udev: remove support for /lib/udev/devices/; tmpfiles should be used
2012-04-08 16:50:16 +02:00
Tom Gundersen
58db57fedf
udev: fix rules sort order
...
Commit 91418155ae
moved around the code,
but did not chang ethe array index.
2012-04-08 16:09:42 +02:00
Kay Sievers
baa30fbc2c
udev: switch to systemd logging functions
2012-04-08 16:06:20 +02:00
Kay Sievers
64661ee70d
build-sys: bump systemd version to 'udev version 182'
2012-04-06 19:52:49 +02:00