History log of /systemd/src/core/unit.h
Revision Date Author Comments Expand
b26fa1a2fbcfee7d03b0c8fd15ec3aa64ae70b9f 10-Feb-2016 Daniel Mack <daniel@zonque.org>

tree-wide: remove Emacs lines from all files This should be handled fine now by .dir-locals.el, so need to carry that stuff in every file.

/systemd/src/ac-power/ac-power.c /systemd/src/activate/activate.c /systemd/src/analyze/analyze-verify.c /systemd/src/analyze/analyze-verify.h /systemd/src/analyze/analyze.c /systemd/src/ask-password/ask-password.c /systemd/src/backlight/backlight.c /systemd/src/basic/af-list.c /systemd/src/basic/af-list.h /systemd/src/basic/alloc-util.c /systemd/src/basic/alloc-util.h /systemd/src/basic/arphrd-list.c /systemd/src/basic/arphrd-list.h /systemd/src/basic/async.c /systemd/src/basic/async.h /systemd/src/basic/audit-util.c /systemd/src/basic/audit-util.h /systemd/src/basic/barrier.c /systemd/src/basic/barrier.h /systemd/src/basic/bitmap.c /systemd/src/basic/bitmap.h /systemd/src/basic/blkid-util.h /systemd/src/basic/btrfs-ctree.h /systemd/src/basic/btrfs-util.c /systemd/src/basic/btrfs-util.h /systemd/src/basic/build.h /systemd/src/basic/bus-label.c /systemd/src/basic/bus-label.h /systemd/src/basic/calendarspec.c /systemd/src/basic/calendarspec.h /systemd/src/basic/cap-list.c /systemd/src/basic/cap-list.h /systemd/src/basic/capability-util.c /systemd/src/basic/capability-util.h /systemd/src/basic/cgroup-util.c /systemd/src/basic/cgroup-util.h /systemd/src/basic/chattr-util.c /systemd/src/basic/chattr-util.h /systemd/src/basic/clock-util.c /systemd/src/basic/clock-util.h /systemd/src/basic/conf-files.c /systemd/src/basic/conf-files.h /systemd/src/basic/copy.c /systemd/src/basic/copy.h /systemd/src/basic/cpu-set-util.c /systemd/src/basic/cpu-set-util.h /systemd/src/basic/def.h /systemd/src/basic/device-nodes.c /systemd/src/basic/device-nodes.h /systemd/src/basic/dirent-util.c /systemd/src/basic/dirent-util.h /systemd/src/basic/env-util.c /systemd/src/basic/env-util.h /systemd/src/basic/errno-list.c /systemd/src/basic/errno-list.h /systemd/src/basic/escape.c /systemd/src/basic/escape.h /systemd/src/basic/ether-addr-util.c /systemd/src/basic/ether-addr-util.h /systemd/src/basic/exit-status.c /systemd/src/basic/exit-status.h /systemd/src/basic/extract-word.c /systemd/src/basic/extract-word.h /systemd/src/basic/fd-util.c /systemd/src/basic/fd-util.h /systemd/src/basic/fdset.c /systemd/src/basic/fdset.h /systemd/src/basic/fileio-label.c /systemd/src/basic/fileio-label.h /systemd/src/basic/fileio.c /systemd/src/basic/fileio.h /systemd/src/basic/fs-util.c /systemd/src/basic/fs-util.h /systemd/src/basic/glob-util.c /systemd/src/basic/glob-util.h /systemd/src/basic/hash-funcs.c /systemd/src/basic/hash-funcs.h /systemd/src/basic/hashmap.c /systemd/src/basic/hashmap.h /systemd/src/basic/hexdecoct.c /systemd/src/basic/hexdecoct.h /systemd/src/basic/hostname-util.c /systemd/src/basic/hostname-util.h /systemd/src/basic/in-addr-util.c /systemd/src/basic/in-addr-util.h /systemd/src/basic/io-util.c /systemd/src/basic/io-util.h /systemd/src/basic/json.c /systemd/src/basic/json.h /systemd/src/basic/label.c /systemd/src/basic/label.h /systemd/src/basic/list.h /systemd/src/basic/locale-util.c /systemd/src/basic/locale-util.h /systemd/src/basic/lockfile-util.c /systemd/src/basic/lockfile-util.h /systemd/src/basic/log.c /systemd/src/basic/log.h /systemd/src/basic/login-util.c /systemd/src/basic/login-util.h /systemd/src/basic/macro.h /systemd/src/basic/memfd-util.c /systemd/src/basic/memfd-util.h /systemd/src/basic/mempool.c /systemd/src/basic/mempool.h /systemd/src/basic/missing.h /systemd/src/basic/mkdir-label.c /systemd/src/basic/mkdir.c /systemd/src/basic/mkdir.h /systemd/src/basic/mount-util.c /systemd/src/basic/mount-util.h /systemd/src/basic/nss-util.h /systemd/src/basic/ordered-set.h /systemd/src/basic/parse-util.c /systemd/src/basic/parse-util.h /systemd/src/basic/path-util.c /systemd/src/basic/path-util.h /systemd/src/basic/prioq.c /systemd/src/basic/prioq.h /systemd/src/basic/proc-cmdline.c /systemd/src/basic/proc-cmdline.h /systemd/src/basic/ratelimit.c /systemd/src/basic/ratelimit.h /systemd/src/basic/refcnt.h /systemd/src/basic/replace-var.c /systemd/src/basic/replace-var.h /systemd/src/basic/rlimit-util.c /systemd/src/basic/rlimit-util.h /systemd/src/basic/rm-rf.c /systemd/src/basic/rm-rf.h /systemd/src/basic/selinux-util.c /systemd/src/basic/selinux-util.h /systemd/src/basic/set.h /systemd/src/basic/sigbus.c /systemd/src/basic/sigbus.h /systemd/src/basic/signal-util.c /systemd/src/basic/signal-util.h /systemd/src/basic/smack-util.c /systemd/src/basic/smack-util.h /systemd/src/basic/socket-label.c /systemd/src/basic/socket-util.c /systemd/src/basic/socket-util.h /systemd/src/basic/special.h /systemd/src/basic/stat-util.c /systemd/src/basic/stat-util.h /systemd/src/basic/stdio-util.h /systemd/src/basic/strbuf.c /systemd/src/basic/strbuf.h /systemd/src/basic/string-table.c /systemd/src/basic/string-table.h /systemd/src/basic/string-util.c /systemd/src/basic/string-util.h /systemd/src/basic/strv.c /systemd/src/basic/strv.h /systemd/src/basic/strxcpyx.c /systemd/src/basic/strxcpyx.h /systemd/src/basic/syslog-util.c /systemd/src/basic/syslog-util.h /systemd/src/basic/time-util.c /systemd/src/basic/time-util.h /systemd/src/basic/umask-util.h /systemd/src/basic/unaligned.h /systemd/src/basic/unit-name.c /systemd/src/basic/unit-name.h /systemd/src/basic/user-util.c /systemd/src/basic/user-util.h /systemd/src/basic/utf8.c /systemd/src/basic/utf8.h /systemd/src/basic/util.c /systemd/src/basic/util.h /systemd/src/basic/verbs.c /systemd/src/basic/verbs.h /systemd/src/basic/virt.c /systemd/src/basic/virt.h /systemd/src/basic/web-util.c /systemd/src/basic/web-util.h /systemd/src/basic/xattr-util.c /systemd/src/basic/xattr-util.h /systemd/src/basic/xml.c /systemd/src/basic/xml.h /systemd/src/binfmt/binfmt.c /systemd/src/boot/bootctl.c /systemd/src/boot/efi/boot.c /systemd/src/boot/efi/console.c /systemd/src/boot/efi/console.h /systemd/src/boot/efi/disk.c /systemd/src/boot/efi/disk.h /systemd/src/boot/efi/graphics.c /systemd/src/boot/efi/graphics.h /systemd/src/boot/efi/linux.c /systemd/src/boot/efi/linux.h /systemd/src/boot/efi/pefile.c /systemd/src/boot/efi/pefile.h /systemd/src/boot/efi/splash.c /systemd/src/boot/efi/splash.h /systemd/src/boot/efi/stub.c /systemd/src/boot/efi/util.c /systemd/src/boot/efi/util.h /systemd/src/bootchart/bootchart.c /systemd/src/bootchart/bootchart.h /systemd/src/bootchart/store.c /systemd/src/bootchart/store.h /systemd/src/bootchart/svg.c /systemd/src/bootchart/svg.h /systemd/src/bus-proxyd/bus-proxyd.c /systemd/src/bus-proxyd/bus-xml-policy.c /systemd/src/bus-proxyd/bus-xml-policy.h /systemd/src/bus-proxyd/driver.c /systemd/src/bus-proxyd/driver.h /systemd/src/bus-proxyd/proxy.c /systemd/src/bus-proxyd/proxy.h /systemd/src/bus-proxyd/stdio-bridge.c /systemd/src/bus-proxyd/synthesize.c /systemd/src/bus-proxyd/synthesize.h /systemd/src/bus-proxyd/test-bus-xml-policy.c /systemd/src/cgls/cgls.c /systemd/src/cgroups-agent/cgroups-agent.c /systemd/src/cgtop/cgtop.c audit-fd.c audit-fd.h automount.c automount.h bus-endpoint.h bus-policy.h busname.c busname.h cgroup.c cgroup.h dbus-automount.c dbus-automount.h dbus-busname.c dbus-busname.h dbus-cgroup.c dbus-cgroup.h dbus-device.c dbus-device.h dbus-execute.c dbus-execute.h dbus-job.c dbus-job.h dbus-kill.c dbus-kill.h dbus-manager.c dbus-manager.h dbus-mount.c dbus-mount.h dbus-path.c dbus-path.h dbus-scope.c dbus-scope.h dbus-service.c dbus-service.h dbus-slice.c dbus-slice.h dbus-socket.c dbus-socket.h dbus-swap.c dbus-swap.h dbus-target.c dbus-target.h dbus-timer.c dbus-timer.h dbus-unit.c dbus-unit.h dbus.c dbus.h device.c device.h execute.c execute.h failure-action.c failure-action.h hostname-setup.c hostname-setup.h ima-setup.c ima-setup.h job.c job.h kill.c kill.h killall.c killall.h kmod-setup.c kmod-setup.h load-dropin.c load-dropin.h load-fragment.c load-fragment.h locale-setup.c locale-setup.h loopback-setup.c loopback-setup.h machine-id-setup.c machine-id-setup.h main.c manager.c manager.h mount-setup.c mount-setup.h mount.c mount.h namespace.c namespace.h path.c path.h scope.c scope.h selinux-access.c selinux-access.h selinux-setup.c selinux-setup.h service.c service.h show-status.c show-status.h shutdown.c slice.c slice.h smack-setup.c smack-setup.h socket.c socket.h swap.c swap.h target.c target.h timer.c timer.h transaction.c transaction.h umount.c umount.h unit-printf.c unit-printf.h unit.c unit.h /systemd/src/cryptsetup/cryptsetup-generator.c /systemd/src/cryptsetup/cryptsetup.c /systemd/src/dbus1-generator/dbus1-generator.c /systemd/src/debug-generator/debug-generator.c /systemd/src/delta/delta.c /systemd/src/detect-virt/detect-virt.c /systemd/src/escape/escape.c /systemd/src/firstboot/firstboot.c /systemd/src/fsck/fsck.c /systemd/src/fstab-generator/fstab-generator.c /systemd/src/getty-generator/getty-generator.c /systemd/src/gpt-auto-generator/gpt-auto-generator.c /systemd/src/hibernate-resume/hibernate-resume-generator.c /systemd/src/hibernate-resume/hibernate-resume.c /systemd/src/hostname/hostnamectl.c /systemd/src/hostname/hostnamed.c /systemd/src/import/aufs-util.c /systemd/src/import/aufs-util.h /systemd/src/import/curl-util.c /systemd/src/import/curl-util.h /systemd/src/import/export-raw.c /systemd/src/import/export-raw.h /systemd/src/import/export-tar.c /systemd/src/import/export-tar.h /systemd/src/import/export.c /systemd/src/import/import-common.c /systemd/src/import/import-common.h /systemd/src/import/import-compress.c /systemd/src/import/import-compress.h /systemd/src/import/import-raw.c /systemd/src/import/import-raw.h /systemd/src/import/import-tar.c /systemd/src/import/import-tar.h /systemd/src/import/import.c /systemd/src/import/importd.c /systemd/src/import/pull-common.c /systemd/src/import/pull-common.h /systemd/src/import/pull-job.c /systemd/src/import/pull-job.h /systemd/src/import/pull-raw.c /systemd/src/import/pull-raw.h /systemd/src/import/pull-tar.c /systemd/src/import/pull-tar.h /systemd/src/import/pull.c /systemd/src/import/qcow2-util.c /systemd/src/import/qcow2-util.h /systemd/src/import/test-qcow2.c /systemd/src/initctl/initctl.c /systemd/src/journal-remote/journal-gatewayd.c /systemd/src/journal-remote/journal-remote-parse.c /systemd/src/journal-remote/journal-remote-parse.h /systemd/src/journal-remote/journal-remote-write.c /systemd/src/journal-remote/journal-remote-write.h /systemd/src/journal-remote/journal-remote.c /systemd/src/journal-remote/journal-remote.h /systemd/src/journal-remote/journal-upload-journal.c /systemd/src/journal-remote/journal-upload.c /systemd/src/journal-remote/microhttpd-util.c /systemd/src/journal-remote/microhttpd-util.h /systemd/src/journal/audit-type.c /systemd/src/journal/audit-type.h /systemd/src/journal/cat.c /systemd/src/journal/catalog.c /systemd/src/journal/catalog.h /systemd/src/journal/compress.c /systemd/src/journal/compress.h /systemd/src/journal/coredump-vacuum.c /systemd/src/journal/coredump-vacuum.h /systemd/src/journal/coredump.c /systemd/src/journal/coredumpctl.c /systemd/src/journal/fsprg.c /systemd/src/journal/fsprg.h /systemd/src/journal/journal-authenticate.c /systemd/src/journal/journal-authenticate.h /systemd/src/journal/journal-def.h /systemd/src/journal/journal-file.c /systemd/src/journal/journal-file.h /systemd/src/journal/journal-internal.h /systemd/src/journal/journal-qrcode.c /systemd/src/journal/journal-qrcode.h /systemd/src/journal/journal-send.c /systemd/src/journal/journal-vacuum.c /systemd/src/journal/journal-vacuum.h /systemd/src/journal/journal-verify.c /systemd/src/journal/journal-verify.h /systemd/src/journal/journalctl.c /systemd/src/journal/journald-audit.c /systemd/src/journal/journald-audit.h /systemd/src/journal/journald-console.c /systemd/src/journal/journald-console.h /systemd/src/journal/journald-kmsg.c /systemd/src/journal/journald-kmsg.h /systemd/src/journal/journald-native.c /systemd/src/journal/journald-native.h /systemd/src/journal/journald-rate-limit.c /systemd/src/journal/journald-rate-limit.h /systemd/src/journal/journald-server.c /systemd/src/journal/journald-server.h /systemd/src/journal/journald-stream.c /systemd/src/journal/journald-stream.h /systemd/src/journal/journald-syslog.c /systemd/src/journal/journald-syslog.h /systemd/src/journal/journald-wall.c /systemd/src/journal/journald-wall.h /systemd/src/journal/journald.c /systemd/src/journal/lookup3.h /systemd/src/journal/mmap-cache.c /systemd/src/journal/mmap-cache.h /systemd/src/journal/sd-journal.c /systemd/src/journal/stacktrace.c /systemd/src/journal/stacktrace.h /systemd/src/journal/test-audit-type.c /systemd/src/journal/test-catalog.c /systemd/src/journal/test-compress-benchmark.c /systemd/src/journal/test-coredump-vacuum.c /systemd/src/journal/test-journal-enum.c /systemd/src/journal/test-journal-flush.c /systemd/src/journal/test-journal-init.c /systemd/src/journal/test-journal-interleaving.c /systemd/src/journal/test-journal-match.c /systemd/src/journal/test-journal-send.c /systemd/src/journal/test-journal-stream.c /systemd/src/journal/test-journal-syslog.c /systemd/src/journal/test-journal-verify.c /systemd/src/journal/test-journal.c /systemd/src/journal/test-mmap-cache.c /systemd/src/libsystemd-network/arp-util.h /systemd/src/libsystemd-network/dhcp-identifier.c /systemd/src/libsystemd-network/dhcp-identifier.h /systemd/src/libsystemd-network/dhcp-internal.h /systemd/src/libsystemd-network/dhcp-lease-internal.h /systemd/src/libsystemd-network/dhcp-option.c /systemd/src/libsystemd-network/dhcp-protocol.h /systemd/src/libsystemd-network/dhcp-server-internal.h /systemd/src/libsystemd-network/dhcp6-internal.h /systemd/src/libsystemd-network/dhcp6-lease-internal.h /systemd/src/libsystemd-network/dhcp6-option.c /systemd/src/libsystemd-network/dhcp6-protocol.h /systemd/src/libsystemd-network/icmp6-util.h /systemd/src/libsystemd-network/lldp-internal.c /systemd/src/libsystemd-network/lldp-internal.h /systemd/src/libsystemd-network/lldp-network.c /systemd/src/libsystemd-network/lldp-network.h /systemd/src/libsystemd-network/lldp-port.c /systemd/src/libsystemd-network/lldp-port.h /systemd/src/libsystemd-network/lldp-tlv.c /systemd/src/libsystemd-network/lldp-tlv.h /systemd/src/libsystemd-network/lldp.h /systemd/src/libsystemd-network/network-internal.c /systemd/src/libsystemd-network/network-internal.h /systemd/src/libsystemd-network/sd-dhcp-server.c /systemd/src/libsystemd-network/sd-dhcp6-client.c /systemd/src/libsystemd-network/sd-dhcp6-lease.c /systemd/src/libsystemd-network/sd-lldp.c /systemd/src/libsystemd-network/sd-ndisc.c /systemd/src/libsystemd-network/test-acd.c /systemd/src/libsystemd-network/test-dhcp-client.c /systemd/src/libsystemd-network/test-dhcp-option.c /systemd/src/libsystemd-network/test-dhcp-server.c /systemd/src/libsystemd-network/test-dhcp6-client.c /systemd/src/libsystemd-network/test-ipv4ll-manual.c /systemd/src/libsystemd-network/test-ipv4ll.c /systemd/src/libsystemd-network/test-lldp.c /systemd/src/libsystemd-network/test-ndisc-rs.c /systemd/src/libsystemd/sd-bus/bus-bloom.c /systemd/src/libsystemd/sd-bus/bus-bloom.h /systemd/src/libsystemd/sd-bus/bus-common-errors.c /systemd/src/libsystemd/sd-bus/bus-common-errors.h /systemd/src/libsystemd/sd-bus/bus-container.c /systemd/src/libsystemd/sd-bus/bus-container.h /systemd/src/libsystemd/sd-bus/bus-control.c /systemd/src/libsystemd/sd-bus/bus-control.h /systemd/src/libsystemd/sd-bus/bus-convenience.c /systemd/src/libsystemd/sd-bus/bus-creds.c /systemd/src/libsystemd/sd-bus/bus-creds.h /systemd/src/libsystemd/sd-bus/bus-dump.c /systemd/src/libsystemd/sd-bus/bus-dump.h /systemd/src/libsystemd/sd-bus/bus-error.c /systemd/src/libsystemd/sd-bus/bus-error.h /systemd/src/libsystemd/sd-bus/bus-gvariant.c /systemd/src/libsystemd/sd-bus/bus-gvariant.h /systemd/src/libsystemd/sd-bus/bus-internal.c /systemd/src/libsystemd/sd-bus/bus-internal.h /systemd/src/libsystemd/sd-bus/bus-introspect.c /systemd/src/libsystemd/sd-bus/bus-introspect.h /systemd/src/libsystemd/sd-bus/bus-kernel.c /systemd/src/libsystemd/sd-bus/bus-kernel.h /systemd/src/libsystemd/sd-bus/bus-match.c /systemd/src/libsystemd/sd-bus/bus-match.h /systemd/src/libsystemd/sd-bus/bus-message.c /systemd/src/libsystemd/sd-bus/bus-message.h /systemd/src/libsystemd/sd-bus/bus-objects.c /systemd/src/libsystemd/sd-bus/bus-objects.h /systemd/src/libsystemd/sd-bus/bus-protocol.h /systemd/src/libsystemd/sd-bus/bus-signature.c /systemd/src/libsystemd/sd-bus/bus-signature.h /systemd/src/libsystemd/sd-bus/bus-slot.c /systemd/src/libsystemd/sd-bus/bus-slot.h /systemd/src/libsystemd/sd-bus/bus-socket.c /systemd/src/libsystemd/sd-bus/bus-socket.h /systemd/src/libsystemd/sd-bus/bus-track.c /systemd/src/libsystemd/sd-bus/bus-track.h /systemd/src/libsystemd/sd-bus/bus-type.c /systemd/src/libsystemd/sd-bus/bus-type.h /systemd/src/libsystemd/sd-bus/busctl-introspect.c /systemd/src/libsystemd/sd-bus/busctl-introspect.h /systemd/src/libsystemd/sd-bus/busctl.c /systemd/src/libsystemd/sd-bus/sd-bus.c /systemd/src/libsystemd/sd-bus/test-bus-benchmark.c /systemd/src/libsystemd/sd-bus/test-bus-chat.c /systemd/src/libsystemd/sd-bus/test-bus-cleanup.c /systemd/src/libsystemd/sd-bus/test-bus-creds.c /systemd/src/libsystemd/sd-bus/test-bus-error.c /systemd/src/libsystemd/sd-bus/test-bus-gvariant.c /systemd/src/libsystemd/sd-bus/test-bus-introspect.c /systemd/src/libsystemd/sd-bus/test-bus-kernel-bloom.c /systemd/src/libsystemd/sd-bus/test-bus-kernel.c /systemd/src/libsystemd/sd-bus/test-bus-marshal.c /systemd/src/libsystemd/sd-bus/test-bus-match.c /systemd/src/libsystemd/sd-bus/test-bus-objects.c /systemd/src/libsystemd/sd-bus/test-bus-proxy.c /systemd/src/libsystemd/sd-bus/test-bus-server.c /systemd/src/libsystemd/sd-bus/test-bus-signature.c /systemd/src/libsystemd/sd-bus/test-bus-zero-copy.c /systemd/src/libsystemd/sd-daemon/sd-daemon.c /systemd/src/libsystemd/sd-device/device-enumerator-private.h /systemd/src/libsystemd/sd-device/device-private.h /systemd/src/libsystemd/sd-device/device-util.h /systemd/src/libsystemd/sd-event/sd-event.c /systemd/src/libsystemd/sd-event/test-event.c /systemd/src/libsystemd/sd-hwdb/hwdb-util.h /systemd/src/libsystemd/sd-id128/sd-id128.c /systemd/src/libsystemd/sd-login/sd-login.c /systemd/src/libsystemd/sd-login/test-login.c /systemd/src/libsystemd/sd-netlink/local-addresses.c /systemd/src/libsystemd/sd-netlink/local-addresses.h /systemd/src/libsystemd/sd-netlink/netlink-internal.h /systemd/src/libsystemd/sd-netlink/netlink-message.c /systemd/src/libsystemd/sd-netlink/netlink-socket.c /systemd/src/libsystemd/sd-netlink/netlink-types.c /systemd/src/libsystemd/sd-netlink/netlink-types.h /systemd/src/libsystemd/sd-netlink/netlink-util.c /systemd/src/libsystemd/sd-netlink/netlink-util.h /systemd/src/libsystemd/sd-netlink/rtnl-message.c /systemd/src/libsystemd/sd-netlink/sd-netlink.c /systemd/src/libsystemd/sd-netlink/test-local-addresses.c /systemd/src/libsystemd/sd-netlink/test-netlink.c /systemd/src/libsystemd/sd-network/network-util.c /systemd/src/libsystemd/sd-network/network-util.h /systemd/src/libsystemd/sd-network/sd-network.c /systemd/src/libsystemd/sd-resolve/sd-resolve.c /systemd/src/libsystemd/sd-resolve/test-resolve.c /systemd/src/libsystemd/sd-utf8/sd-utf8.c /systemd/src/locale/localectl.c /systemd/src/locale/localed.c /systemd/src/login/inhibit.c /systemd/src/login/loginctl.c /systemd/src/login/logind-acl.c /systemd/src/login/logind-acl.h /systemd/src/login/logind-action.c /systemd/src/login/logind-action.h /systemd/src/login/logind-button.c /systemd/src/login/logind-button.h /systemd/src/login/logind-core.c /systemd/src/login/logind-dbus.c /systemd/src/login/logind-device.c /systemd/src/login/logind-device.h /systemd/src/login/logind-inhibit.c /systemd/src/login/logind-inhibit.h /systemd/src/login/logind-seat-dbus.c /systemd/src/login/logind-seat.c /systemd/src/login/logind-seat.h /systemd/src/login/logind-session-dbus.c /systemd/src/login/logind-session-device.c /systemd/src/login/logind-session-device.h /systemd/src/login/logind-session.c /systemd/src/login/logind-session.h /systemd/src/login/logind-user-dbus.c /systemd/src/login/logind-user.c /systemd/src/login/logind-user.h /systemd/src/login/logind-utmp.c /systemd/src/login/logind.c /systemd/src/login/logind.h /systemd/src/login/pam_systemd.c /systemd/src/login/sysfs-show.c /systemd/src/login/sysfs-show.h /systemd/src/login/test-inhibit.c /systemd/src/login/test-login-shared.c /systemd/src/machine-id-setup/machine-id-setup-main.c /systemd/src/machine/image-dbus.c /systemd/src/machine/image-dbus.h /systemd/src/machine/machine-dbus.c /systemd/src/machine/machine-dbus.h /systemd/src/machine/machine.c /systemd/src/machine/machine.h /systemd/src/machine/machinectl.c /systemd/src/machine/machined-dbus.c /systemd/src/machine/machined.c /systemd/src/machine/machined.h /systemd/src/modules-load/modules-load.c /systemd/src/network/networkctl.c /systemd/src/network/networkd-address-pool.c /systemd/src/network/networkd-address-pool.h /systemd/src/network/networkd-address.c /systemd/src/network/networkd-address.h /systemd/src/network/networkd-dhcp4.c /systemd/src/network/networkd-dhcp6.c /systemd/src/network/networkd-fdb.c /systemd/src/network/networkd-fdb.h /systemd/src/network/networkd-ipv4ll.c /systemd/src/network/networkd-link-bus.c /systemd/src/network/networkd-link.c /systemd/src/network/networkd-link.h /systemd/src/network/networkd-manager-bus.c /systemd/src/network/networkd-manager.c /systemd/src/network/networkd-ndisc.c /systemd/src/network/networkd-netdev-bond.c /systemd/src/network/networkd-netdev-bond.h /systemd/src/network/networkd-netdev-bridge.c /systemd/src/network/networkd-netdev-bridge.h /systemd/src/network/networkd-netdev-dummy.c /systemd/src/network/networkd-netdev-dummy.h /systemd/src/network/networkd-netdev-ipvlan.c /systemd/src/network/networkd-netdev-ipvlan.h /systemd/src/network/networkd-netdev-macvlan.c /systemd/src/network/networkd-netdev-macvlan.h /systemd/src/network/networkd-netdev-tunnel.c /systemd/src/network/networkd-netdev-tunnel.h /systemd/src/network/networkd-netdev-tuntap.c /systemd/src/network/networkd-netdev-tuntap.h /systemd/src/network/networkd-netdev-veth.c /systemd/src/network/networkd-netdev-veth.h /systemd/src/network/networkd-netdev-vlan.c /systemd/src/network/networkd-netdev-vlan.h /systemd/src/network/networkd-netdev-vxlan.c /systemd/src/network/networkd-netdev-vxlan.h /systemd/src/network/networkd-netdev.c /systemd/src/network/networkd-netdev.h /systemd/src/network/networkd-network-bus.c /systemd/src/network/networkd-network.c /systemd/src/network/networkd-network.h /systemd/src/network/networkd-route.c /systemd/src/network/networkd-route.h /systemd/src/network/networkd-util.c /systemd/src/network/networkd-util.h /systemd/src/network/networkd-wait-online-link.c /systemd/src/network/networkd-wait-online-link.h /systemd/src/network/networkd-wait-online-manager.c /systemd/src/network/networkd-wait-online.h /systemd/src/network/networkd.c /systemd/src/network/networkd.h /systemd/src/network/test-network.c /systemd/src/notify/notify.c /systemd/src/nspawn/nspawn-cgroup.c /systemd/src/nspawn/nspawn-cgroup.h /systemd/src/nspawn/nspawn-expose-ports.c /systemd/src/nspawn/nspawn-expose-ports.h /systemd/src/nspawn/nspawn-mount.c /systemd/src/nspawn/nspawn-mount.h /systemd/src/nspawn/nspawn-network.c /systemd/src/nspawn/nspawn-network.h /systemd/src/nspawn/nspawn-register.c /systemd/src/nspawn/nspawn-register.h /systemd/src/nspawn/nspawn-settings.c /systemd/src/nspawn/nspawn-settings.h /systemd/src/nspawn/nspawn-setuid.c /systemd/src/nspawn/nspawn-setuid.h /systemd/src/nspawn/nspawn.c /systemd/src/nss-myhostname/nss-myhostname.c /systemd/src/nss-mymachines/nss-mymachines.c /systemd/src/nss-resolve/nss-resolve.c /systemd/src/path/path.c /systemd/src/quotacheck/quotacheck.c /systemd/src/random-seed/random-seed.c /systemd/src/rc-local-generator/rc-local-generator.c /systemd/src/remount-fs/remount-fs.c /systemd/src/reply-password/reply-password.c /systemd/src/resolve/dns-type.c /systemd/src/resolve/dns-type.h /systemd/src/resolve/resolve-tool.c /systemd/src/resolve/resolved-bus.c /systemd/src/resolve/resolved-bus.h /systemd/src/resolve/resolved-conf.c /systemd/src/resolve/resolved-conf.h /systemd/src/resolve/resolved-def.h /systemd/src/resolve/resolved-dns-answer.c /systemd/src/resolve/resolved-dns-answer.h /systemd/src/resolve/resolved-dns-cache.c /systemd/src/resolve/resolved-dns-cache.h /systemd/src/resolve/resolved-dns-dnssec.c /systemd/src/resolve/resolved-dns-dnssec.h /systemd/src/resolve/resolved-dns-packet.c /systemd/src/resolve/resolved-dns-packet.h /systemd/src/resolve/resolved-dns-query.c /systemd/src/resolve/resolved-dns-query.h /systemd/src/resolve/resolved-dns-question.c /systemd/src/resolve/resolved-dns-question.h /systemd/src/resolve/resolved-dns-rr.c /systemd/src/resolve/resolved-dns-rr.h /systemd/src/resolve/resolved-dns-scope.c /systemd/src/resolve/resolved-dns-scope.h /systemd/src/resolve/resolved-dns-search-domain.c /systemd/src/resolve/resolved-dns-search-domain.h /systemd/src/resolve/resolved-dns-server.c /systemd/src/resolve/resolved-dns-server.h /systemd/src/resolve/resolved-dns-stream.c /systemd/src/resolve/resolved-dns-stream.h /systemd/src/resolve/resolved-dns-transaction.c /systemd/src/resolve/resolved-dns-transaction.h /systemd/src/resolve/resolved-dns-trust-anchor.c /systemd/src/resolve/resolved-dns-trust-anchor.h /systemd/src/resolve/resolved-dns-zone.c /systemd/src/resolve/resolved-dns-zone.h /systemd/src/resolve/resolved-link-bus.c /systemd/src/resolve/resolved-link-bus.h /systemd/src/resolve/resolved-link.c /systemd/src/resolve/resolved-link.h /systemd/src/resolve/resolved-llmnr.c /systemd/src/resolve/resolved-llmnr.h /systemd/src/resolve/resolved-manager.c /systemd/src/resolve/resolved-manager.h /systemd/src/resolve/resolved-mdns.c /systemd/src/resolve/resolved-mdns.h /systemd/src/resolve/resolved-resolv-conf.c /systemd/src/resolve/resolved-resolv-conf.h /systemd/src/resolve/resolved.c /systemd/src/resolve/test-dnssec-complex.c /systemd/src/resolve/test-dnssec.c /systemd/src/rfkill/rfkill.c /systemd/src/run/run.c /systemd/src/shared/acl-util.c /systemd/src/shared/acl-util.h /systemd/src/shared/acpi-fpdt.c /systemd/src/shared/acpi-fpdt.h /systemd/src/shared/apparmor-util.c /systemd/src/shared/apparmor-util.h /systemd/src/shared/architecture.c /systemd/src/shared/architecture.h /systemd/src/shared/ask-password-api.c /systemd/src/shared/ask-password-api.h /systemd/src/shared/base-filesystem.c /systemd/src/shared/base-filesystem.h /systemd/src/shared/boot-timestamps.c /systemd/src/shared/boot-timestamps.h /systemd/src/shared/bus-util.c /systemd/src/shared/bus-util.h /systemd/src/shared/cgroup-show.c /systemd/src/shared/cgroup-show.h /systemd/src/shared/clean-ipc.c /systemd/src/shared/clean-ipc.h /systemd/src/shared/condition.c /systemd/src/shared/condition.h /systemd/src/shared/conf-parser.c /systemd/src/shared/conf-parser.h /systemd/src/shared/dev-setup.c /systemd/src/shared/dev-setup.h /systemd/src/shared/dns-domain.c /systemd/src/shared/dns-domain.h /systemd/src/shared/dropin.c /systemd/src/shared/dropin.h /systemd/src/shared/efivars.c /systemd/src/shared/efivars.h /systemd/src/shared/firewall-util.c /systemd/src/shared/firewall-util.h /systemd/src/shared/fstab-util.c /systemd/src/shared/fstab-util.h /systemd/src/shared/generator.c /systemd/src/shared/generator.h /systemd/src/shared/gpt.h /systemd/src/shared/ima-util.c /systemd/src/shared/ima-util.h /systemd/src/shared/import-util.c /systemd/src/shared/import-util.h /systemd/src/shared/install-printf.c /systemd/src/shared/install-printf.h /systemd/src/shared/install.c /systemd/src/shared/install.h /systemd/src/shared/logs-show.c /systemd/src/shared/logs-show.h /systemd/src/shared/machine-image.c /systemd/src/shared/machine-image.h /systemd/src/shared/machine-pool.c /systemd/src/shared/machine-pool.h /systemd/src/shared/output-mode.h /systemd/src/shared/pager.c /systemd/src/shared/pager.h /systemd/src/shared/path-lookup.c /systemd/src/shared/path-lookup.h /systemd/src/shared/ptyfwd.c /systemd/src/shared/ptyfwd.h /systemd/src/shared/resolve-util.c /systemd/src/shared/resolve-util.h /systemd/src/shared/seccomp-util.c /systemd/src/shared/seccomp-util.h /systemd/src/shared/sleep-config.c /systemd/src/shared/sleep-config.h /systemd/src/shared/spawn-ask-password-agent.c /systemd/src/shared/spawn-ask-password-agent.h /systemd/src/shared/spawn-polkit-agent.c /systemd/src/shared/spawn-polkit-agent.h /systemd/src/shared/specifier.c /systemd/src/shared/specifier.h /systemd/src/shared/switch-root.c /systemd/src/shared/switch-root.h /systemd/src/shared/sysctl-util.c /systemd/src/shared/sysctl-util.h /systemd/src/shared/udev-util.h /systemd/src/shared/uid-range.c /systemd/src/shared/uid-range.h /systemd/src/shared/utmp-wtmp.c /systemd/src/shared/utmp-wtmp.h /systemd/src/shared/watchdog.c /systemd/src/shared/watchdog.h /systemd/src/sleep/sleep.c /systemd/src/socket-proxy/socket-proxyd.c /systemd/src/sysctl/sysctl.c /systemd/src/system-update-generator/system-update-generator.c /systemd/src/systemctl/systemctl.c /systemd/src/systemd/_sd-common.h /systemd/src/systemd/sd-bus-protocol.h /systemd/src/systemd/sd-bus-vtable.h /systemd/src/systemd/sd-bus.h /systemd/src/systemd/sd-daemon.h /systemd/src/systemd/sd-device.h /systemd/src/systemd/sd-dhcp-client.h /systemd/src/systemd/sd-dhcp-lease.h /systemd/src/systemd/sd-dhcp-server.h /systemd/src/systemd/sd-dhcp6-client.h /systemd/src/systemd/sd-dhcp6-lease.h /systemd/src/systemd/sd-event.h /systemd/src/systemd/sd-hwdb.h /systemd/src/systemd/sd-id128.h /systemd/src/systemd/sd-ipv4acd.h /systemd/src/systemd/sd-ipv4ll.h /systemd/src/systemd/sd-journal.h /systemd/src/systemd/sd-lldp.h /systemd/src/systemd/sd-login.h /systemd/src/systemd/sd-messages.h /systemd/src/systemd/sd-ndisc.h /systemd/src/systemd/sd-netlink.h /systemd/src/systemd/sd-network.h /systemd/src/systemd/sd-path.h /systemd/src/systemd/sd-resolve.h /systemd/src/systemd/sd-utf8.h /systemd/src/sysusers/sysusers.c /systemd/src/sysv-generator/sysv-generator.c /systemd/src/test/test-acl-util.c /systemd/src/test/test-architecture.c /systemd/src/test/test-ask-password-api.c /systemd/src/test/test-barrier.c /systemd/src/test/test-boot-timestamps.c /systemd/src/test/test-btrfs.c /systemd/src/test/test-calendarspec.c /systemd/src/test/test-cap-list.c /systemd/src/test/test-cgroup-mask.c /systemd/src/test/test-cgroup-util.c /systemd/src/test/test-cgroup.c /systemd/src/test/test-conf-files.c /systemd/src/test/test-daemon.c /systemd/src/test/test-date.c /systemd/src/test/test-device-nodes.c /systemd/src/test/test-dns-domain.c /systemd/src/test/test-ellipsize.c /systemd/src/test/test-engine.c /systemd/src/test/test-env-replace.c /systemd/src/test/test-extract-word.c /systemd/src/test/test-fileio.c /systemd/src/test/test-firewall-util.c /systemd/src/test/test-fstab-util.c /systemd/src/test/test-helper.h /systemd/src/test/test-hostname-util.c /systemd/src/test/test-hostname.c /systemd/src/test/test-id128.c /systemd/src/test/test-install-root.c /systemd/src/test/test-install.c /systemd/src/test/test-ipcrm.c /systemd/src/test/test-job-type.c /systemd/src/test/test-json.c /systemd/src/test/test-libudev.c /systemd/src/test/test-log.c /systemd/src/test/test-loopback.c /systemd/src/test/test-namespace.c /systemd/src/test/test-netlink-manual.c /systemd/src/test/test-ns.c /systemd/src/test/test-parse-util.c /systemd/src/test/test-path-lookup.c /systemd/src/test/test-path-util.c /systemd/src/test/test-prioq.c /systemd/src/test/test-replace-var.c /systemd/src/test/test-sched-prio.c /systemd/src/test/test-sigbus.c /systemd/src/test/test-siphash24.c /systemd/src/test/test-sleep.c /systemd/src/test/test-strbuf.c /systemd/src/test/test-string-util.c /systemd/src/test/test-strip-tab-ansi.c /systemd/src/test/test-strv.c /systemd/src/test/test-strxcpyx.c /systemd/src/test/test-time.c /systemd/src/test/test-tmpfiles.c /systemd/src/test/test-uid-range.c /systemd/src/test/test-unit-file.c /systemd/src/test/test-unit-name.c /systemd/src/test/test-user-util.c /systemd/src/test/test-utf8.c /systemd/src/test/test-util.c /systemd/src/test/test-watchdog.c /systemd/src/test/test-xml.c /systemd/src/timedate/timedatectl.c /systemd/src/timedate/timedated.c /systemd/src/timesync/timesyncd-conf.c /systemd/src/timesync/timesyncd-conf.h /systemd/src/timesync/timesyncd-manager.c /systemd/src/timesync/timesyncd-manager.h /systemd/src/timesync/timesyncd-server.c /systemd/src/timesync/timesyncd-server.h /systemd/src/timesync/timesyncd.c /systemd/src/tmpfiles/tmpfiles.c /systemd/src/tty-ask-password-agent/tty-ask-password-agent.c /systemd/src/udev/net/ethtool-util.c /systemd/src/udev/net/ethtool-util.h /systemd/src/udev/net/link-config.c /systemd/src/udev/net/link-config.h /systemd/src/udev/scsi_id/scsi.h /systemd/src/udev/scsi_id/scsi_id.c /systemd/src/udev/scsi_id/scsi_id.h /systemd/src/udev/scsi_id/scsi_serial.c /systemd/src/udev/udev-builtin-blkid.c /systemd/src/udev/udev-builtin-btrfs.c /systemd/src/udev/udev-builtin-hwdb.c /systemd/src/udev/udev-builtin-input_id.c /systemd/src/udev/udev-builtin-keyboard.c /systemd/src/udev/udev-builtin-kmod.c /systemd/src/udev/udev-builtin-net_id.c /systemd/src/udev/udev-builtin-net_setup_link.c /systemd/src/udev/udev-builtin-path_id.c /systemd/src/udev/udev-builtin-uaccess.c /systemd/src/udev/udev-builtin-usb_id.c /systemd/src/udev/udev-builtin.c /systemd/src/udev/udev-ctrl.c /systemd/src/udev/udev-event.c /systemd/src/udev/udev-node.c /systemd/src/udev/udev-rules.c /systemd/src/udev/udev-watch.c /systemd/src/udev/udev.h /systemd/src/udev/udevadm-control.c /systemd/src/udev/udevadm-hwdb.c /systemd/src/udev/udevadm-info.c /systemd/src/udev/udevadm-monitor.c /systemd/src/udev/udevadm-settle.c /systemd/src/udev/udevadm-test-builtin.c /systemd/src/udev/udevadm-test.c /systemd/src/udev/udevadm-trigger.c /systemd/src/udev/udevadm-util.c /systemd/src/udev/udevadm-util.h /systemd/src/udev/udevadm.c /systemd/src/udev/udevd.c /systemd/src/udev/v4l_id/v4l_id.c /systemd/src/update-done/update-done.c /systemd/src/update-utmp/update-utmp.c /systemd/src/user-sessions/user-sessions.c /systemd/src/vconsole/vconsole-setup.c
6bf0f408e4833152197fb38fb10a9989c89f3a59 10-Feb-2016 Lennart Poettering <lennart@poettering.net>

core: make the StartLimitXYZ= settings generic and apply to any kind of unit, not just services This moves the StartLimitBurst=, StartLimitInterval=, StartLimitAction=, RebootArgument= from the [Service] section into the [Unit] section of unit files, and thus support it in all unit types, not just in services. This way we can enforce the start limit much earlier, in particular before testing the unit conditions, so that repeated start-up failure due to failed conditions is also considered for the start limit logic. For compatibility the four options may also be configured in the [Service] section still, but we only document them in their new section [Unit]. This also renamed the socket unit failure code "service-failed-permanent" into "service-start-limit-hit" to express more clearly what it is about, after all it's only triggered through the start limit being hit. Finally, the code in busname_trigger_notify() and socket_trigger_notify() is altered to become more alike. Fixes: #2467

7a7821c878a6ddfb2e79268bb1cd8f7662a9b8f8 04-Feb-2016 Lennart Poettering <lennart@poettering.net>

core: rework job_get_timeout() to use usec_t and handle USEC_INFINITY time events correctly

a483fb59a8dd908a3e4b20d62410d022d511eaa8 01-Feb-2016 Lennart Poettering <lennart@poettering.net>

core: store for each unit when the last low-level unit state change took place This adds a new timestamp field to the Unit struct, storing when the last low-level state change took place, and make sure this is restored after a daemon reload. This new field is useful to allow restarting of per-state timers exactly where they originally started.

9d06297e262966de71095debd1537fc223f940a3 24-Nov-2015 Harald Hoyer <harald@redhat.com>

core: Do not bind a mount unit to a device, if it was from mountinfo If a mount unit is bound to a device, systemd tries to umount the mount point, if it thinks the device has gone away. Due to the uevent queue and inotify of /proc/self/mountinfo being two different sources, systemd can never get the ordering reliably correct. It can happen, that in the uevent queue ADD,REMOVE,ADD is queued and an inotify of mountinfo (or libmount event) happend with the device in question. systemd cannot know, at which point of time the mount happend in the ADD,REMOVE,ADD sequence. The real ordering might have been ADD,REMOVE,ADD,mount and systemd might think ADD,mount,REMOVE,ADD and would umount the mountpoint. A test script which triggered this behaviour is: rm -f test-efi-disk.img dd if=/dev/null of=test-efi-disk.img bs=1M seek=512 count=1 parted --script test-efi-disk.img \ "mklabel gpt" \ "mkpart ESP fat32 1MiB 511MiB" \ "set 1 boot on" LOOP=$(losetup --show -f -P test-efi-disk.img) udevadm settle mkfs.vfat -F32 ${LOOP}p1 mkdir -p mnt mount ${LOOP}p1 mnt ... <dostuffwith mnt> Without the "udevadm settle" systemd unmounted mnt while the script was operating on mnt. Of course the question is, why there was a REMOVE in the first place, but this is not part of this patch.

71d35b6b5563817dfbe757ab9e3b9f018b2db491 18-Nov-2015 Thomas Hindoe Paaboel Andersen <phomes@gmail.com>

tree-wide: sort includes in *.h This is a continuation of the previous include sort patch, which only sorted for .c files.

/systemd/src/basic/audit-util.h /systemd/src/basic/bitmap.h /systemd/src/basic/calendarspec.h /systemd/src/basic/cgroup-util.h /systemd/src/basic/escape.h /systemd/src/basic/fd-util.h /systemd/src/basic/fileio-label.h /systemd/src/basic/fs-util.h /systemd/src/basic/gunicode.h /systemd/src/basic/ioprio.h /systemd/src/basic/json.h /systemd/src/basic/memfd-util.h /systemd/src/basic/process-util.h /systemd/src/basic/selinux-util.h /systemd/src/basic/socket-util.h /systemd/src/basic/terminal-util.h /systemd/src/basic/user-util.h /systemd/src/bootchart/bootchart.h /systemd/src/bootchart/store.h /systemd/src/bus-proxyd/bus-xml-policy.h /systemd/src/bus-proxyd/driver.h bus-endpoint.h bus-policy.h cgroup.h dbus-kill.h dbus-scope.h dbus-service.h dbus-slice.h dbus-socket.h dbus-swap.h dbus-timer.h dbus-unit.h execute.h job.h load-dropin.h manager.h mount.h selinux-access.h service.h socket.h transaction.h unit.h /systemd/src/import/curl-util.h /systemd/src/import/export-raw.h /systemd/src/import/export-tar.h /systemd/src/import/import-compress.h /systemd/src/import/import-raw.h /systemd/src/import/import-tar.h /systemd/src/import/pull-common.h /systemd/src/import/pull-dkr.h /systemd/src/import/pull-job.h /systemd/src/import/pull-raw.h /systemd/src/import/pull-tar.h /systemd/src/journal-remote/journal-remote-parse.h /systemd/src/journal-remote/journal-remote.h /systemd/src/journal-remote/journal-upload.h /systemd/src/journal-remote/microhttpd-util.h /systemd/src/journal/catalog.h /systemd/src/journal/fsprg.h /systemd/src/journal/journal-file.h /systemd/src/journal/journal-internal.h /systemd/src/journal/journald-audit.h /systemd/src/libsystemd-network/arp-util.h /systemd/src/libsystemd-network/dhcp-lease-internal.h /systemd/src/libsystemd-network/dhcp-protocol.h /systemd/src/libsystemd-network/dhcp-server-internal.h /systemd/src/libsystemd-network/dhcp6-lease-internal.h /systemd/src/libsystemd-network/lldp-tlv.h /systemd/src/libsystemd-network/network-internal.h /systemd/src/libsystemd/sd-bus/bus-control.h /systemd/src/libsystemd/sd-bus/bus-dump.h /systemd/src/libsystemd/sd-bus/bus-error.h /systemd/src/libsystemd/sd-bus/bus-introspect.h /systemd/src/libsystemd/sd-bus/bus-slot.h /systemd/src/libsystemd/sd-netlink/local-addresses.h /systemd/src/libudev/libudev-private.h /systemd/src/login/logind-acl.h /systemd/src/login/logind-action.h /systemd/src/login/logind-session.h /systemd/src/machine/machined.h /systemd/src/network/networkd-address-pool.h /systemd/src/network/networkd-address.h /systemd/src/network/networkd-fdb.h /systemd/src/network/networkd-link.h /systemd/src/network/networkd-netdev-vxlan.h /systemd/src/network/networkd-netdev.h /systemd/src/network/networkd-network.h /systemd/src/network/networkd-route.h /systemd/src/network/networkd.h /systemd/src/nspawn/nspawn-cgroup.h /systemd/src/nspawn/nspawn-expose-ports.h /systemd/src/nspawn/nspawn-network.h /systemd/src/nspawn/nspawn-settings.h /systemd/src/resolve/resolved-dns-cache.h /systemd/src/resolve/resolved-dns-packet.h /systemd/src/resolve/resolved-dns-query.h /systemd/src/resolve/resolved-dns-rr.h /systemd/src/resolve/resolved-dns-scope.h /systemd/src/resolve/resolved-dns-transaction.h /systemd/src/resolve/resolved-dns-zone.h /systemd/src/resolve/resolved-manager.h /systemd/src/shared/acl-util.h /systemd/src/shared/cgroup-show.h /systemd/src/shared/conf-parser.h /systemd/src/shared/efivars.h /systemd/src/shared/logs-show.h /systemd/src/shared/machine-image.h /systemd/src/shared/nss-util.h /systemd/src/systemd/sd-bus.h /systemd/src/systemd/sd-daemon.h /systemd/src/systemd/sd-device.h /systemd/src/systemd/sd-dhcp-client.h /systemd/src/systemd/sd-dhcp-server.h /systemd/src/systemd/sd-dhcp6-client.h /systemd/src/systemd/sd-event.h /systemd/src/systemd/sd-ipv4acd.h /systemd/src/systemd/sd-ipv4ll.h /systemd/src/systemd/sd-journal.h /systemd/src/systemd/sd-lldp.h /systemd/src/systemd/sd-login.h /systemd/src/systemd/sd-messages.h /systemd/src/systemd/sd-ndisc.h /systemd/src/systemd/sd-netlink.h /systemd/src/systemd/sd-network.h /systemd/src/systemd/sd-resolve.h /systemd/src/timesync/timesyncd-conf.h /systemd/src/timesync/timesyncd-manager.h /systemd/src/timesync/timesyncd-server.h
0f13f3bd7918b84955eaa0ceeea0f964877a93f7 17-Nov-2015 Lennart Poettering <lennart@poettering.net>

core: move check whether a unit is suitable to become transient into unit.c Lets introduce unit_is_pristine() that verifies whether a unit is suitable to become a transient unit, by checking that it is no referenced yet and has no data on disk assigned.

702d4e6f14b0c92f7325fcdc3650c79c2221849e 13-Nov-2015 Lennart Poettering <lennart@poettering.net>

core: now that .snapshot unit are gone, we don't need the per-type .no_gc bool anymore

36b4a7ba555540edb7648e0f97019280b4ac38de 11-Nov-2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

Remove snapshot unit type Snapshots were never useful or used for anything. Many systemd developers that I spoke to at systemd.conf2015, didn't even know they existed, so it is fairly safe to assume that this type can be deleted without harm. The fundamental problem with snapshots is that the state of the system is dynamic, devices come and go, users log in and out, timers fire... and restoring all units to some state from the past would "undo" those changes, which isn't really possible. Tested by creating a snapshot, running the new binary, and checking that the transition did not cause errors, and the snapshot is gone, and snapshots cannot be created anymore. New systemctl says: Unknown operation snapshot. Old systemctl says: Failed to create snapshot: Support for snapshots has been removed. IgnoreOnSnaphost settings are warned about and ignored: Support for option IgnoreOnSnapshot= has been removed and it is ignored http://lists.freedesktop.org/archives/systemd-devel/2015-November/034872.html

9ff1a6f1d61d4569920d5b75c88cf1c2ad9adaae 10-Nov-2015 Lennart Poettering <lennart@poettering.net>

core: change type of distribute_fds() prototype to return void We can't handle errors of thisc all sanely anyway, and we never actually return any errors from the unit type that implements the call. Hence, let's make this void, in order to simplify things.

ba64af90ecf48f7653a04bf3af1291385c9a69b8 10-Nov-2015 Lennart Poettering <lennart@poettering.net>

core: change return value of the unit's enumerate() call to void We cannot handle enumeration failures in a sensible way, hence let's try hard to continue without making such failures fatal, and log about it with precise error messages.

b250ea2fd6fe35242a7d161a3b37bb756ae87be0 19-Oct-2015 Thomas Hindoe Paaboel Andersen <phomes@gmail.com>

tree-wide: remove unused functions

9806e87da22d0025d7c427907202e5751a6b5989 17-Oct-2015 Lennart Poettering <lennart@poettering.net>

unit: allocate bus name match string on the stack Let's use strjoina() rather than strjoin() for construct dbus match strings. Also, while we are at it, fix parameter ordering, so that our functions always put the object first, like it is customary for OO-like programming.

a34ceba66fc0e856d8f76f340389a4768b57a365 08-Oct-2015 Lennart Poettering <lennart@poettering.net>

core: add support for setting stdin/stdout/stderr for transient services When starting a transient service, allow setting stdin/stdout/stderr fds for it, by passing them in via the bus. This also simplifies some of the serialization code for units.

978c8b6347d61f5a792886ef1875a4df625fd65f 28-Sep-2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

Move UnitActiveState to basic/ Preparation to allow systemctl to query the list of unit states.

32ee7d3309816994a02b3ff000e9734120d71214 16-Sep-2015 Daniel Mack <daniel@zonque.org>

cgroup: add support for net_cls controllers Add a new config directive called NetClass= to CGroup enabled units. Allowed values are positive numbers for fix assignments and "auto" for picking a free value automatically, for which we need to keep track of dynamically assigned net class IDs of units. Introduce a hash table for this, and also record the last ID that was given out, so the allocator can start its search for the next 'hole' from there. This could eventually be optimized with something like an irb. The class IDs up to 65536 are considered reserved and won't be assigned automatically by systemd. This barrier can be made a config directive in the future. Values set in unit files are stored in the CGroupContext of the unit and considered read-only. The actually assigned number (which may have been chosen dynamically) is stored in the unit itself and is guaranteed to remain stable as long as the unit is active. In the CGroup controller, set the configured CGroup net class to net_cls.classid. Multiple unit may share the same net class ID, and those which do are linked together.

efdb02375beb0a940c3320865572913780b4d7de 01-Sep-2015 Lennart Poettering <lennart@poettering.net>

core: unified cgroup hierarchy support This patch set adds full support the new unified cgroup hierarchy logic of modern kernels. A new kernel command line option "systemd.unified_cgroup_hierarchy=1" is added. If specified the unified hierarchy is mounted to /sys/fs/cgroup instead of a tmpfs. No further hierarchies are mounted. The kernel command line option defaults to off. We can turn it on by default as soon as the kernel's APIs regarding this are stabilized (but even then downstream distros might want to turn this off, as this will break any tools that access cgroupfs directly). It is possibly to choose for each boot individually whether the unified or the legacy hierarchy is used. nspawn will by default provide the legacy hierarchy to containers if the host is using it, and the unified otherwise. However it is possible to run containers with the unified hierarchy on a legacy host and vice versa, by setting the $UNIFIED_CGROUP_HIERARCHY environment variable for nspawn to 1 or 0, respectively. The unified hierarchy provides reliable cgroup empty notifications for the first time, via inotify. To make use of this we maintain one manager-wide inotify fd, and each cgroup to it. This patch also removes cg_delete() which is unused now. On kernel 4.2 only the "memory" controller is compatible with the unified hierarchy, hence that's the only controller systemd exposes when booted in unified heirarchy mode. This introduces a new enum for enumerating supported controllers, plus a related enum for the mask bits mapping to it. The core is changed to make use of this everywhere. This moves PID 1 into a new "init.scope" implicit scope unit in the root slice. This is necessary since on the unified hierarchy cgroups may either contain subgroups or processes but not both. PID 1 hence has to move out of the root cgroup (strictly speaking the root cgroup is the only one where processes and subgroups are still allowed, but in order to support containers nicey, we move PID 1 into the new scope in all cases.) This new unit is also used on legacy hierarchy setups. It's actually pretty useful on all systems, as it can then be used to filter journal messages coming from PID 1, and so on. The root slice ("-.slice") is now implicitly created and started (and does not require a unit file on disk anymore), since that's where "init.scope" is located and the slice needs to be started before the scope can. To check whether we are in unified or legacy hierarchy mode we use statfs() on /sys/fs/cgroup. If the .f_type field reports tmpfs we are in legacy mode, if it reports cgroupfs we are in unified mode. This patch set carefuly makes sure that cgls and cgtop continue to work as desired. When invoking nspawn as a service it will implicitly create two subcgroups in the cgroup it is using, one to move the nspawn process into, the other to move the actual container processes into. This is done because of the requirement that cgroups may either contain processes or other subgroups.

d79200e26ee39d4b451f95e876fc4595df51fe51 31-Aug-2015 Lennart Poettering <lennart@poettering.net>

unit: unify how we assing slices to units This adds a new call unit_set_slice(), and simplifies unit_add_default_slice(). THis should make our code a bit more robust and simpler.

35b7ff80e29524cb01f881ca6d52c669970c88f1 31-Aug-2015 Lennart Poettering <lennart@poettering.net>

unit: add new macros to test for unit contexts

21b735e798c580e7af8c33ace9f8565860b7f8df 28-Aug-2015 Lennart Poettering <lennart@poettering.net>

core: add unit_dbus_interface_from_type() to unit-name.h Let's add a way to get the type-specific D-Bus interface of a unit from either its type or name to src/basic/unit-name.[ch]. That way we can share it with the client side, where it is useful in tools like cgls or machinectl. Also ports over machinectl to make use of this.

bbc2908635ca3ded9162504683fa126809f0ec14 06-Aug-2015 Daniel Mack <daniel@zonque.org>

core: dbus: track bus names per unit Currently, PID1 installs an unfiltered NameOwnerChanged signal match, and dispatches the signals itself. This does not scale, as right now, PID1 wakes up every time a bus client connects. To fix this, install individual matches once they are requested by unit_watch_bus_name(), and remove the watches again through their slot in unit_unwatch_bus_name(). If the bus is not available during unit_watch_bus_name(), just store name in the 'watch_bus' hashmap, and let bus_setup_api() do the installing later.

d1a34ae9c20f1c02aab17884919eccef572b1d21 21-Jul-2015 Michal Schmidt <mschmidt@redhat.com>

core: fix confusing logging of instantaneous jobs For instantaneous jobs (e.g. starting of targets, sockets, slices, or Type=simple services) the log shows the job completion before starting: systemd[1]: Created slice -.slice. systemd[1]: Starting -.slice. systemd[1]: Created slice System Slice. systemd[1]: Starting System Slice. systemd[1]: Listening on Journal Audit Socket. systemd[1]: Starting Journal Audit Socket. systemd[1]: Reached target Timers. systemd[1]: Starting Timers. ... The reason is that the job completes before the ->start() method returns and only then does unit_start() print the "Starting ..." message. The same thing happens when stopping units. Rather than fixing the order of the messages, let's just not emit the Starting/Stopping message at all when the job completes instantaneously. The job completion message is sufficient in this case.

ed10fa8ce2e9cc4b78adb257a1b8fdc636bacea9 19-May-2015 Lennart Poettering <lennart@poettering.net>

unit: drop support for pre-v44 job serialization No distro ships that old systemd versions anyway, hence let's drop support for live-upgrades for them. Offline updates are still supported. And live-upgrades will only lose the job queue, hence basically still work...

67bfdc9771ce9d67b6ecff9982d2ecb89bdb2f6b 19-May-2015 Lennart Poettering <lennart@poettering.net>

core: also enforce ratelimiter if we stop a unit due to BindsTo= This extends on bea355dac94e82697aa98e25d80ee4248263bf92, and extends the ratelimiter to not only be used for StopWhenUnneeded=1 units but also for units that have BindsTo= on a unit that is dead. http://lists.freedesktop.org/archives/systemd-devel/2015-April/030224.html

f8a30ce524df4e2b71c2e3362e2cc83a8dcf41bf 19-May-2015 Lennart Poettering <lennart@poettering.net>

core: use bitfield where possible

bea355dac94e82697aa98e25d80ee4248263bf92 19-May-2015 Lennart Poettering <lennart@poettering.net>

core: enforce a ratelimiter when stopping units due to StopWhenUnneeded=1 Otherwise we might end up in an endless stop loop. http://lists.freedesktop.org/archives/systemd-devel/2015-April/030224.html

8b4305c7354f572fa0390b7580ba30af741aa0a5 11-May-2015 Lennart Poettering <lennart@poettering.net>

unit: move unit_warn_if_dir_nonempty() and friend to unit.c The call is only used by the mount and automount unit types, but that's already enough to consider it generic unit functionality, hence move it out of mount.c and into unit.c.

f2341e0a87cab1558c84c933956e9181d5fb6c52 11-May-2015 Lennart Poettering <lennart@poettering.net>

core,network: major per-object logging rework This changes log_unit_info() (and friends) to take a real Unit* object insted of just a unit name as parameter. The call will now prefix all logged messages with the unit name, thus allowing the unit name to be dropped from the various passed romat strings, simplifying invocations drastically, and unifying log output across messages. Also, UNIT= vs. USER_UNIT= is now derived from the Manager object attached to the Unit object, instead of getpid(). This has the benefit of correcting the field for --test runs. Also contains a couple of other logging improvements: - Drops a couple of strerror() invocations in favour of using %m. - Not only .mount units now warn if a symlinks exist for the mount point already, .automount units do that too, now. - A few invocations of log_struct() that didn't actually pass any additional structured data have been replaced by simpler invocations of log_unit_info() and friends. - For structured data a new LOG_UNIT_MESSAGE() macro has been added, that works like LOG_MESSAGE() but prefixes the message with the unit name. Similar, there's now LOG_LINK_MESSAGE() and LOG_NETDEV_MESSAGE(). - For structured data new LOG_UNIT_ID(), LOG_LINK_INTERFACE(), LOG_NETDEV_INTERFACE() macros have been added that generate the necessary per object fields. The old log_unit_struct() call has been removed in favour of these new macros used in raw log_struct() invocations. In addition to removing one more function call this allows generated structured log messages that contain two object fields, as necessary for example for network interfaces that are joined into another network interface, and whose messages shall be indexed by both. - The LOG_ERRNO() macro has been removed, in favour of log_struct_errno(). The latter has the benefit of ensuring that %m in format strings is properly resolved to the specified error number. - A number of logging messages have been converted to use log_unit_info() instead of log_info() - The client code in sysv-generator no longer #includes core code from src/core/. - log_unit_full_errno() has been removed, log_unit_full() instead takes an errno now, too. - log_unit_info(), log_link_info(), log_netdev_info() and friends, now avoid double evaluation of their parameters

1c2e9646e4a1720fc8ad35c705c195ae1a2c5ce0 30-Apr-2015 Lennart Poettering <lennart@poettering.net>

core: simplify unit type detection logic Introduce a new call unit_type_supported() and make use of it everywhere. Also, drop Manager parameter from per-type supported method prototype.

f78f265f405a61387c6c12a879ac0d6b6dc958db 24-Apr-2015 Lennart Poettering <lennart@poettering.net>

core: always coldplug units that are triggered by other units before those Let's make sure that we don't enqueue triggering jobs for units before those units are actually fully loaded. http://lists.freedesktop.org/archives/systemd-devel/2015-April/031176.html https://bugs.freedesktop.org/show_bug.cgi?id=88401

be847e82cf95bf8eb589778df2aa2b3d1d7ae99e 24-Apr-2015 Lennart Poettering <lennart@poettering.net>

Revert "core: do not spawn jobs or touch other units during coldplugging" This reverts commit 6e392c9c45643d106673c6643ac8bf4e65da13c1. We really shouldn't invent external state keeping hashmaps, if we can keep this state in the units themselves.

4940c0b0b621c0d5a4a3c1f3bc281ecba6151c58 21-Apr-2015 Lennart Poettering <lennart@poettering.net>

service: make kill operation mapping explicit

6e392c9c45643d106673c6643ac8bf4e65da13c1 07-Mar-2015 Ivan Shapovalov <intelfx100@gmail.com>

core: do not spawn jobs or touch other units during coldplugging Because the order of coldplugging is not defined, we can reference a not-yet-coldplugged unit and read its state while it has not yet been set to a meaningful value. This way, already active units may get started again. We fix this by deferring such actions until all units have been at least somehow coldplugged. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=88401

5ad096b3f1331b175340129a8c9a5a9d711e5415 02-Mar-2015 Lennart Poettering <lennart@poettering.net>

core: expose consumed CPU time per unit This adds support for showing the accumulated consumed CPU time per-unit in the "systemctl status" output. The property is also readable via the bus.

2eec67acbb00593e414549a7e5b35eb7dd776b1b 23-Feb-2015 Thomas Hindoe Paaboel Andersen <phomes@gmail.com>

remove unused includes This patch removes includes that are not used. The removals were found with include-what-you-use which checks if any of the symbols from a header is in use.

/systemd/src/activate/activate.c /systemd/src/analyze/analyze-verify.c /systemd/src/analyze/analyze.c /systemd/src/ask-password/ask-password.c /systemd/src/binfmt/binfmt.c /systemd/src/boot/bootctl.c /systemd/src/bootchart/bootchart.c /systemd/src/bootchart/bootchart.h /systemd/src/bootchart/store.c /systemd/src/bootchart/svg.c /systemd/src/bus-proxyd/bus-proxyd.c /systemd/src/bus-proxyd/bus-xml-policy.c /systemd/src/bus-proxyd/bus-xml-policy.h /systemd/src/bus-proxyd/driver.c /systemd/src/bus-proxyd/proxy.c /systemd/src/bus-proxyd/proxy.h /systemd/src/bus-proxyd/stdio-bridge.c /systemd/src/bus-proxyd/synthesize.c /systemd/src/bus-proxyd/test-bus-xml-policy.c /systemd/src/cgls/cgls.c /systemd/src/console/consoled-display.c /systemd/src/console/consoled-manager.c /systemd/src/console/consoled-session.c /systemd/src/console/consoled-terminal.c /systemd/src/console/consoled-workspace.c /systemd/src/console/consoled.c /systemd/src/console/consoled.h automount.c busname.h cgroup.h dbus-automount.c dbus-automount.h dbus-busname.c dbus-busname.h dbus-device.c dbus-device.h dbus-manager.h dbus-mount.c dbus-path.c dbus-path.h dbus-service.c dbus-slice.c dbus-snapshot.c dbus-socket.c dbus-swap.c dbus-target.c dbus-target.h dbus-timer.c dbus-unit.c dbus.c device.c device.h execute.c execute.h failure-action.c hostname-setup.c ima-setup.c job.c job.h kill.c killall.c kmod-setup.c load-dropin.c load-fragment.c locale-setup.c loopback-setup.c machine-id-setup.c main.c manager.c manager.h mount-setup.c mount.c mount.h namespace.c path.c path.h scope.c scope.h selinux-access.c selinux-access.h selinux-setup.c service.c service.h shutdown.c slice.c slice.h smack-setup.c snapshot.h socket.c socket.h swap.c swap.h target.c target.h timer.c timer.h transaction.c umount.c unit-printf.c unit.c unit.h /systemd/src/cryptsetup/cryptsetup-generator.c /systemd/src/cryptsetup/cryptsetup.c /systemd/src/delta/delta.c /systemd/src/detect-virt/detect-virt.c /systemd/src/efi-boot-generator/efi-boot-generator.c /systemd/src/fsck/fsck.c /systemd/src/fstab-generator/fstab-generator.c /systemd/src/gpt-auto-generator/gpt-auto-generator.c /systemd/src/gudev/gudevclient.c /systemd/src/gudev/gudevdevice.c /systemd/src/hibernate-resume/hibernate-resume.c /systemd/src/hostname/hostnamectl.c /systemd/src/hostname/hostnamed.c /systemd/src/hwdb/hwdb.c /systemd/src/initctl/initctl.c /systemd/src/journal-remote/journal-remote-write.h /systemd/src/journal-remote/journal-remote.c /systemd/src/journal-remote/journal-remote.h /systemd/src/journal/cat.c /systemd/src/journal/catalog.c /systemd/src/journal/compress.c /systemd/src/journal/compress.h /systemd/src/journal/coredump.c /systemd/src/journal/coredumpctl.c /systemd/src/journal/fsprg.c /systemd/src/journal/journal-authenticate.h /systemd/src/journal/journal-file.c /systemd/src/journal/journal-qrcode.h /systemd/src/journal/journal-vacuum.c /systemd/src/journal/journal-vacuum.h /systemd/src/journal/journal-verify.c /systemd/src/journal/journalctl.c /systemd/src/journal/journald-console.c /systemd/src/journal/journald-rate-limit.h /systemd/src/journal/journald-server.c /systemd/src/journal/journald-server.h /systemd/src/journal/journald-stream.c /systemd/src/journal/journald.c /systemd/src/journal/mmap-cache.c /systemd/src/journal/mmap-cache.h /systemd/src/journal/test-catalog.c /systemd/src/journal/test-journal-enum.c /systemd/src/journal/test-journal-interleaving.c /systemd/src/journal/test-journal-verify.c /systemd/src/journal/test-journal.c /systemd/src/journal/test-mmap-cache.c /systemd/src/libsystemd-network/dhcp-identifier.c /systemd/src/libsystemd-network/dhcp-identifier.h /systemd/src/libsystemd-network/dhcp-network.c /systemd/src/libsystemd-network/dhcp-packet.c /systemd/src/libsystemd-network/lldp-network.c /systemd/src/libsystemd-network/network-internal.c /systemd/src/libsystemd-network/network-internal.h /systemd/src/libsystemd-network/sd-dhcp-client.c /systemd/src/libsystemd-network/sd-dhcp-lease.c /systemd/src/libsystemd-network/sd-dhcp-server.c /systemd/src/libsystemd-network/sd-lldp.c /systemd/src/libsystemd-network/sd-pppoe.c /systemd/src/libsystemd-network/test-dhcp-client.c /systemd/src/libsystemd-network/test-dhcp-option.c /systemd/src/libsystemd-network/test-dhcp-server.c /systemd/src/libsystemd-network/test-lldp.c /systemd/src/libsystemd-network/test-pppoe.c /systemd/src/libsystemd-terminal/evcat.c /systemd/src/libsystemd-terminal/grdev-drm.c /systemd/src/libsystemd-terminal/grdev.c /systemd/src/libsystemd-terminal/grdev.h /systemd/src/libsystemd-terminal/idev-evdev.c /systemd/src/libsystemd-terminal/idev-keyboard.c /systemd/src/libsystemd-terminal/idev.c /systemd/src/libsystemd-terminal/idev.h /systemd/src/libsystemd-terminal/modeset.c /systemd/src/libsystemd-terminal/subterm.c /systemd/src/libsystemd-terminal/sysview.c /systemd/src/libsystemd-terminal/sysview.h /systemd/src/libsystemd-terminal/term-charset.c /systemd/src/libsystemd-terminal/term-page.c /systemd/src/libsystemd-terminal/term-wcwidth.c /systemd/src/libsystemd-terminal/test-term-page.c /systemd/src/libsystemd-terminal/test-term-parser.c /systemd/src/libsystemd-terminal/test-unifont.c /systemd/src/libsystemd-terminal/unifont.c /systemd/src/libsystemd-terminal/unifont.h /systemd/src/libsystemd/sd-bus/bus-bloom.h /systemd/src/libsystemd/sd-bus/bus-common-errors.h /systemd/src/libsystemd/sd-bus/bus-container.c /systemd/src/libsystemd/sd-bus/bus-control.c /systemd/src/libsystemd/sd-bus/bus-creds.c /systemd/src/libsystemd/sd-bus/bus-creds.h /systemd/src/libsystemd/sd-bus/bus-dump.c /systemd/src/libsystemd/sd-bus/bus-gvariant.c /systemd/src/libsystemd/sd-bus/bus-internal.h /systemd/src/libsystemd/sd-bus/bus-introspect.c /systemd/src/libsystemd/sd-bus/bus-introspect.h /systemd/src/libsystemd/sd-bus/bus-kernel.c /systemd/src/libsystemd/sd-bus/bus-match.c /systemd/src/libsystemd/sd-bus/bus-message.c /systemd/src/libsystemd/sd-bus/bus-message.h /systemd/src/libsystemd/sd-bus/bus-signature.h /systemd/src/libsystemd/sd-bus/bus-socket.c /systemd/src/libsystemd/sd-bus/bus-track.c /systemd/src/libsystemd/sd-bus/bus-type.c /systemd/src/libsystemd/sd-bus/bus-type.h /systemd/src/libsystemd/sd-bus/bus-util.h /systemd/src/libsystemd/sd-bus/busctl-introspect.h /systemd/src/libsystemd/sd-bus/busctl.c /systemd/src/libsystemd/sd-bus/sd-bus.c /systemd/src/libsystemd/sd-bus/test-bus-chat.c /systemd/src/libsystemd/sd-bus/test-bus-creds.c /systemd/src/libsystemd/sd-bus/test-bus-introspect.c /systemd/src/libsystemd/sd-bus/test-bus-kernel-benchmark.c /systemd/src/libsystemd/sd-bus/test-bus-kernel-bloom.c /systemd/src/libsystemd/sd-bus/test-bus-kernel.c /systemd/src/libsystemd/sd-bus/test-bus-marshal.c /systemd/src/libsystemd/sd-bus/test-bus-match.c /systemd/src/libsystemd/sd-bus/test-bus-objects.c /systemd/src/libsystemd/sd-bus/test-bus-server.c /systemd/src/libsystemd/sd-bus/test-bus-signature.c /systemd/src/libsystemd/sd-bus/test-bus-zero-copy.c /systemd/src/libsystemd/sd-daemon/sd-daemon.c /systemd/src/libsystemd/sd-event/sd-event.c /systemd/src/libsystemd/sd-hwdb/sd-hwdb.c /systemd/src/libsystemd/sd-network/network-util.h /systemd/src/libsystemd/sd-network/sd-network.c /systemd/src/libsystemd/sd-resolve/sd-resolve.c /systemd/src/libsystemd/sd-resolve/test-resolve.c /systemd/src/libsystemd/sd-rtnl/local-addresses.h /systemd/src/libsystemd/sd-rtnl/rtnl-message.c /systemd/src/libsystemd/sd-rtnl/rtnl-types.c /systemd/src/libsystemd/sd-rtnl/rtnl-util.c /systemd/src/libsystemd/sd-rtnl/rtnl-util.h /systemd/src/libsystemd/sd-rtnl/test-rtnl.c /systemd/src/libudev/libudev-device-private.c /systemd/src/libudev/libudev-enumerate.c /systemd/src/libudev/libudev-list.c /systemd/src/libudev/libudev-monitor.c /systemd/src/libudev/libudev-queue.c /systemd/src/libudev/libudev-util.c /systemd/src/libudev/libudev.c /systemd/src/libudev/libudev.h /systemd/src/locale/localectl.c /systemd/src/locale/localed.c /systemd/src/login/inhibit.c /systemd/src/login/loginctl.c /systemd/src/login/logind-acl.c /systemd/src/login/logind-action.c /systemd/src/login/logind-action.h /systemd/src/login/logind-button.c /systemd/src/login/logind-button.h /systemd/src/login/logind-core.c /systemd/src/login/logind-dbus.c /systemd/src/login/logind-device.c /systemd/src/login/logind-device.h /systemd/src/login/logind-inhibit.c /systemd/src/login/logind-inhibit.h /systemd/src/login/logind-seat.c /systemd/src/login/logind-seat.h /systemd/src/login/logind-session-device.c /systemd/src/login/logind-session-device.h /systemd/src/login/logind-session.c /systemd/src/login/logind-session.h /systemd/src/login/logind-user.c /systemd/src/login/logind-user.h /systemd/src/login/logind.c /systemd/src/login/logind.h /systemd/src/login/test-inhibit.c /systemd/src/login/user-sessions.c /systemd/src/machine-id-commit/machine-id-commit.c /systemd/src/machine-id-setup/machine-id-setup-main.c /systemd/src/machine/image-dbus.c /systemd/src/machine/machine-dbus.c /systemd/src/machine/machine-dbus.h /systemd/src/machine/machine.c /systemd/src/machine/machine.h /systemd/src/machine/machinectl.c /systemd/src/machine/machined-dbus.c /systemd/src/machine/machined.c /systemd/src/machine/machined.h /systemd/src/modules-load/modules-load.c /systemd/src/network/networkd-address-pool.c /systemd/src/network/networkd-address.c /systemd/src/network/networkd-fdb.c /systemd/src/network/networkd-link.c /systemd/src/network/networkd-manager.c /systemd/src/network/networkd-netdev-bond.c /systemd/src/network/networkd-netdev-bridge.c /systemd/src/network/networkd-netdev-dummy.c /systemd/src/network/networkd-netdev-ipvlan.c /systemd/src/network/networkd-netdev-macvlan.c /systemd/src/network/networkd-netdev-tunnel.c /systemd/src/network/networkd-netdev-veth.c /systemd/src/network/networkd-netdev-vlan.c /systemd/src/network/networkd-netdev-vxlan.c /systemd/src/network/networkd-netdev.c /systemd/src/network/networkd-netdev.h /systemd/src/network/networkd-network-bus.c /systemd/src/network/networkd-network.c /systemd/src/network/networkd-route.c /systemd/src/network/networkd-wait-online-link.c /systemd/src/network/networkd-wait-online-manager.c /systemd/src/network/networkd-wait-online.h /systemd/src/network/networkd.c /systemd/src/network/test-network-tables.c /systemd/src/notify/notify.c /systemd/src/nspawn/nspawn.c /systemd/src/nss-myhostname/nss-myhostname.c /systemd/src/nss-resolve/nss-resolve.c /systemd/src/path/path.c /systemd/src/quotacheck/quotacheck.c /systemd/src/remount-fs/remount-fs.c /systemd/src/reply-password/reply-password.c /systemd/src/resolve-host/resolve-host.c /systemd/src/resolve/resolved-dns-cache.h /systemd/src/resolve/resolved-dns-domain.h /systemd/src/resolve/resolved-dns-packet.h /systemd/src/resolve/resolved-dns-query.c /systemd/src/resolve/resolved-dns-query.h /systemd/src/resolve/resolved-dns-rr.h /systemd/src/resolve/resolved-dns-scope.h /systemd/src/resolve/resolved-dns-server.h /systemd/src/resolve/resolved-dns-stream.h /systemd/src/resolve/resolved-dns-transaction.h /systemd/src/resolve/resolved-link.h /systemd/src/resolve/resolved-manager.c /systemd/src/resolve/resolved-manager.h /systemd/src/resolve/resolved.c /systemd/src/resolve/test-dns-domain.c /systemd/src/shared/acl-util.c /systemd/src/shared/acpi-fpdt.c /systemd/src/shared/apparmor-util.c /systemd/src/shared/arphrd-list.c /systemd/src/shared/ask-password-api.h /systemd/src/shared/audit.c /systemd/src/shared/audit.h /systemd/src/shared/barrier.c /systemd/src/shared/barrier.h /systemd/src/shared/base-filesystem.c /systemd/src/shared/boot-timestamps.c /systemd/src/shared/btrfs-util.c /systemd/src/shared/bus-label.c /systemd/src/shared/cap-list.c /systemd/src/shared/capability.c /systemd/src/shared/capability.h /systemd/src/shared/cgroup-show.h /systemd/src/shared/cgroup-util.c /systemd/src/shared/clean-ipc.c /systemd/src/shared/clock-util.c /systemd/src/shared/clock-util.h /systemd/src/shared/condition.c /systemd/src/shared/conf-files.c /systemd/src/shared/conf-files.h /systemd/src/shared/conf-parser.c /systemd/src/shared/dev-setup.c /systemd/src/shared/device-nodes.c /systemd/src/shared/efivars.c /systemd/src/shared/efivars.h /systemd/src/shared/env-util.c /systemd/src/shared/env-util.h /systemd/src/shared/errno-list.c /systemd/src/shared/exit-status.c /systemd/src/shared/fdset.c /systemd/src/shared/fdset.h /systemd/src/shared/fileio-label.c /systemd/src/shared/generator.c /systemd/src/shared/hashmap.c /systemd/src/shared/install-printf.c /systemd/src/shared/install.c /systemd/src/shared/json.c /systemd/src/shared/json.h /systemd/src/shared/log.h /systemd/src/shared/logs-show.c /systemd/src/shared/logs-show.h /systemd/src/shared/machine-image.c /systemd/src/shared/memfd-util.c /systemd/src/shared/memfd-util.h /systemd/src/shared/mkdir-label.c /systemd/src/shared/mkdir.c /systemd/src/shared/mkdir.h /systemd/src/shared/pager.c /systemd/src/shared/path-lookup.c /systemd/src/shared/path-util.c /systemd/src/shared/pty.c /systemd/src/shared/pty.h /systemd/src/shared/ptyfwd.c /systemd/src/shared/ptyfwd.h /systemd/src/shared/ratelimit.c /systemd/src/shared/ring.c /systemd/src/shared/ring.h /systemd/src/shared/selinux-util.c /systemd/src/shared/selinux-util.h /systemd/src/shared/socket-label.c /systemd/src/shared/socket-util.c /systemd/src/shared/socket-util.h /systemd/src/shared/spawn-ask-password-agent.c /systemd/src/shared/spawn-polkit-agent.c /systemd/src/shared/strbuf.h /systemd/src/shared/strv.c /systemd/src/shared/strxcpyx.h /systemd/src/shared/time-dst.c /systemd/src/shared/unit-name.c /systemd/src/shared/util.c /systemd/src/shared/util.h /systemd/src/shared/utmp-wtmp.c /systemd/src/shutdownd/shutdownd.c /systemd/src/sleep/sleep.c /systemd/src/socket-proxy/socket-proxyd.c /systemd/src/system-update-generator/system-update-generator.c /systemd/src/systemctl/systemctl.c /systemd/src/sysusers/sysusers.c /systemd/src/sysv-generator/sysv-generator.c /systemd/src/test/test-barrier.c /systemd/src/test/test-btrfs.c /systemd/src/test/test-cap-list.c /systemd/src/test/test-capability.c /systemd/src/test/test-cgroup-mask.c /systemd/src/test/test-cgroup-util.c /systemd/src/test/test-cgroup.c /systemd/src/test/test-ellipsize.c /systemd/src/test/test-engine.c /systemd/src/test/test-env-replace.c /systemd/src/test/test-execute.c /systemd/src/test/test-hashmap.c /systemd/src/test/test-hostname.c /systemd/src/test/test-install.c /systemd/src/test/test-job-type.c /systemd/src/test/test-json.c /systemd/src/test/test-libudev.c /systemd/src/test/test-locale-util.c /systemd/src/test/test-loopback.c /systemd/src/test/test-ns.c /systemd/src/test/test-path-lookup.c /systemd/src/test/test-pty.c /systemd/src/test/test-ring.c /systemd/src/test/test-rtnl-manual.c /systemd/src/test/test-set.c /systemd/src/test/test-sleep.c /systemd/src/test/test-strxcpyx.c /systemd/src/test/test-tables.c /systemd/src/test/test-tmpfiles.c /systemd/src/test/test-udev.c /systemd/src/test/test-unit-file.c /systemd/src/test/test-unit-name.c /systemd/src/test/test-watchdog.c /systemd/src/timedate/timedatectl.c /systemd/src/timedate/timedated.c /systemd/src/timesync/timesyncd-conf.c /systemd/src/timesync/timesyncd-manager.c /systemd/src/timesync/timesyncd-manager.h /systemd/src/timesync/timesyncd.c /systemd/src/tmpfiles/tmpfiles.c /systemd/src/udev/accelerometer/accelerometer.c /systemd/src/udev/collect/collect.c /systemd/src/udev/net/link-config.c /systemd/src/udev/net/link-config.h /systemd/src/udev/udev-builtin-blkid.c /systemd/src/udev/udev-builtin-btrfs.c /systemd/src/udev/udev-builtin-hwdb.c /systemd/src/udev/udev-builtin-keyboard.c /systemd/src/udev/udev-builtin-kmod.c /systemd/src/udev/udev-builtin-uaccess.c /systemd/src/udev/udev-builtin.c /systemd/src/udev/udev-ctrl.c /systemd/src/udev/udev-event.c /systemd/src/udev/udev-node.c /systemd/src/udev/udev-watch.c /systemd/src/udev/udevadm-control.c /systemd/src/udev/udevadm-hwdb.c /systemd/src/udev/udevadm-info.c /systemd/src/udev/udevadm-monitor.c /systemd/src/udev/udevadm-settle.c /systemd/src/udev/udevadm-test-builtin.c /systemd/src/udev/udevadm-test.c /systemd/src/udev/udevadm-trigger.c /systemd/src/udev/udevadm.c /systemd/src/udev/udevd.c /systemd/src/update-done/update-done.c /systemd/src/update-utmp/update-utmp.c /systemd/src/vconsole/vconsole-setup.c
c1ff5570f4a04bb9aedea444c12dce81679224ec 12-Feb-2015 Thomas Hindoe Paaboel Andersen <phomes@gmail.com>

Add missing includes in header files This fixes various issues found by globally reordering the include sections of all .c files.

a354329f724d6ce913d2ccffb2be8f3327a67faa 06-Jan-2015 Lennart Poettering <lennart@poettering.net>

core: add new logic for services to store file descriptors in PID 1 With this change it is possible to send file descriptors to PID 1, via sd_pid_notify_with_fds() which PID 1 will store individually for each service, and pass via the usual fd passing logic on next invocation. This is useful for enable daemon reload schemes where daemons serialize their state to /run, push their fds into PID 1 and terminate, restoring their state on next start from the data in /run and passed in from PID 1. The fds are kept by PID 1 as long as no POLLHUP or POLLERR is seen on them, and the service they belong to are either not dead or failed, or have a job queued.

0faacd470dfbd24f4c6504da6f04213aa05f9d19 15-Dec-2014 Lennart Poettering <lennart@poettering.net>

unit: handle nicely of certain unit types are not supported on specific systems Containers do not really support .device, .automount or .swap units; Systems compiled without support for swap do not support .swap units; Systems without kdbus do not support .busname units. With this change attempts to start a unsupported unit types will result in an immediate "unsupported" job result, which is a lot more descriptive then before. Also, attempts to start device units in containers will now immediately fail instead of causing jobs to be enqueued that never go away.

ee33e53a70c0d3f9d8aeafe4b8fd84a0d5e1d8d9 11-Dec-2014 Torstein Husebø <torstein@huseboe.net>

core: correct spacing near eol in code comments

d2dc52dbc45051faa6356213a537081084e9dda4 02-Dec-2014 Lennart Poettering <lennart@poettering.net>

systemctl: show unit file preset state in "systemctl status" output"

b2dc4e44c540a30c5ea12a9a570425ceb310c320 28-Nov-2014 Michal Schmidt <mschmidt@redhat.com>

core: add log_unit_*_errno() macros

e2cc6eca73cd1df8be552d7c23f9ff3d69c06f1e 28-Nov-2014 Lennart Poettering <lennart@poettering.net>

log: fix order of log_unit_struct() to match other logging calls Also, while we are at it, introduce some syntactic sugar for creating ERRNO= and MESSAGE= structured logging fields.

79008bddf679a5e0900369950eb346c9fa687107 27-Nov-2014 Lennart Poettering <lennart@poettering.net>

log: rearrange log function naming - Rename log_meta() → log_internal(), to follow naming scheme of most other log functions that are usually invoked through macros, but never directly. - Rename log_info_object() to log_object_info(), simply because the object should be before any other parameters, to follow OO-style programming style.

/systemd/src/analyze/analyze-verify.c automount.c busname.c device.c execute.c job.c kmod-setup.c main.c manager.c mount.c path.c scope.c selinux-access.c service.c slice.c snapshot.c socket.c swap.c timer.c transaction.c unit.c unit.h /systemd/src/journal-remote/microhttpd-util.c /systemd/src/journal/test-journal-interleaving.c /systemd/src/libsystemd-network/dhcp-internal.h /systemd/src/libsystemd-network/dhcp-server-internal.h /systemd/src/libsystemd-network/dhcp6-internal.h /systemd/src/libsystemd-network/ipv4ll-internal.h /systemd/src/libsystemd-network/sd-icmp6-nd.c /systemd/src/libsystemd-terminal/idev-keyboard.c /systemd/src/modules-load/modules-load.c /systemd/src/network/networkd-address.c /systemd/src/network/networkd-dhcp4.c /systemd/src/network/networkd-ipv4ll.c /systemd/src/network/networkd-link.c /systemd/src/network/networkd-link.h /systemd/src/network/networkd-netdev-bond.c /systemd/src/network/networkd-netdev-macvlan.c /systemd/src/network/networkd-netdev-tunnel.c /systemd/src/network/networkd-netdev-tuntap.c /systemd/src/network/networkd-netdev-veth.c /systemd/src/network/networkd-netdev-vlan.c /systemd/src/network/networkd-netdev-vxlan.c /systemd/src/network/networkd-netdev.c /systemd/src/network/networkd-netdev.h /systemd/src/network/networkd.h /systemd/src/shared/env-util.c /systemd/src/shared/log.c /systemd/src/shared/log.h /systemd/src/sysv-generator/sysv-generator.c /systemd/src/udev/udev-builtin-kmod.c
086891e5c119abb9854237fc32e736fe2d67234c 27-Nov-2014 Lennart Poettering <lennart@poettering.net>

log: add an "error" parameter to all low-level logging calls and intrdouce log_error_errno() as log calls that take error numbers This change has two benefits: - The format string %m will now resolve to the specified error (or to errno if the specified error is 0. This allows getting rid of a ton of strerror() invocations, a function that is not thread-safe. - The specified error can be passed to the journal in the ERRNO= field. Now of course, we just need somebody to convert all cases of this: log_error("Something happened: %s", strerror(-r)); into thus: log_error_errno(-r, "Something happened: %m");

134e56dcc53970a20a858283650bb92cd5da1d17 06-Nov-2014 Lennart Poettering <lennart@poettering.net>

shared: rename condition-util.[ch] to condition.[ch] Now that we only have one file with condition implementations around, we can drop the -util suffix and simplify things a bit.

493657337ad8569e0998a3afa7d6fb357757364a 06-Nov-2014 Lennart Poettering <lennart@poettering.net>

core: get rid of condition.c and move the remaining call into util.c That way only one file with condition code remaining, in src/shared/, rather than src/core/. Next step: dropping the "-util" suffix from condition-util.[ch].

59fccdc587bc179c1638916ee16a24099f94f81f 06-Nov-2014 Lennart Poettering <lennart@poettering.net>

core: introduce the concept of AssertXYZ= similar to ConditionXYZ=, but fatal for a start job if not met

db2cb23b5b179707000d28a11efb3d888d06ee80 28-Oct-2014 Umut Tezduyar Lindskog <umut.tezduyar@axis.com>

core: send sigabrt on watchdog timeout to get the stacktrace if sigabrt doesn't do the job, follow regular shutdown routine, sigterm > sigkill.

f189ab18de69d3dee81117d7925fb370cd038f0f 28-Oct-2014 Lennart Poettering <lennart@poettering.net>

job: optionally, when a job timeout is hit, also execute a failure action

7c52a17b1a31eedd40093a4fbb460cf492087d9b 25-Oct-2014 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

Rearrange Unit to make pahole happy After all we have lots of those.

cb87a73b45503eaa6bead291423a529b00d27156 08-Oct-2014 Lukas Nykryn <lnykryn@redhat.com>

unit: move UnitDependency to unit-name

598459cebac7cc93089769a992e7b03287f77e12 19-Mar-2014 Lennart Poettering <lennart@poettering.net>

core: rework context initialization/destruction logic Let's automatically initialize the kill, exec and cgroup contexts of the various unit types when the object is constructed, instead of invididually in type-specific code. Also, when PrivateDevices= is set, set DevicePolicy= to closed.

085afe36cb823e7d5b8c5f3ef21ebb9639bac78b 24-Feb-2014 Lennart Poettering <lennart@poettering.net>

core: add global settings for enabling CPUAccounting=, MemoryAccounting=, BlockIOAccounting= for all units at once

bc432dc7eb62c5671f2b741a86a66393adb350dc 17-Feb-2014 Lennart Poettering <lennart@poettering.net>

core: rework cgroup mask propagation Previously a cgroup setting down tree would result in cgroup membership additions being propagated up the tree and to the siblings, however a unit could never lose cgroup memberships again. With this change we'll make sure that both cgroup additions and removals propagate properly.

a911bb9ab27ac0eb3bbf4e8b4109e5da9b88eee3 07-Feb-2014 Lennart Poettering <lennart@poettering.net>

core: watch SIGCHLD more closely to track processes of units with no reliable cgroup empty notifier When a process dies that we can associate with a specific unit, start watching all other processes of that unit, so that we can associate those processes with the unit too. Also, for service units start doing this as soon as we get the first SIGCHLD for either control or main process, so that we can follow the processes of the service from one to the other, as long as process that remain are processes of the ones we watched that died and got reassigned to us as parent. Similar, for scope units start doing this as soon as the scope controller abandons the unit, and thus management entirely reverts to systemd. To abandon a unit introduce a new Abandon() scope unit method call.

68db7a3bd9b2f8640c7297382b6d20eb995f7e1e 27-Jan-2014 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

core: add function to tell when job will time out Things will continue when either the job timeout or the unit timeout is reached. Add functionality to access that info.

aec8de63b14a93b91b85dc15bf879604352fbbe1 22-Dec-2013 Lennart Poettering <lennart@poettering.net>

core: no need to list properties for PropertiesChanged messages anymore Since the vtable includes this information anyway, let's just use that

e821075a23fdfa3ca7738fc30bb2d4c430fe10c0 02-Dec-2013 Lennart Poettering <lennart@poettering.net>

bus: add .busname unit type to implement kdbus-style bus activation

613b411c947635136637f8cdd66b94512f761eab 27-Nov-2013 Lennart Poettering <lennart@poettering.net>

service: add the ability for units to join other unit's PrivateNetwork= and PrivateTmp= namespaces

d420282b28f50720e233ccb1c02547c562195653 26-Nov-2013 Lennart Poettering <lennart@poettering.net>

core: replace OnFailureIsolate= setting by a more generic OnFailureJobMode= setting and make use of it where applicable

eeaedb7c26375352c32ec290cd716f2ff2dbe61a 25-Nov-2013 Lennart Poettering <lennart@poettering.net>

core: include following set data in dump

6414b7c981378a6eef480f6806d7cbfc98ca22a1 22-Nov-2013 David Strauss <david@davidstrauss.net>

cgroups: Cache controller masks and optimize queues.

718db96199eb307751264e4163555662c9a389fa 20-Nov-2013 Lennart Poettering <lennart@poettering.net>

core: convert PID 1 to libsystemd-bus This patch converts PID 1 to libsystemd-bus and thus drops the dependency on libdbus. The only remaining code using libdbus is a test case that validates our bus marshalling against libdbus' marshalling, and this dependency can be turned off. This patch also adds a couple of things to libsystem-bus, that are necessary to make the port work: - Synthesizing of "Disconnected" messages when bus connections are severed. - Support for attaching multiple vtables for the same interface on the same path. This patch also fixes the SetDefaultTarget() and GetDefaultTarget() bus calls which used an inappropriate signature. As a side effect we will now generate PropertiesChanged messages which carry property contents, rather than just invalidation information.

/systemd/Makefile.am /systemd/TODO automount.c automount.h dbus-automount.c dbus-automount.h dbus-cgroup.c dbus-cgroup.h dbus-client-track.c dbus-client-track.h dbus-device.c dbus-device.h dbus-execute.c dbus-execute.h dbus-job.c dbus-job.h dbus-kill.c dbus-kill.h dbus-manager.c dbus-manager.h dbus-mount.c dbus-mount.h dbus-path.c dbus-path.h dbus-scope.c dbus-scope.h dbus-service.c dbus-service.h dbus-slice.c dbus-slice.h dbus-snapshot.c dbus-snapshot.h dbus-socket.c dbus-socket.h dbus-swap.c dbus-swap.h dbus-target.c dbus-target.h dbus-timer.c dbus-timer.h dbus-unit.c dbus-unit.h dbus.c dbus.h device.c device.h job.c job.h load-fragment-gperf.gperf.m4 load-fragment.c main.c manager.c manager.h mount.c mount.h path.c path.h scope.c scope.h selinux-access.c selinux-access.h service.c service.h slice.c snapshot.c snapshot.h socket.c socket.h swap.c swap.h target.c timer.c timer.h transaction.c transaction.h unit.c unit.h /systemd/src/libsystemd-bus/bus-error.h /systemd/src/libsystemd-bus/bus-internal.h /systemd/src/libsystemd-bus/bus-introspect.c /systemd/src/libsystemd-bus/bus-introspect.h /systemd/src/libsystemd-bus/bus-message.c /systemd/src/libsystemd-bus/bus-objects.c /systemd/src/libsystemd-bus/bus-signature.c /systemd/src/libsystemd-bus/bus-util.c /systemd/src/libsystemd-bus/bus-util.h /systemd/src/libsystemd-bus/sd-bus.c /systemd/src/libsystemd-bus/sd-event.c /systemd/src/libsystemd-bus/test-bus-introspect.c /systemd/src/libsystemd-bus/test-bus-marshal.c /systemd/src/login/logind-dbus.c /systemd/src/login/logind-inhibit.c /systemd/src/login/logind-seat-dbus.c /systemd/src/login/logind-session-dbus.c /systemd/src/login/logind-session.c /systemd/src/login/logind.c /systemd/src/machine/machined-dbus.c /systemd/src/shared/bus-errors.h /systemd/src/shared/dbus-common.c /systemd/src/shared/dbus-common.h /systemd/src/shared/install.c /systemd/src/shared/install.h /systemd/src/shared/prioq.c /systemd/src/systemctl/systemctl.c /systemd/src/systemd/sd-bus.h /systemd/src/systemd/sd-event.h
9588bc32096fc8342bfd8b989689717186d7d86e 08-Nov-2013 Lennart Poettering <lennart@poettering.net>

Remove dead code and unexport some calls "make check-api-unused" informs us about code that is not used anymore or that is exported but only used internally. Fix these all over the place.

44b601bc79e46722bc0f0862ee0ce34a2284ef11 16-Oct-2013 Lennart Poettering <lennart@poettering.net>

macro: clean up usage of gcc attributes Always use our own macros, and name all our own macros the same style.

a57f7e2c828b852eb32fd810dcea041bb2975501 26-Sep-2013 Lennart Poettering <lennart@poettering.net>

core: rework how we match mount units against each other Previously to automatically create dependencies between mount units we matched every mount unit agains all others resulting in O(n^2) complexity. On setups with large amounts of mount units this might make things slow. This change replaces the matching code to use a hashtable that is keyed by a path prefix, and points to a set of units that require that path to be around. When a new mount unit is installed it is hence sufficient to simply look up this set of units via its own file system paths to know which units to order after itself. This patch also changes all unit types to only create automatic mount dependencies via the RequiresMountsFor= logic, and this is exposed to the outside to make things more transparent. With this change we still have some O(n) complexities in place when handling mounts, but that's currently unavoidable due to kernel APIs, and still substantially better than O(n^2) as before. https://bugs.freedesktop.org/show_bug.cgi?id=69740

b9ec9359369f224bfb13db616f97401a6a177bd8 11-Jul-2013 Lennart Poettering <lennart@poettering.net>

core: simplify drop-in writing logic a bit let's make use of some format string magic!

6c12b52e19640747e96f89d85422941a23dc6b29 01-Jul-2013 Lennart Poettering <lennart@poettering.net>

core: add new "scope" unit type for making a unit of pre-existing processes "Scope" units are very much like service units, however with the difference that they are created from pre-existing processes, rather than processes that systemd itself forks off. This means they are generated programmatically via the bus API as transient units rather than from static configuration read from disk. Also, they do not provide execution-time parameters, as at the time systemd adds the processes to the scope unit they already exist and the parameters cannot be applied anymore. The primary benefit of this new unit type is to create arbitrary cgroups for worker-processes forked off an existing service. This commit also adds a a new mode to "systemd-run" to run the specified processes in a scope rather then a transient service.

c2756a68401102786be343712c0c35acbd73d28d 28-Jun-2013 Lennart Poettering <lennart@poettering.net>

core: add transient units Transient units can be created via the bus API. They are configured via the method call parameters rather than on-disk files. They are subject to normal GC. Transient units currently may only be created for services (however, we will extend this), and currently only ExecStart= and the cgroup parameters can be configured (also to be extended). Transient units require a unique name, that previously had no configuration file on disk. A tool systemd-run is added that makes use of this functionality to run arbitrary command lines as transient services: $ systemd-run /bin/ping www.heise.de Will cause systemd to create a new transient service and run ping in it.

b42defe3b8ed3947d85db654a6cdb1b9999f394d 27-Jun-2013 Lennart Poettering <lennart@poettering.net>

dbus: make more cgroup attributes runtime settable

8e2af478402414f060bbc16e1b4bbe7de1779c13 27-Jun-2013 Lennart Poettering <lennart@poettering.net>

dbus: add infrastructure for changing multiple properties at once on units and hook some cgroup attributes up to it This introduces two bus calls to make runtime changes to selected bus properties, optionally with persistence. This currently hooks this up only for three cgroup atributes, but this brings the infrastructure to add more changable attributes. This allows setting multiple attributes at once, and takes an array rather than a dictionary of properties, in order to implement simple resetting of lists using the same approach as when they are sourced from unit files. This means, that list properties are appended to by this call, unless they are first reset via assigning the empty list.

4ad490007b70e6ac18d3cb04fa2ed92eba1451fa 27-Jun-2013 Lennart Poettering <lennart@poettering.net>

core: general cgroup rework Replace the very generic cgroup hookup with a much simpler one. With this change only the high-level cgroup settings remain, the ability to set arbitrary cgroup attributes is removed, so is support for adding units to arbitrary cgroup controllers or setting arbitrary paths for them (especially paths that are different for the various controllers). This also introduces a new -.slice root slice, that is the parent of system.slice and friends. This enables easy admin configuration of root-level cgrouo properties. This replaces DeviceDeny= by DevicePolicy=, and implicitly adds in /dev/null, /dev/zero and friends if DeviceAllow= is used (unless this is turned off by DevicePolicy=).

/systemd/Makefile.am /systemd/TODO cgroup-attr.c cgroup-attr.h cgroup-semantics.c cgroup-semantics.h cgroup.c cgroup.h dbus-cgroup.c dbus-cgroup.h dbus-execute.c dbus-execute.h dbus-manager.c dbus-mount.c dbus-service.c dbus-slice.c dbus-socket.c dbus-swap.c dbus-unit.c dbus-unit.h dbus.c execute.c execute.h load-fragment-gperf.gperf.m4 load-fragment.c load-fragment.h main.c manager.c manager.h mount.c mount.h service.c service.h slice.c slice.h socket.c socket.h special.h swap.c swap.h unit.c unit.h /systemd/src/login/logind-machine.c /systemd/src/login/logind-session.c /systemd/src/login/logind-user.c /systemd/src/shared/cgroup-label.c /systemd/src/shared/cgroup-show.c /systemd/src/shared/cgroup-util.c /systemd/src/shared/cgroup-util.h /systemd/src/shared/fileio.c /systemd/src/shared/mkdir.c /systemd/src/shared/mkdir.h /systemd/src/systemctl/systemctl.c /systemd/src/test/test-cgroup.c /systemd/units/-.slice /systemd/units/slices.target /systemd/units/system.slice
9444b1f20e311f073864d81e913bd4f32fe95cfd 20-Jun-2013 Lennart Poettering <lennart@poettering.net>

logind: add infrastructure to keep track of machines, and move to slices - This changes all logind cgroup objects to use slice objects rather than fixed croup locations. - logind can now collect minimal information about running VMs/containers. As fixed cgroup locations can no longer be used we need an entity that keeps track of machine cgroups in whatever slice they might be located. Since logind already keeps track of users, sessions and seats this is a trivial addition. - nspawn will now register with logind and pass various bits of metadata along. A new option "--slice=" has been added to place the container in a specific slice. - loginctl gained commands to list, introspect and terminate machines. - user.slice and machine.slice will now be pulled in by logind.service, since only logind.service requires this slice.

/systemd/Makefile.am /systemd/TODO /systemd/catalog/systemd.catalog /systemd/src/cgls/cgls.c cgroup.c dbus-manager.c dbus-unit.c manager.h service.c socket.c special.h unit-printf.c unit.c unit.h /systemd/src/login/loginctl.c /systemd/src/login/logind-dbus.c /systemd/src/login/logind-machine-dbus.c /systemd/src/login/logind-machine.c /systemd/src/login/logind-machine.h /systemd/src/login/logind-seat-dbus.c /systemd/src/login/logind-session-dbus.c /systemd/src/login/logind-session.c /systemd/src/login/logind-session.h /systemd/src/login/logind-user-dbus.c /systemd/src/login/logind-user.c /systemd/src/login/logind-user.h /systemd/src/login/logind.c /systemd/src/login/logind.h /systemd/src/login/sd-login.c /systemd/src/login/user-sessions.c /systemd/src/nspawn/nspawn.c /systemd/src/shared/cgroup-util.c /systemd/src/shared/cgroup-util.h /systemd/src/shared/unit-name.c /systemd/src/systemd/sd-bus.h /systemd/src/systemd/sd-messages.h /systemd/src/test/test-cgroup-util.c /systemd/units/machine.slice /systemd/units/system.slice /systemd/units/systemd-logind.service.in /systemd/units/user.slice
a016b9228f338cb9b380ce7e00826ef462767d98 17-Jun-2013 Lennart Poettering <lennart@poettering.net>

core: add new .slice unit type for partitioning systems In order to prepare for the kernel cgroup rework, let's introduce a new unit type to systemd, the "slice". Slices can be arranged in a tree and are useful to partition resources freely and hierarchally by the user. Each service unit can now be assigned to one of these slices, and later on login users and machines may too. Slices translate pretty directly to the cgroup hierarchy, and the various objects can be assigned to any of the slices in the tree.

44a6b1b68029833893f6e9cee35aa27a974038f6 03-May-2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

Add __attribute__((const, pure, format)) in various places I'm assuming that it's fine if a _const_ or _pure_ function calls assert. It is assumed that the assert won't trigger, and even if it does, it can only trigger on the first call with a given set of parameters, and we don't care if the compiler moves the order of calls.

automount.h cgroup-attr.h cgroup.h condition.h device.c device.h execute.c execute.h job.c job.h kill.h manager.h mount.c mount.h path.c path.h selinux-access.c service.c service.h snapshot.c snapshot.h socket.c socket.h swap.c swap.h target.c target.h timer.c timer.h transaction.c unit.c unit.h /systemd/src/journal/catalog.h /systemd/src/journal/fsprg.c /systemd/src/journal/fsprg.h /systemd/src/journal/journal-file.c /systemd/src/journal/journal-file.h /systemd/src/journal/journal-send.c /systemd/src/journal/journald-rate-limit.c /systemd/src/journal/journald-server.h /systemd/src/journal/journald-syslog.h /systemd/src/journal/lookup3.h /systemd/src/journal/mmap-cache.c /systemd/src/journal/sd-journal.c /systemd/src/login/logind-action.h /systemd/src/login/logind-session.h /systemd/src/login/logind-user.h /systemd/src/shared/calendarspec.c /systemd/src/shared/cgroup-util.c /systemd/src/shared/cgroup-util.h /systemd/src/shared/dbus-common.h /systemd/src/shared/env-util.c /systemd/src/shared/env-util.h /systemd/src/shared/exit-status.h /systemd/src/shared/hashmap.h /systemd/src/shared/install.h /systemd/src/shared/log.h /systemd/src/shared/logs-show.h /systemd/src/shared/pager.h /systemd/src/shared/path-lookup.h /systemd/src/shared/path-util.h /systemd/src/shared/prioq.c /systemd/src/shared/prioq.h /systemd/src/shared/socket-util.h /systemd/src/shared/strv.h /systemd/src/shared/time-util.h /systemd/src/shared/unit-name.h /systemd/src/shared/util.c /systemd/src/shared/util.h /systemd/src/shared/utmp-wtmp.c /systemd/src/shutdownd/shutdownd.c /systemd/src/systemctl/systemctl.c
b1e2b33c5258f1cefcee55116ac5d049478c804d 26-Apr-2013 Cristian Rodríguez <crrodriguez@opensuse.org>

Add some extra __attribute__ ((format)) s

31afa0a44c2d7f93d837c840cdbd623982ac165f 26-Apr-2013 Lennart Poettering <lennart@poettering.net>

unit: rework stop pending logic When a trigger unit wants to know if a stop is queued for it, we should just check precisely that and do not check whether it is actually stopped already. This is because we use these checks usually from state change calls where the state variables are not updated yet. This change splits unit_pending_inactive() into two calls unit_inactive_or_pending() and unit_stop_pending(). The former checks state and pending jobs, the latter only pending jobs.

78edb35ab4f4227485cb9ec816b43c37e0d5e62a 25-Apr-2013 Lennart Poettering <lennart@poettering.net>

cgroup: always validate cgroup controller names Let's better be safe than sorry.

3ecaa09bccd8a59c9f1e06756a1334a162206dc4 23-Apr-2013 Lennart Poettering <lennart@poettering.net>

unit: rework trigger dependency logic Instead of having explicit type-specific callbacks that inform the triggering unit when a triggered unit changes state, make this generic so that state changes are forwarded betwee any triggered and triggering unit. Also, get rid of UnitRef references from automount, timer, path units, to the units they trigger and rely exclsuively on UNIT_TRIGGER type dendencies.

e8e581bf256b8c0fbd430935af79fa0e8ee570a1 17-Apr-2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

Report about syntax errors with metadata The information about the unit for which files are being parsed is passed all the way down. This way messages land in the journal with proper UNIT=... or USER_UNIT=... attribution. 'systemctl status' and 'journalctl -u' not displaying those messages has been a source of confusion for users, since the journal entry for a misspelt setting was often logged quite a bit earlier than the failure to start a unit. Based-on-a-patch-by: Oleksii Shevchuk <alxchk@gmail.com>

ae7a7182da31371555fceb2aed609e40a64b900a 02-Apr-2013 Oleksii Shevchuk <alxchk@gmail.com>

Introspect and monitor dropin configuration

814cc562121270e2d5de0630b773792c74990a9c 13-Mar-2013 Michal Schmidt <mschmidt@redhat.com>

core: single unit_kill implementation for all unit types There are very few differences in the implementations of the kill method in the unit types that have one. Let's unify them. This does not yet unify unit_kill() with unit_kill_context().

49b1d377263f33991a03235779e50f61273ba649 28-Feb-2013 Michal Schmidt <mschmidt@redhat.com>

core: redefine unit_status_printf() Take advantage of the fact that almost all callers want to pass unit description as the last parameter. Those who don't can use the more flexible manager_status_printf().

25cee55076a7c00c0a584731c2705686cc843210 28-Feb-2013 Michal Schmidt <mschmidt@redhat.com>

core: add manager_status_printf() unit_status_printf() checks the state of the manager, not of the unit as such. Move it to manager.c and rename it to manager_status_printf(). Temporarily keep unit_status_printf as a wrapper macro.

26d04f86a36595e3565c74d67863e076c3e3c773 27-Feb-2013 Lennart Poettering <lennart@poettering.net>

unit: rework resource management API This introduces a new static list of known attributes and their special semantics. This means that cgroup attribute values can now be automatically translated from user to kernel notation for command line set settings, too. This also adds proper support for multi-line attributes.

cd2086fe6573df923dc53ef33998c9fff8c2bda5 26-Jan-2013 Lennart Poettering <lennart@poettering.net>

core: unify kill code of mount, service, socket, swap units

71645acac27da55d510f2e4d61cc61b4e5b93035 19-Jan-2013 Lennart Poettering <lennart@poettering.net>

unit: optionally allow making cgroup attribute changes persistent

bbc9006e6b5665073149331d75c104a33224dc19 18-Jan-2013 Mirco Tischler <mt-ml@gmx.de>

core: log USER_UNIT instead of UNIT if in user session

246aa6dd9dcea84bb945d16ec86e69f869dbb9b4 14-Jan-2013 Lennart Poettering <lennart@poettering.net>

core: add bus API and systemctl commands for altering cgroup parameters during runtime

fdf9f9bbe4dc3281bc8799e2a1f8709776c8cad8 06-Jan-2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

journal: new logging macros to include UNIT= Adding UNIT= to log lines allows them to be shown in 'systemctl status' output, etc. A new set of macros and functions is added. This allows for less verbose notation than using log_struct() explicitly. The set of logging functions is expanded to take a pair of arguments (e.g. "UNIT=" and the RHS) which add an extra line to the structured log entry. This can be used to add macros which add a different identifier later on.

01e10de3c2b9c2944bd86b12fab83d1164d0b64a 22-Dec-2012 Lennart Poettering <lennart@poettering.net>

socket: support socket activation of containers

8742514c1a1a5bc0f423da9101deb66115e187ff 25-Nov-2012 Lennart Poettering <lennart@poettering.net>

timer: recalculate next elapse for calendar timer units when the system clock is changed

36697dc0199e25f09b78090fcf5f1cf8a3648ffd 23-Nov-2012 Lennart Poettering <lennart@poettering.net>

timer: implement calendar time events

3ef63c317481c2b3f1fe39e1b0f130aac3544522 18-Sep-2012 Lennart Poettering <lennart@poettering.net>

unit-printf: before resolving exec context specifiers check whether the object actually has an exec context

41f9172f427bdbb8221c64029f78364b8dd4e527 18-Sep-2012 Lennart Poettering <lennart@poettering.net>

unit: split unit_printf() and friends into its own .c file

c53158818d8cdaf46b3f1b5299b9bda118a1043f 13-Sep-2012 Thomas Hindoe Paaboel Andersen <phomes@gmail.com>

man: fix a bunch of typos in docs https://bugs.freedesktop.org/show_bug.cgi?id=54501

85e9a1010d16064ce435b84f02dc585bc645aade 26-Jul-2012 Michal Sekletar <msekleta@redhat.com>

systemd: added new dependency PartOf This should address TODO item "new dependency type to "group" services in a target". Semantic of new dependency is as follows. Once configured it creates dependency which will cause that all dependent units get stopped if unit they all depend on is stopped or restarted. Usual use case would be configuring PartOf=some.target in template unit file and WantedBy=some.target in [Install] section and enabling desired number of instances. In this case starting one instance won't pull in target but stopping or starting target(in case of WantedBy is properly configured) will cause stop/start of all instances.

cba6e0627d659a33df31aaa74d0d701c4bc9f317 20-Jul-2012 Lennart Poettering <lennart@poettering.net>

units: apply default resource limits to socket/mount/swap processes too

c74f17d96cccd4cc998fd037cb92046930188c91 20-Jul-2012 Lennart Poettering <lennart@poettering.net>

core: drop KillMode parameter from KillUnit() bus call It made no sense, and since we are documenting the bus calls now and want to include them in our stability promise we really should get it cleaned up sooner, not later.

c2f1db8f83618e60dcded8303d14656d7d26b436 19-Jul-2012 Shawn Landden <shawnlandden@gmail.com>

use #pragma once instead of foo*foo #define guards #pragma once has been "un-deprecated" in gcc since 3.3, and is widely supported in other compilers. I've been using and maintaining (rebasing) this patch for a while now, as it annoyed me to see #ifndef fooblahfoo, etc all over the place, almost arrogant about the annoyance of having to define all these names to perform a commen but neccicary functionality, when a completely superior alternative exists. I havn't sent it till now, cause its kindof a style change, and it is bad voodoo to mess with style that has been established by more established editors. So feel free to lambast me as a crazy bafoon. v2 - preserve externally used headers

automount.h build.h bus-errors.h cgroup-attr.h cgroup.h condition.h dbus-automount.h dbus-device.h dbus-execute.h dbus-job.h dbus-manager.h dbus-mount.h dbus-path.h dbus-service.h dbus-snapshot.h dbus-socket.h dbus-swap.h dbus-target.h dbus-timer.h dbus-unit.h dbus.h device.h execute.h fdset.h hostname-setup.h ima-setup.h job.h kmod-setup.h load-dropin.h load-fragment.h locale-setup.h loopback-setup.h machine-id-setup.h manager.h mount-setup.h mount.h namespace.h path.h selinux-setup.h service.h snapshot.h socket.h special.h swap.h sysfs-show.h target.h tcpwrap.h timer.h umount.h unit.h /systemd/src/journal/compress.h /systemd/src/journal/journal-def.h /systemd/src/journal/journal-file.h /systemd/src/journal/journal-internal.h /systemd/src/journal/journal-rate-limit.h /systemd/src/journal/journald.h /systemd/src/journal/lookup3.h /systemd/src/login/logind-acl.h /systemd/src/login/logind-device.h /systemd/src/login/logind-seat.h /systemd/src/login/logind-session.h /systemd/src/login/logind-user.h /systemd/src/login/logind.h /systemd/src/readahead/readahead-common.h /systemd/src/shared/acl-util.h /systemd/src/shared/ask-password-api.h /systemd/src/shared/cgroup-util.h /systemd/src/shared/conf-parser.h /systemd/src/shared/dbus-common.h /systemd/src/shared/dbus-loop.h /systemd/src/shared/def.h /systemd/src/shared/exit-status.h /systemd/src/shared/hashmap.h /systemd/src/shared/install.h /systemd/src/shared/label.h /systemd/src/shared/list.h /systemd/src/shared/log.h /systemd/src/shared/logs-show.h /systemd/src/shared/macro.h /systemd/src/shared/missing.h /systemd/src/shared/pager.h /systemd/src/shared/path-lookup.h /systemd/src/shared/polkit.h /systemd/src/shared/ratelimit.h /systemd/src/shared/set.h /systemd/src/shared/socket-util.h /systemd/src/shared/spawn-ask-password-agent.h /systemd/src/shared/specifier.h /systemd/src/shared/strv.h /systemd/src/shared/unit-name.h /systemd/src/shared/utf8.h /systemd/src/shared/util.h /systemd/src/shared/utmp-wtmp.h /systemd/src/shared/virt.h /systemd/src/shared/watchdog.h
6b78f9b4354010f8af2fe48c783ffd52b2db8f57 18-Jul-2012 Lennart Poettering <lennart@poettering.net>

unit: don't serialize job state, only unit state across switch-root

e06c73cc91e02a1a3dffdb0976fef754f1109e74 16-Jul-2012 Lennart Poettering <lennart@poettering.net>

unit: set default working directory to the user's home directory when running in user mode

49f43d5f91a99b23f745726aa351d8f159774357 16-Jul-2012 Ville Skyttä <ville.skytta@iki.fi>

Spelling fixes.

d0bfe5243aa6fd9ccdd33fe3c9dfa0a08026d1ab 15-Jul-2012 Kay Sievers <kay@vrfy.org>

unit: avoid re-definition of enum for older gcc versions <koen> | ./src/shared/unit-name.h:29:23: error: redefinition of typedef 'UnitType' <koen> | ./src/core/unit.h:30:23: note: previous declaration of 'UnitType' was here

7f2cddae09fd2579ae24434df577bb5e5a157d86 13-Jul-2012 Lennart Poettering <lennart@poettering.net>

unit: rename BindTo= to BindsTo= all other dependencies are in 3rd person. Change BindTo= accordingly to BindsTo=. Of course, the dependency is widely used, hence we parse the old name too for compatibility.

f69614f811b133ececad4394e88f9549a017bd4e 10-Jul-2012 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

unit: Move UnitLoadState definitions from core/unit.c to shared/unit-name.c This makes it possible to use them from systemctl without linking against the core.

bcbe497e5a73d889e8799f8a3680c303afede347 10-Jul-2012 Lennart Poettering <lennart@poettering.net>

unit: get rid of UnitVTable.suffix, which is now unused

5f73969991fa765f2826975c0fc5e47438b5e9ea 10-Jul-2012 Lennart Poettering <lennart@poettering.net>

unit-name: remove unit_name_is_valid_no_type() and move unit_name_is_valid() to unit-name.h

0a9f8ed00c8f323d5bf24a9a11149a9342c0e1aa 10-Jul-2012 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

unit: Move UnitType definitions from core/unit.c to shared/unit-name.c This makes it possible to use them from systemctl without linking against the core. A string->enum lookup table is added.

1b64d026af01277e332d10d9e67e2eed5a4ded28 22-May-2012 Lennart Poettering <lennart@poettering.net>

units: remove service sysv_path variable and replace it by generic unit_path UnitPath= is also writable via native units and may be used by generators to clarify from which file a unit is generated. This patch also hooks up the cryptsetup and fstab generators to set UnitPath= accordingly.

49dbfa7b2b0bf3906704dac1eaeb4eba91056a19 21-May-2012 Lennart Poettering <lennart@poettering.net>

units: introduce new Documentation= field and make use of it everywhere 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.

/systemd/man/systemd.special.xml /systemd/man/systemd.unit.xml dbus-unit.c dbus-unit.h load-fragment-gperf.gperf.m4 load-fragment.c load-fragment.h unit.c unit.h /systemd/src/shared/util.c /systemd/src/shared/util.h /systemd/src/systemctl/systemctl.c /systemd/units/basic.target /systemd/units/bluetooth.target /systemd/units/cryptsetup.target /systemd/units/dev-hugepages.mount /systemd/units/dev-mqueue.mount /systemd/units/emergency.service.in /systemd/units/emergency.target /systemd/units/final.target /systemd/units/getty.target /systemd/units/getty@.service.m4 /systemd/units/graphical.target /systemd/units/halt.target /systemd/units/hibernate.target /systemd/units/http-daemon.target /systemd/units/kexec.target /systemd/units/local-fs-pre.target /systemd/units/local-fs.target /systemd/units/mail-transfer-agent.target /systemd/units/multi-user.target /systemd/units/network.target /systemd/units/nss-lookup.target /systemd/units/nss-user-lookup.target /systemd/units/poweroff.target /systemd/units/printer.target /systemd/units/proc-sys-fs-binfmt_misc.mount /systemd/units/reboot.target /systemd/units/remote-fs-pre.target /systemd/units/remote-fs.target /systemd/units/rescue.service.m4.in /systemd/units/rescue.target /systemd/units/rpcbind.target /systemd/units/serial-getty@.service.m4 /systemd/units/shutdown.target /systemd/units/sigpwr.target /systemd/units/sleep.target /systemd/units/smartcard.target /systemd/units/sockets.target /systemd/units/sound.target /systemd/units/suspend.target /systemd/units/swap.target /systemd/units/sysinit.target /systemd/units/syslog.socket /systemd/units/syslog.target /systemd/units/systemd-ask-password-console.path /systemd/units/systemd-ask-password-console.service.in /systemd/units/systemd-ask-password-plymouth.path /systemd/units/systemd-ask-password-plymouth.service.in /systemd/units/systemd-ask-password-wall.path /systemd/units/systemd-ask-password-wall.service.in /systemd/units/systemd-binfmt.service.in /systemd/units/systemd-hostnamed.service.in /systemd/units/systemd-initctl.service.in /systemd/units/systemd-initctl.socket /systemd/units/systemd-journald.service.in /systemd/units/systemd-journald.socket /systemd/units/systemd-localed.service.in /systemd/units/systemd-logind.service.in /systemd/units/systemd-modules-load.service.in /systemd/units/systemd-shutdownd.service.in /systemd/units/systemd-shutdownd.socket /systemd/units/systemd-sysctl.service.in /systemd/units/systemd-timedated-ntp.target /systemd/units/systemd-timedated.service.in /systemd/units/systemd-tmpfiles-clean.service.in /systemd/units/systemd-tmpfiles-clean.timer /systemd/units/systemd-tmpfiles-setup.service.in /systemd/units/systemd-udev-control.socket /systemd/units/systemd-udev-kernel.socket /systemd/units/systemd-udev-settle.service.in /systemd/units/systemd-udev-trigger.service.in /systemd/units/systemd-udev.service.in /systemd/units/systemd-update-utmp-runlevel.service.in /systemd/units/systemd-update-utmp-shutdown.service.in /systemd/units/systemd-vconsole-setup.service.in /systemd/units/time-sync.target /systemd/units/umount.target /systemd/units/user/default.target /systemd/units/user/exit.service.in /systemd/units/user/exit.target
c69182961b00707d977957cf81d5c41cfbeab429 14-May-2012 Michal Schmidt <mschmidt@redhat.com>

unit: unit type dependent status messages Instead of generic "Starting..." and "Started" messages for all unit use type-dependent messages. For example, mounts will announce "Mounting..." and "Mounted". Add status messages to units of types that used to be entirely silent (automounts, sockets, targets, devices). For unit types whose jobs are instantaneous, report only the job completion, not the starting event. Socket units with non-instantaneous jobs are rare (Exec*= is not used often in socket units), so I chose not to print the starting messages for them either. This will hopefully give people better understanding of the boot.

7c8fa05c4d5d01748ff2a04edb882afb3119b7d7 30-Apr-2012 Lennart Poettering <lennart@poettering.net>

unit: add new dependency type RequiresMountsFor= RequiresMountsFor= is a shortcut for adding requires and after dependencies to all mount units neeed for the specified paths. This solves a couple of issues regarding dep loop cycles for encrypted swap.

e0209d83e7b30153f43b1a633c955f66eb2c2e4a 25-Apr-2012 Michal Schmidt <mschmidt@redhat.com>

core: add NOP jobs, job type collapsing Two of our current job types are special: JOB_TRY_RESTART, JOB_RELOAD_OR_START. They differ from other job types by being sensitive to the unit active state. They perform some action when the unit is active and some other action otherwise. This raises a question: when exactly should the unit state be checked to make the decision? Currently the unit state is checked when the job becomes runnable. It's more sensible to check the state immediately when the job is added by the user. When the user types "systemctl try-restart foo.service", he really intends to restart the service if it's running right now. If it isn't running right now, the restart is pointless. Consider the example (from Bugzilla[1]): sleep.service takes some time to start. hello.service has After=sleep.service. Both services get started. Two jobs will appear: hello.service/start waiting sleep.service/start running Then someone runs "systemctl try-restart hello.service". Currently the try-restart operation will block and wait for sleep.service/start to complete. The correct result is to complete the try-restart operation immediately with success, because hello.service is not running. The two original jobs must not be disturbed by this. To fix this we introduce two new concepts: - a new job type: JOB_NOP A JOB_NOP job does not do anything to the unit. It does not pull in any dependencies. It is always immediately runnable. When installed to a unit, it sits in a special slot (u->nop_job) where it never conflicts with the installed job (u->job) of a different type. It never merges with jobs of other types, but it can merge into an already installed JOB_NOP job. - "collapsing" of job types When a job of one of the two special types is added, the state of the unit is checked immediately and the job type changes: JOB_TRY_RESTART -> JOB_RESTART or JOB_NOP JOB_RELOAD_OR_START -> JOB_RELOAD or JOB_START Should a job type JOB_RELOAD_OR_START appear later during job merging, it collapses immediately afterwards. Collapsing actually makes some things simpler, because there are now fewer job types that are allowed in the transaction. [1] Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=753586

39a18c60d07319ebfcfd476556729c2cadd616d6 24-Apr-2012 Michal Schmidt <mschmidt@redhat.com>

job: serialize jobs properly Jobs were not preserved correctly over a daemon-reload operation. A systemctl process waiting for a job completion received a job removal signal. The job itself changed its id. The job timeout started ticking all over again. This fixes the deficiencies.

5430f7f2bc7330f3088b894166bf3524a067e3d8 12-Apr-2012 Lennart Poettering <lennart@poettering.net>

relicense to LGPLv2.1 (with exceptions) 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.

/systemd/LICENSE.GPL2 /systemd/LICENSE.LGPL2.1 /systemd/LICENSE.MIT /systemd/Makefile.am /systemd/README /systemd/autogen.sh /systemd/configure.ac /systemd/man/binfmt.d.xml /systemd/man/custom-html.xsl /systemd/man/daemon.xml /systemd/man/halt.xml /systemd/man/hostname.xml /systemd/man/journalctl.xml /systemd/man/journald.conf.xml /systemd/man/locale.conf.xml /systemd/man/loginctl.xml /systemd/man/logind.conf.xml /systemd/man/machine-id.xml /systemd/man/machine-info.xml /systemd/man/modules-load.d.xml /systemd/man/os-release.xml /systemd/man/pam_systemd.xml /systemd/man/runlevel.xml /systemd/man/sd-daemon.xml /systemd/man/sd-login.xml /systemd/man/sd-readahead.xml /systemd/man/sd_booted.xml /systemd/man/sd_get_seats.xml /systemd/man/sd_is_fifo.xml /systemd/man/sd_listen_fds.xml /systemd/man/sd_login_monitor_new.xml /systemd/man/sd_notify.xml /systemd/man/sd_pid_get_session.xml /systemd/man/sd_readahead.xml /systemd/man/sd_seat_get_active.xml /systemd/man/sd_session_is_active.xml /systemd/man/sd_uid_get_state.xml /systemd/man/shutdown.xml /systemd/man/sysctl.d.xml /systemd/man/systemctl.xml /systemd/man/systemd-ask-password.xml /systemd/man/systemd-cat.xml /systemd/man/systemd-cgls.xml /systemd/man/systemd-cgtop.xml /systemd/man/systemd-machine-id-setup.xml /systemd/man/systemd-notify.xml /systemd/man/systemd-nspawn.xml /systemd/man/systemd-tmpfiles.xml /systemd/man/systemd.automount.xml /systemd/man/systemd.conf.xml /systemd/man/systemd.device.xml /systemd/man/systemd.exec.xml /systemd/man/systemd.journal-fields.xml /systemd/man/systemd.mount.xml /systemd/man/systemd.path.xml /systemd/man/systemd.service.xml /systemd/man/systemd.snapshot.xml /systemd/man/systemd.socket.xml /systemd/man/systemd.special.xml /systemd/man/systemd.swap.xml /systemd/man/systemd.target.xml /systemd/man/systemd.timer.xml /systemd/man/systemd.unit.xml /systemd/man/systemd.xml /systemd/man/telinit.xml /systemd/man/timezone.xml /systemd/man/tmpfiles.d.xml /systemd/man/vconsole.conf.xml /systemd/rules/99-systemd.rules.in /systemd/src/Makefile /systemd/src/ac-power.c /systemd/src/ask-password-api.c /systemd/src/ask-password.c /systemd/src/binfmt/binfmt.c /systemd/src/bridge.c /systemd/src/cgls.c /systemd/src/cgroup-show.c /systemd/src/cgroup-show.h /systemd/src/cgroups-agent.c /systemd/src/cgtop.c ask-password-api.h automount.c automount.h build.h bus-errors.h cgroup-attr.c cgroup-attr.h cgroup.c cgroup.h condition.c condition.h dbus-automount.c dbus-automount.h dbus-device.c dbus-device.h dbus-execute.c dbus-execute.h dbus-job.c dbus-job.h dbus-loop.h dbus-manager.c dbus-manager.h dbus-mount.c dbus-mount.h dbus-path.c dbus-path.h dbus-service.c dbus-service.h dbus-snapshot.c dbus-snapshot.h dbus-socket.c dbus-socket.h dbus-swap.c dbus-swap.h dbus-target.c dbus-target.h dbus-timer.c dbus-timer.h dbus-unit.c dbus-unit.h dbus.c dbus.h device.c device.h execute.c execute.h fdset.c fdset.h ima-setup.c ima-setup.h job.c job.h kmod-setup.c kmod-setup.h load-dropin.c load-dropin.h load-fragment.c load-fragment.h locale-setup.c locale-setup.h manager.c manager.h mount.c mount.h namespace.c namespace.h path.c path.h polkit.h selinux-setup.c selinux-setup.h service.c service.h snapshot.c snapshot.h socket.c socket.h special.h swap.c swap.h sysfs-show.h target.c target.h tcpwrap.c tcpwrap.h timer.c timer.h unit.c unit.h /systemd/src/cryptsetup/cryptsetup-generator.c /systemd/src/cryptsetup/cryptsetup.c /systemd/src/dbus-common.c /systemd/src/dbus-common.h /systemd/src/dbus-loop.c /systemd/src/def.h /systemd/src/detect-virt.c /systemd/src/fsck.c /systemd/src/getty-generator.c /systemd/src/hostname-setup.c /systemd/src/hostname-setup.h /systemd/src/hostname/hostnamed.c /systemd/src/hostname/org.freedesktop.hostname1.conf /systemd/src/hostname/org.freedesktop.hostname1.policy.in /systemd/src/hostname/org.freedesktop.hostname1.service /systemd/src/initctl.c /systemd/src/install.c /systemd/src/install.h /systemd/src/journal/cat.c /systemd/src/journal/compress.c /systemd/src/journal/compress.h /systemd/src/journal/coredump.c /systemd/src/journal/journal-def.h /systemd/src/journal/journal-file.c /systemd/src/journal/journal-file.h /systemd/src/journal/journal-internal.h /systemd/src/journal/journal-rate-limit.c /systemd/src/journal/journal-rate-limit.h /systemd/src/journal/journal-send.c /systemd/src/journal/journalctl.c /systemd/src/journal/journald.c /systemd/src/journal/journald.conf /systemd/src/journal/journald.h /systemd/src/journal/libsystemd-journal.pc.in /systemd/src/journal/libsystemd-journal.sym /systemd/src/journal/sd-journal.c /systemd/src/journal/test-journal-send.c /systemd/src/journal/test-journal.c /systemd/src/libsystemd-id128.pc.in /systemd/src/libsystemd-id128.sym /systemd/src/locale/localed.c /systemd/src/locale/org.freedesktop.locale1.conf /systemd/src/locale/org.freedesktop.locale1.policy.in /systemd/src/locale/org.freedesktop.locale1.service /systemd/src/login/70-uaccess.rules /systemd/src/login/71-seat.rules /systemd/src/login/73-seat-late.rules.in /systemd/src/login/libsystemd-login.pc.in /systemd/src/login/libsystemd-login.sym /systemd/src/login/loginctl.c /systemd/src/login/logind-acl.c /systemd/src/login/logind-acl.h /systemd/src/login/logind-dbus.c /systemd/src/login/logind-device.c /systemd/src/login/logind-device.h /systemd/src/login/logind-seat-dbus.c /systemd/src/login/logind-seat.c /systemd/src/login/logind-seat.h /systemd/src/login/logind-session-dbus.c /systemd/src/login/logind-session.c /systemd/src/login/logind-session.h /systemd/src/login/logind-user-dbus.c /systemd/src/login/logind-user.c /systemd/src/login/logind-user.h /systemd/src/login/logind.c /systemd/src/login/logind.conf /systemd/src/login/logind.h /systemd/src/login/multi-seat-x.c /systemd/src/login/org.freedesktop.login1.conf /systemd/src/login/org.freedesktop.login1.policy.in /systemd/src/login/org.freedesktop.login1.service /systemd/src/login/pam-module.c /systemd/src/login/sd-login.c /systemd/src/login/sysfs-show.c /systemd/src/login/test-login.c /systemd/src/login/uaccess.c /systemd/src/login/user-sessions.c /systemd/src/logs-show.c /systemd/src/logs-show.h /systemd/src/loopback-setup.c /systemd/src/loopback-setup.h /systemd/src/machine-id-main.c /systemd/src/machine-id-setup.c /systemd/src/machine-id-setup.h /systemd/src/main.c /systemd/src/missing.h /systemd/src/modules-load.c /systemd/src/mount-setup.c /systemd/src/mount-setup.h /systemd/src/notify.c /systemd/src/nspawn.c /systemd/src/org.freedesktop.systemd1.conf /systemd/src/org.freedesktop.systemd1.policy.in.in /systemd/src/org.freedesktop.systemd1.service /systemd/src/path-lookup.c /systemd/src/path-lookup.h /systemd/src/polkit.c /systemd/src/quotacheck.c /systemd/src/random-seed.c /systemd/src/rc-local-generator.c /systemd/src/readahead/readahead-collect.c /systemd/src/readahead/readahead-common.c /systemd/src/readahead/readahead-common.h /systemd/src/readahead/readahead-replay.c /systemd/src/remount-api-vfs.c /systemd/src/reply-password.c /systemd/src/sd-id128.c /systemd/src/shared/acl-util.c /systemd/src/shared/acl-util.h /systemd/src/shared/audit.c /systemd/src/shared/audit.h /systemd/src/shared/capability.c /systemd/src/shared/capability.h /systemd/src/shared/cgroup-label.c /systemd/src/shared/cgroup-util.c /systemd/src/shared/cgroup-util.h /systemd/src/shared/conf-parser.c /systemd/src/shared/conf-parser.h /systemd/src/shared/exit-status.c /systemd/src/shared/exit-status.h /systemd/src/shared/hashmap.c /systemd/src/shared/hashmap.h /systemd/src/shared/label.c /systemd/src/shared/label.h /systemd/src/shared/list.h /systemd/src/shared/log.c /systemd/src/shared/log.h /systemd/src/shared/macro.h /systemd/src/shared/mkdir.c /systemd/src/shared/mkdir.h /systemd/src/shared/pager.c /systemd/src/shared/pager.h /systemd/src/shared/ratelimit.c /systemd/src/shared/ratelimit.h /systemd/src/shared/set.c /systemd/src/shared/set.h /systemd/src/shared/socket-label.c /systemd/src/shared/socket-util.c /systemd/src/shared/socket-util.h /systemd/src/shared/strv.c /systemd/src/shared/strv.h /systemd/src/shared/utf8.c /systemd/src/shared/utf8.h /systemd/src/shared/util.c /systemd/src/shared/util.h /systemd/src/shared/virt.c /systemd/src/shared/virt.h /systemd/src/shutdown.c /systemd/src/shutdownd.c /systemd/src/spawn-ask-password-agent.c /systemd/src/spawn-ask-password-agent.h /systemd/src/spawn-polkit-agent.c /systemd/src/spawn-polkit-agent.h /systemd/src/specifier.c /systemd/src/specifier.h /systemd/src/sysctl.c /systemd/src/system.conf /systemd/src/systemctl.c /systemd/src/systemd-bash-completion.sh /systemd/src/systemd.pc.in /systemd/src/systemd/sd-id128.h /systemd/src/systemd/sd-journal.h /systemd/src/systemd/sd-login.h /systemd/src/systemd/sd-messages.h /systemd/src/systemd/sd-shutdown.h /systemd/src/test-cgroup.c /systemd/src/test-daemon.c /systemd/src/test-engine.c /systemd/src/test-env-replace.c /systemd/src/test-hostname.c /systemd/src/test-id128.c /systemd/src/test-install.c /systemd/src/test-job-type.c /systemd/src/test-loopback.c /systemd/src/test-ns.c /systemd/src/test-strv.c /systemd/src/test-watchdog.c /systemd/src/timedate/org.freedesktop.timedate1.conf /systemd/src/timedate/org.freedesktop.timedate1.policy.in /systemd/src/timedate/org.freedesktop.timedate1.service /systemd/src/timedate/timedated.c /systemd/src/timestamp.c /systemd/src/tmpfiles.c /systemd/src/tty-ask-password-agent.c /systemd/src/umount.c /systemd/src/umount.h /systemd/src/unit-name.c /systemd/src/unit-name.h /systemd/src/update-utmp.c /systemd/src/user.conf /systemd/src/utmp-wtmp.c /systemd/src/utmp-wtmp.h /systemd/src/vconsole/vconsole-setup.c /systemd/src/watchdog.c /systemd/src/watchdog.h /systemd/sysctl.d/coredump.conf.in /systemd/tmpfiles.d/legacy.conf /systemd/tmpfiles.d/systemd.conf /systemd/tmpfiles.d/tmp.conf /systemd/tmpfiles.d/x11.conf /systemd/units/basic.target /systemd/units/bluetooth.target /systemd/units/console-shell.service.m4.in /systemd/units/cryptsetup.target /systemd/units/dev-hugepages.mount /systemd/units/dev-mqueue.mount /systemd/units/emergency.service.in /systemd/units/emergency.target /systemd/units/fedora/halt-local.service /systemd/units/fedora/prefdm.service /systemd/units/fedora/rc-local.service /systemd/units/final.target /systemd/units/frugalware/display-manager.service /systemd/units/fsck-root.service.in /systemd/units/fsck@.service.in /systemd/units/getty.target /systemd/units/getty@.service.m4 /systemd/units/graphical.target /systemd/units/halt.service.in /systemd/units/halt.target /systemd/units/http-daemon.target /systemd/units/kexec.service.in /systemd/units/kexec.target /systemd/units/local-fs-pre.target /systemd/units/local-fs.target /systemd/units/mageia/prefdm.service /systemd/units/mail-transfer-agent.target /systemd/units/mandriva/prefdm.service /systemd/units/multi-user.target /systemd/units/network.target /systemd/units/nss-lookup.target /systemd/units/nss-user-lookup.target /systemd/units/plymouth-halt.service /systemd/units/plymouth-kexec.service /systemd/units/plymouth-poweroff.service /systemd/units/plymouth-quit-wait.service /systemd/units/plymouth-quit.service /systemd/units/plymouth-read-write.service /systemd/units/plymouth-reboot.service /systemd/units/plymouth-start.service /systemd/units/poweroff.service.in /systemd/units/poweroff.target /systemd/units/printer.target /systemd/units/proc-sys-fs-binfmt_misc.automount /systemd/units/proc-sys-fs-binfmt_misc.mount /systemd/units/quotacheck.service.in /systemd/units/quotaon.service /systemd/units/reboot.service.in /systemd/units/reboot.target /systemd/units/remote-fs-pre.target /systemd/units/remote-fs.target /systemd/units/remount-rootfs.service /systemd/units/rescue.service.m4.in /systemd/units/rescue.target /systemd/units/rpcbind.target /systemd/units/serial-getty@.service.m4 /systemd/units/shutdown.target /systemd/units/sigpwr.target /systemd/units/smartcard.target /systemd/units/sockets.target /systemd/units/sound.target /systemd/units/suse/halt-local.service /systemd/units/suse/rc-local.service /systemd/units/swap.target /systemd/units/sys-fs-fuse-connections.mount /systemd/units/sys-kernel-config.mount /systemd/units/sys-kernel-debug.mount /systemd/units/sysinit.target /systemd/units/syslog.socket /systemd/units/syslog.target /systemd/units/systemd-ask-password-console.path /systemd/units/systemd-ask-password-console.service.in /systemd/units/systemd-ask-password-plymouth.path /systemd/units/systemd-ask-password-plymouth.service.in /systemd/units/systemd-ask-password-wall.path /systemd/units/systemd-ask-password-wall.service.in /systemd/units/systemd-binfmt.service.in /systemd/units/systemd-hostnamed.service.in /systemd/units/systemd-initctl.service.in /systemd/units/systemd-initctl.socket /systemd/units/systemd-journald.service.in /systemd/units/systemd-journald.socket /systemd/units/systemd-localed.service.in /systemd/units/systemd-logind.service.in /systemd/units/systemd-modules-load.service.in /systemd/units/systemd-random-seed-load.service.in /systemd/units/systemd-random-seed-save.service.in /systemd/units/systemd-readahead-collect.service.in /systemd/units/systemd-readahead-done.service.in /systemd/units/systemd-readahead-done.timer /systemd/units/systemd-readahead-replay.service.in /systemd/units/systemd-remount-api-vfs.service.in /systemd/units/systemd-shutdownd.service.in /systemd/units/systemd-shutdownd.socket /systemd/units/systemd-sysctl.service.in /systemd/units/systemd-timedated.service.in /systemd/units/systemd-tmpfiles-clean.service.in /systemd/units/systemd-tmpfiles-clean.timer /systemd/units/systemd-tmpfiles-setup.service.in /systemd/units/systemd-update-utmp-runlevel.service.in /systemd/units/systemd-update-utmp-shutdown.service.in /systemd/units/systemd-user-sessions.service.in /systemd/units/systemd-vconsole-setup.service.in /systemd/units/time-sync.target /systemd/units/tmp.mount /systemd/units/umount.target /systemd/units/user/default.target /systemd/units/user/exit.service.in /systemd/units/user/exit.target /systemd/units/user@.service.in
b30e2f4c18ad81b04e4314fd191a5d458553773c 11-Apr-2012 Kay Sievers <kay@vrfy.org>

move libsystemd_core.la sources into core/

/systemd/Makefile.am /systemd/po/POTFILES.skip ask-password-api.h automount.c automount.h build.h bus-errors.h cgroup-attr.c cgroup-attr.h cgroup.c cgroup.h condition.c condition.h dbus-automount.c dbus-automount.h dbus-device.c dbus-device.h dbus-execute.c dbus-execute.h dbus-job.c dbus-job.h dbus-loop.h dbus-manager.c dbus-manager.h dbus-mount.c dbus-mount.h dbus-path.c dbus-path.h dbus-service.c dbus-service.h dbus-snapshot.c dbus-snapshot.h dbus-socket.c dbus-socket.h dbus-swap.c dbus-swap.h dbus-target.c dbus-target.h dbus-timer.c dbus-timer.h dbus-unit.c dbus-unit.h dbus.c dbus.h device.c device.h execute.c execute.h fdset.c fdset.h ima-setup.c ima-setup.h initreq.h job.c job.h kmod-setup.c kmod-setup.h load-dropin.c load-dropin.h load-fragment.c load-fragment.h locale-setup.c locale-setup.h manager.c manager.h mount.c mount.h namespace.c namespace.h path.c path.h polkit.h securebits.h selinux-setup.c selinux-setup.h service.c service.h snapshot.c snapshot.h socket.c socket.h spawn-agent.h special.h swap.c swap.h sysfs-show.h target.c target.h tcpwrap.c tcpwrap.h timer.c timer.h unit.c unit.h