[systemd-commits] Changes to 'refs/tags/v8'

Kay Sievers kay at kemper.freedesktop.org
Sun Mar 24 14:35:34 PDT 2013


Tag 'v8' created by Lennart Poettering <lennart at poettering.net> at 2010-08-25 22:08 -0700

systemd 8

Changes since v7:
Kay Sievers (9):
      update fixme
      update fixme
      units: add var-run.service var-lock.service
      update fixme
      update fixme
      units: add missing After= for var-run.service, var-lock.service
      units: add tmp.mount
      update fixme
      systemd-remount-api-vfs.service: fix typo

Lennart Poettering (125):
      unit: rename OnlyByDependency= to RefuseManualStart= and introduce RefuseManualStop=
      conf: add commented default SysVConsole= value
      util: when replacing env vars replace unset envvars by nothing
      audit,utmp: implement audit logic and rip utmp stuff out of the main daemon and into a helper binary
      socket: disable GC for pre-allocated per-connection service until it is used
      unit: make sure a job for a service of type 'finish' succeeds if the process terminates cleanly
      utmp: enable systemd-update-utmp by default
      systemctl: beef up highlighting of service states a little
      audit: smaller fixes to audit hookup
      target: don't synthesize a runlevel property for targets anymore since we don't need it anymore and it is crutfy
      audit: initialize audit only if it is enabled
      audit: remove double header inclusion
      manager: serialize/deserialize startup time, too
      clang: fix numerous little issues found with clang-analyzer
      pahole: rearrange structs to make them smaller
      selinux: split off selinux calls into seperate file label.c
      gc: remove a lot of unused code
      dbus: properly pass capabilities
      main: disable nscd properly, if possible
      conf-parser: don't crash if an assignment is read before a section header
      dbus: fix capability serialization
      dbus: downgrade a few log messages
      main: log build time features on startup
      unit: don't show ENOENT configuration file warnings for units that are not essential
      audit: suppress repeated audit events when deserializing
      systemctl: at full stop after last message before shutting down
      plymouth: call plymouth quit before running the getty, not after
      unit: move prefdm after livesys
      systemctl: show sysv path if it is set if the fragment path isn't in systemctl status
      update fixme
      systemctl: when calling 'status' accept a PID
      cgroup: try harder to find a unit a PID belongs to by traversing through parent cgroups
      man: document new 'systemctl status PID' syntax
      unit: create three seperate plymouth service for halt/poweroff/reboot
      systemctl: properly detect whether taling to systemd via D-Bus worked before falling back to upstart/initctl
      update fixme
      service: rename Type=finish to Type=oneshot and allow multiple ExecStart= lines for oneshot services
      man: document that we now accept more than one main process for Type=oneshot services
      units: move runlevel[2-5] links to /lib because they are legacy and hence should not be as obviously in sight. The user may still override them by placing links in /etc
      units: move plymouth services from /etc to /lib since fedora does not support plymouth-less boots
      job: don't accidently access a job that doesn't exist anymore
      systemctl: sort 'list-units' output
      systemctl: skip writing of utmp if we booted using systemd, under the assumption that systemd-update-utmp is used
      random-seed: add little tool for saving/loading random seed on shutdown/boot, but don't enable it by default
      units: make sure plymouth shutdown screen is shown before we kill all processes/shut down
      units: X 1.8 doesn't need HAL anymore, so avoid synchronization on that
      units: write utmp record before we kill all processes
      units: don't require tty in rc-local.service
      emacs: make sure nobody accidently adds tabs to our sources
      random-seed: add missing random-seed.c file
      systemctl: add support for delayed shutdown, similar to sysv in style
      shutdownd: enable by default
      units: enable notify interface for internals services
      man: document new shutdown features
      shutdown: if now time argument is passed, imply +1 not +0
      systemctl: warn in intervals before going down when delayed shutdown is used
      systemctl: sort case-insensitively
      shutdown: fix socket type in .socket file
      util: use format_timestamp() instead of ctime() wherever possible
      util: properly detect ttyname_r() failing
      log: properly open log target in the various utilities
      shutdown: various fixes for handling of delayed shutdowns
      shutdownd: kill /etc/nologin file before we go down
      auto-getty: rework auto console getty logic to work in conjunction with single user mode
      load-fragment: make parser more forgiving
      device: be more verbose of udev confuses us
      log: print at to one target at max
      update fixme
      emacs: disable tabs in .h files, too
      update fixme
      nss: don't disable nscd anymore, since it doesn't make sense to socket-activate nscd anyway
      shutdown: drop -f/-F switches again, simply because we don't want to condone non-ro root dirs
      modprobe: kill support for nomodules
      systemctl: break output properly for 80ch terminals
      service: prefix descriptions when they come from legacy sources
      service: rename ValidNoProcess= to RemainAfterExit=
      units: fix conflicts between random seed services
      main: properly fallback to rescue.target if default.target is hosed
      update fixme
      units: add generic sysctl/hwclock-save service
      dbus: downgrade disconnection message
      update fixme
      udev: fix syntax
      udev: dm has been fixed in the meantime
      units: add hwclock-load service
      random-seed: honour kernel pool size when saving/restoring seed
      units: make sure getty at xxx.service is always run before gettys.target
      modules-load: add systemd-modules-load tool that can load a configured list of modules in /etc/modules.d/ on boot, replacing distro-dependent shell hacks for this
      update fixme
      hostname: on all distros make the name configured in /etc/hostname take precedence over distro-specific configuration
      hostname: if no hostname is configured use localhost
      kmod: downgrade modprobe log message for since ipv6 might be compiled as module for blacklisting
      units: fix After= setting in var-lock.service
      service: make sure sysv services marked as interactive in the LSB header get output on the TTY in all cases
      service/systemctl: don't consider LSB exit codes 5 and 6 as failure, and decode exit codes in systemctl
      dbus: follow standardized fdo PropertiesChanged signal spec
      selinux: properly query policy for FIFO files
      mount: properly handle LABEL="" in fstab
      remount: add tool that applies /etc/fstab mount options to all api mounts
      exit-status: add missing files src/exit-status.h src/exit-status.c
      units: add service file that remounts the root file system
      device: handle properly if two devices want to have the same name
      log: pass SCM_CREDENTIALS when logging to syslog
      mount: don't create depdency for device node of root fs, since it is always there
      syslog: add minimal syslog/kmsg bridge syslogd
      serial: use seperate getty template for serial ttys
      man: minor updates
      mount: add global configuration options for handling of auto mounts
      log: SCM_CREDENTIALS will be added by the kernel anyway, so there's no need to write them manually
      systemctl: add --sysv-compat
      systemctl: show timestamps for state changes
      systemctl: rename a few status lines
      utmp: write out runlevels 5 and 3 preferrably if multiples make sense, and S instead of 1
      units: invoke sulogin instead of /bin/sh
      units: make sure prefdm is automatically respawned
      utmp: document that the order of preference for runlevel numbers might be something to change in other distributions
      cgroup: mount cgroup file systems to /sys/fs/cgroup instead of /cgroup
      units: fix auto-serial unit
      sd-daemon: drop SCM_CREDENTIALS passing since it is redundant, the kernel fills this in anyway
      dbus: simplify some dbus error messages a bit
      update fixme
      mount: rework automatic mounting to follow the 'nofail' option in fstab
      update fixme
      mount: imply noauto for mount points configured with native mount files
      build-sys: prepare release v8

Matthias Clasen (1):
      dbus: small typo in introspection data

Tero Roponen (1):
      main: restore an accidentally removed 'else'

---
 .gitignore                                    |    8 
 Makefile.am                                   |  228 +++++++-
 configure.ac                                  |   39 +
 fixme                                         |   98 ++-
 man/daemon.xml                                |    2 
 man/sd_booted.xml                             |    6 
 man/shutdown.xml                              |   44 +
 man/systemctl.xml                             |    7 
 man/systemd-cgls.xml                          |    2 
 man/systemd.service.xml                       |   74 +-
 man/systemd.special.xml.in                    |   26 -
 man/systemd.unit.xml                          |   24 
 man/systemd.xml                               |   13 
 man/telinit.xml                               |    4 
 src/99-systemd.rules                          |    4 
 src/auto-serial-getty.c                       |  189 +++++++
 src/automount.c                               |    8 
 src/automount.h                               |    4 
 src/build.h                                   |   51 +
 src/bus-errors.h                              |    2 
 src/cgls.c                                    |    5 
 src/cgroup-show.c                             |    4 
 src/cgroup-show.h                             |    2 
 src/cgroup-util.c                             |   10 
 src/cgroup-util.h                             |    2 
 src/cgroup.c                                  |   22 
 src/cgroup.h                                  |    2 
 src/cgroups-agent.c                           |    5 
 src/conf-parser.c                             |    4 
 src/conf-parser.h                             |    7 
 src/dbus-automount.c                          |    3 
 src/dbus-automount.h                          |    2 
 src/dbus-common.c                             |   13 
 src/dbus-common.h                             |    4 
 src/dbus-device.c                             |    7 
 src/dbus-device.h                             |    3 
 src/dbus-execute.c                            |   14 
 src/dbus-execute.h                            |    4 
 src/dbus-job.c                                |   13 
 src/dbus-job.h                                |    2 
 src/dbus-manager.c                            |   46 +
 src/dbus-manager.h                            |    2 
 src/dbus-mount.c                              |   13 
 src/dbus-mount.h                              |    3 
 src/dbus-path.c                               |    3 
 src/dbus-path.h                               |    2 
 src/dbus-service.c                            |   20 
 src/dbus-service.h                            |    3 
 src/dbus-snapshot.c                           |    3 
 src/dbus-snapshot.h                           |    2 
 src/dbus-socket.c                             |   13 
 src/dbus-socket.h                             |    3 
 src/dbus-swap.c                               |    8 
 src/dbus-swap.h                               |    3 
 src/dbus-target.c                             |   26 -
 src/dbus-target.h                             |    2 
 src/dbus-timer.c                              |    8 
 src/dbus-timer.h                              |    3 
 src/dbus-unit.c                               |   65 ++
 src/dbus-unit.h                               |   12 
 src/dbus.c                                    |   51 +
 src/dbus.h                                    |   17 
 src/device.c                                  |   26 -
 src/device.h                                  |    6 
 src/execute.c                                 |  116 ----
 src/execute.h                                 |   77 ---
 src/exit-status.c                             |  145 +++++
 src/exit-status.h                             |   78 +++
 src/fdset.c                                   |    5 
 src/fdset.h                                   |    2 
 src/hashmap.c                                 |   11 
 src/hashmap.h                                 |    3 
 src/hostname-setup.c                          |   94 ++-
 src/hostname-setup.h                          |    2 
 src/initctl.c                                 |   20 
 src/job.c                                     |   51 -
 src/job.h                                     |    3 
 src/kmod-setup.c                              |    8 
 src/kmod-setup.h                              |    2 
 src/kmsg-syslogd.c                            |  545 +++++++++++++++++++++
 src/label.c                                   |  266 ++++++++++
 src/label.h                                   |   44 +
 src/list.h                                    |    2 
 src/load-dropin.c                             |    2 
 src/load-dropin.h                             |    2 
 src/load-fragment.c                           |  183 +++----
 src/load-fragment.h                           |    2 
 src/log.c                                     |   31 -
 src/log.h                                     |    2 
 src/logger.c                                  |   70 +-
 src/loopback-setup.c                          |    2 
 src/loopback-setup.h                          |    2 
 src/macro.h                                   |    2 
 src/main.c                                    |  113 +---
 src/manager.c                                 |  165 +++---
 src/manager.h                                 |   24 
 src/missing.h                                 |   14 
 src/modprobe-setup.c                          |   36 -
 src/modprobe-setup.h                          |   29 -
 src/modules-load.c                            |  167 ++++++
 src/mount-setup.c                             |   24 
 src/mount-setup.h                             |    2 
 src/mount.c                                   |  121 ++--
 src/mount.h                                   |    8 
 src/namespace.c                               |    5 
 src/namespace.h                               |    2 
 src/notify.c                                  |    3 
 src/org.freedesktop.systemd1.conf             |    4 
 src/pam-module.c                              |    2 
 src/path-lookup.c                             |    2 
 src/path-lookup.h                             |    2 
 src/path.c                                    |   11 
 src/path.h                                    |    2 
 src/random-seed.c                             |  134 +++++
 src/ratelimit.c                               |    2 
 src/ratelimit.h                               |    2 
 src/remount-api-vfs.c                         |  147 +++++
 src/sd-daemon.c                               |   23 
 src/sd-daemon.h                               |    2 
 src/service.c                                 |  225 +++++---
 src/service.h                                 |    8 
 src/set.c                                     |    9 
 src/set.h                                     |    2 
 src/shutdownd.c                               |  373 ++++++++++++++
 src/shutdownd.h                               |   45 +
 src/snapshot.c                                |    3 
 src/snapshot.h                                |    2 
 src/socket-util.c                             |    3 
 src/socket-util.h                             |   18 
 src/socket.c                                  |   49 +
 src/socket.h                                  |   30 -
 src/special.h                                 |    2 
 src/specifier.c                               |    2 
 src/specifier.h                               |    2 
 src/strv.c                                    |    2 
 src/strv.h                                    |    2 
 src/swap.c                                    |   38 +
 src/swap.h                                    |    9 
 src/system.conf                               |    5 
 src/systemadm.vala                            |   58 +-
 src/systemctl.c                               |  666 +++++++++++++++++++-------
 src/systemd-interfaces.vala                   |   46 +
 src/target.c                                  |   32 -
 src/target.h                                  |    4 
 src/tcpwrap.c                                 |    2 
 src/tcpwrap.h                                 |    2 
 src/test-cgroup.c                             |    4 
 src/test-daemon.c                             |    2 
 src/test-engine.c                             |    2 
 src/test-env-replace.c                        |    2 
 src/test-hostname.c                           |   37 +
 src/test-job-type.c                           |    2 
 src/test-loopback.c                           |    2 
 src/test-ns.c                                 |    2 
 src/timer.c                                   |   13 
 src/timer.h                                   |    9 
 src/unit-name.c                               |    2 
 src/unit-name.h                               |    2 
 src/unit.c                                    |   99 ++-
 src/unit.h                                    |   36 -
 src/update-utmp.c                             |  417 ++++++++++++++++
 src/util.c                                    |  424 ++++------------
 src/util.h                                    |   26 -
 src/utmp-wtmp.c                               |   25 
 src/utmp-wtmp.h                               |    2 
 test1/permissions.service                     |    2 
 units/.gitignore                              |   10 
 units/arch/halt.service                       |    4 
 units/arch/poweroff.service                   |    4 
 units/arch/rc-local.service                   |    2 
 units/arch/reboot.service                     |    4 
 units/arch/sysinit.service                    |    2 
 units/basic.target                            |    2 
 units/emergency.service                       |    2 
 units/fedora/halt.service                     |    4 
 units/fedora/killall.service                  |    6 
 units/fedora/plymouth-halt.service            |   22 
 units/fedora/plymouth-poweroff.service        |   22 
 units/fedora/plymouth-quit.service            |    4 
 units/fedora/plymouth-reboot.service          |   22 
 units/fedora/plymouth-shutdown.service        |   21 
 units/fedora/poweroff.service                 |    4 
 units/fedora/prefdm.service                   |    4 
 units/fedora/rc-local.service                 |    4 
 units/fedora/reboot.service                   |    4 
 units/fedora/single.service                   |    2 
 units/fedora/sysinit.service                  |    2 
 units/gentoo/halt.service                     |    4 
 units/gentoo/killall.service                  |    6 
 units/gentoo/poweroff.service                 |    4 
 units/gentoo/reboot.service                   |    4 
 units/getty at .service.m4                       |    8 
 units/hwclock-load.service                    |   31 +
 units/hwclock-save.service                    |   18 
 units/remount-rootfs.service                  |   20 
 units/serial-getty at .service.m4                |   37 +
 units/session/exit.service.in                 |    2 
 units/shutdown.target                         |    2 
 units/suse/halt.service                       |    4 
 units/suse/poweroff.service                   |    4 
 units/suse/reboot.service                     |    4 
 units/sysctl.service                          |   20 
 units/sysinit.target.m4                       |    2 
 units/systemd-auto-serial-getty.service.in    |   16 
 units/systemd-initctl.service.in              |    1 
 units/systemd-initctl.socket                  |    1 
 units/systemd-kmsg-syslogd.service.in         |   16 
 units/systemd-kmsg-syslogd.socket             |   20 
 units/systemd-logger.service.in               |    2 
 units/systemd-logger.socket                   |    3 
 units/systemd-modules-load.service.in         |   20 
 units/systemd-random-seed-load.service.in     |   20 
 units/systemd-random-seed-save.service.in     |   19 
 units/systemd-remount-api-vfs.service.in      |   20 
 units/systemd-shutdownd.service.in            |   16 
 units/systemd-shutdownd.socket                |   16 
 units/systemd-update-utmp-runlevel.service.in |   17 
 units/systemd-update-utmp-shutdown.service.in |   16 
 units/tmp.mount                               |   19 
 units/umount.target                           |    2 
 units/var-lock.service                        |   21 
 units/var-run.service                         |   21 
 222 files changed, 5605 insertions(+), 1850 deletions(-)
---


More information about the systemd-commits mailing list