summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-04-12main: pass original environment block to shutdown binary so that it can ↵Lennart Poettering
detect container environments
2012-04-12unit: introduce ConditionPathIsReadWriteLennart Poettering
2012-04-12move more common files to shared/ and add them to shared.laKay Sievers
2012-04-12udev: keymap - remove weird 'c2 a0' character sequences which break the checkKay Sievers
$ hexdump -C src/udev/keymap/keymaps/samsung-90x3a 00000000 30 78 39 36 20 6b 62 64 69 6c 6c 75 6d 75 70 c2 |0x96 kbdillumup.| 00000010 a0 c2 a0 c2 a0 c2 a0 c2 a0 c2 a0 c2 a0 c2 a0 20 |............... | 00000020 23 20 46 6e 2b 46 38 20 6b 65 79 62 6f 61 72 64 |# Fn+F8 keyboard|
2012-04-12One can specify in which cgroup hierarchies a systemd-nspawn container will ↵Léo Gillot-Lamure
appear
2012-04-12relicense to LGPLv2.1 (with exceptions)Lennart Poettering
We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
2012-04-12udev: check-keymaps.sh - fix source directoryKay Sievers
2012-04-11polkit: when spawning off agent, wait until the agent is fully initializedLennart Poettering
2012-04-11udev: fix RUN+= logic regarding builtin vs. programKay Sievers
2012-04-11enable proper access timestamps on all tmpfs mountsKay Sievers
2012-04-11tmpfiles: open directories with O_NOATIME to preserve timestampKay Sievers
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-11polkit: temporarily spawn of a polkit agent in terminals for possibly ↵Lennart Poettering
authenticated operations
2012-04-11main: disarm watchdog when preparing for reexecutionLennart Poettering
2012-04-11put acl.la in 'if HAVE_ACL' and rename acl.[ch] to acl-util.[ch]Kay Sievers
2012-04-11move libsystemd_core.la sources into core/Kay Sievers
2012-04-11main: unset some bash specific environment variables that might get leaked to usLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=811537
2012-04-11main: drop container/initrd env vars from inherited setLennart Poettering
Leave the env vars used in the container/initrd logic set for PID1, but don't inherit them to any children.
2012-04-11machine-id: don't delete runtime machine-id, and place it in /runLennart Poettering
2012-04-11main: add URL to cgroups check messageLennart Poettering
2012-04-11split selinux label operations out of cgroup-util, socket-utilKay Sievers
This prevents linking of selinux and libdl for another 15 binaries.
2012-04-11shutdownd: rework interface, allow subscribing to scheduled shutdownsLennart Poettering
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-11systemctl: don't forward poweroff/reboot requests to logind if time is set ↵Lennart Poettering
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-11logs-show: fix output of log lines lacking commLennart Poettering
2012-04-10rename basic.la to shared.la and put selinux deps in shared-selinx.laKay Sievers
Only 34 of 74 tools need libselinux linked, and libselinux is a pain with its unconditional library constructor.
2012-04-10dbus: make the service property StartLimitAction writeableMichael Olbrich
2012-04-10dbus: add generic DEFINE_BUS_PROPERTY_SET_ENUM() macro for enum propertiesMichael Olbrich
The defined function can be used as BusPropertySetCallback.
2012-04-10dbus: add data argument to BusPropertySetCallbackMichael Olbrich
BusPropertyCallback already has the argument. It is necesary for the callback to know what data to access.
2012-04-10watchdog: really return the actual watchdog timeoutMichael Olbrich
In the current code setting the return argument is never reached.
2012-04-10move list.h, macro.h, ioprio.h to shared/Kay Sievers
2012-04-10move pager.[ch] to shared/Kay Sievers
2012-04-10move cgroup-util.[ch] to shared/Kay Sievers
2012-04-10udev: fix gcc warnings showing up after adding $(AM_CFLAGS)Kay Sievers
2012-04-10util: move ACL code into internal libraryKay Sievers
2012-04-10util: move all to shared/ and split external dependencies in separate ↵Kay Sievers
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-10udev: set errno = ENOSYS for removed interfacesKay Sievers
2012-04-09udev: remove RUN+="socket:.." and udev_monitor_new_from_netlink()Kay Sievers
2012-04-09udev: convert 'uaccess' to a builtinKay Sievers
2012-04-08udev: keymap: remove rootprefix mangling from scriptKay Sievers
2012-04-08udev: fix test-udev binaryKay Sievers
2012-04-08udev: remove support for /lib/udev/devices/; tmpfiles should be usedKay Sievers
2012-04-08udev: fix rules sort orderTom Gundersen
Commit 91418155ae9034f466d436c314cd136309bc557d moved around the code, but did not chang ethe array index.
2012-04-08udev: switch to systemd logging functionsKay Sievers
2012-04-05systemd: add hardware watchdog supportLennart Poettering
This adds minimal hardware watchdog support to PID 1. The idea is that PID 1 supervises and watchdogs system services, while the hardware watchdog is used to supervise PID 1. This adds two hardware watchdog configuration options, for the runtime watchdog and for a shutdown watchdog. The former is active during normal operation, the latter only at reboots to ensure that if a clean reboot times out we reboot nonetheless. If the runtime watchdog is enabled PID 1 will automatically wake up at half the configured interval and write to the watchdog daemon. By default we enable the shutdown watchdog, but leave the runtime watchdog disabled in order not to break independent hardware watchdog daemons people might be using. This is only the most basic hookup. If necessary we can later on hook up the watchdog ping more closely with services deemed crucial.
2012-04-05job: use a lookup table for merging of job typesMichal Schmidt
It is easier to see what job_type_merge() is doing when the merging rules are written in the form of a table. job_type_is_superset() contained redundant information. It can be simplified to a simple rule: Type A is a superset of B iff merging A with B gives A. Two job types are conflicting iff they are not mergeable. Make job_type_lookup_merge() the core function to decide the type merging. All other job_type_*() are just short wrappers around it. They can be inline. test-job-type gives the same results as before. btw, the systemd binary is smaller by almost 1 KB.
2012-04-04udev: replace UDEV_EXPORT with _public_Kay Sievers
2012-04-04udev: ata_id - remove assert() until we switch over to systemd loggingKay Sievers
2012-04-04udev: enable loggingKay Sievers
2012-04-04keymap: Add support for Lenovo v480 touchpad toggle hotkey.Ayan George
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
2012-04-04udev: fix gcc warningsKay Sievers
2012-04-04Merge branch 'master' of ssh://git.freedesktop.org/git/systemd/systemdKay Sievers