[systemd-commits] stable Changes to 'refs/tags/v190'

Zbigniew Jędrzejewski-Szmek zbyszek at kemper.freedesktop.org
Sat Mar 8 20:39:47 PST 2014


Tag 'v190' created by Lennart Poettering <lennart at poettering.net> at 2012-09-20 21:19 -0700

systemd 190

Changes since v189:
Allin Cottrell (1):
      journald: add missing includes

Auke Kok (1):
      load-fragment: Expand specifiers in conditions.

Brandon Philips (1):
      shared: logs-show: fflush after each output type

Colin Guthrie (6):
      pam: Add session class to the debug log.
      logind: If all user sessions are in closing state, set the overall status to closing.
      logind: Properly list the ACTIVE_SEATS in the user session tracking file.
      logind: Add a two new variables to the user session tracking file.
      logind: Ensure the user, seat and session files are updated when the session is closing.
      logind: Avoid unnecesary rewrite of user file when switching sessions of the same user.

Colin Walters (1):
      update-utmp: Don't error out on runlevel updates if utmp doesn't exist

Daniel J Walsh (1):
      selinux: add bus service access control

Dave Reisner (5):
      build-sys: perform autodetection of quota-tools binaries
      tmpfiles: support globbing for w option
      tmpfiles: plug file descriptor leak.
      socket: prevent signed integer overflow
      tmpfiles: use write(2) for the 'w' action

Eelco Dolstra (1):
      daemon: Fix broken links to sd-daemon.c

Jan Engelhardt (1):
      build-sys: require certain version of libselinux

Kay Sievers (5):
      update TODO
      update TODO
      udev: add btrfs support
      hwclock: always set the kernel's timezone
      libudev: remove dead code

Lennart Poettering (136):
      shared: in code that might get called from suid programs use __secure_getenv() rather than getenv()
      journal: generate structured journal messages for a number of events
      journal: suppress structured messages if they'd go to the console
      shutdown: don't attempt read-only mounts in a container
      swap: refuse start/stop of swaps in container
      swap: don't try to shutdown swaps on shutdown in a container
      unit: make sure structured logging is available before we enter the main boot phase
      journal: don't pull in flush service from journald service
      util: make path_is_mount_point() recognize bind mounts, too
      readahead: a bit of reformatting
      journalctl: include logs from PID 1 about services in systemctl status
      main: jointly mount more controllers
      update TODO -- hackfest edition
      update TODO
      missing: define name_to_handle_at on our own if it is missing
      nspawn: mount a clean instance of sysfs
      nspawn: skip mounts if already mounted
      path-util: in path_is_mount_point() fall back to the classic stat() test if fs does not support name_to_handle_at()
      path: fix invalid variable access in path_is_mount_point()
      nspawn: if a file system comes pre-mounted, still do the read-only remounts
      nspawn: generate a new randomized boot ID for each container
      journalctl: rework JSON output mode
      nspawn: don't provide /dev/rtc0 in the container
      shutdown: remove explicit sync() invocations
      shutdown: in containers, invoke reboot(2), too. Then fallback to exit() if CAP_SYS_BOOT is missing
      nspawn: handle poweroff/reboot nicely in containers
      journalctl: replace --local by --merge, i.e. don't interleave remote journals by default
      journalctl: show "Reboot" markers in output only when showing local-only entries
      systemctl: properly build flags for show_journal_by_unit()
      tmpfiles: don't attempt creation of device nodes when we run in a container
      man: document that ExecStart= doesn't understand shell command lines
      localed: system-setup-keyboard is no more on fedora
      journald: avoid logging to kmsg in the normal paths
      main: fix syntax of net_prio cgroup controller
      journal: add call to determine current journal file disk usage
      journald: make splitting up of journal files per-user configurable
      build-sys: add libsystemd-id128-internal.la as dep to libsystemd-core.la
      dbus: minor coding style fixes
      inhibit: close all fds when invoking inhibited tool
      unit: don't allow units to be gc'ed that still are referenced via UnitRef
      journald: detect invalid header pointers correctly
      selinux: close stdin/stdout/stderr before loading selinux policy
      journald: don't complain if fss key does not exist
      journald: don't do debug logging by default
      man: document that assignemnts of devices to seats are persistent
      update TODO
      update TODO
      when determining unit file list, include invalid unit names in an "invalid" state
      condition: add ConditionFileNotEmpty=
      update TODO
      journal: don't set seal flag if we don't have gcrypt built-in
      unit-name: rework unit_name_replace_instance function()
      login: reshuffle meaning of require_active parameter
      test: extend unit-name test a bit
      systemctl: direct the user to list-unit-files from the list-units output
      journalctl: print QR code only if we are running on an UTF-8 system
      readahead: use 20K instead of 16K as temporary request nr bump
      python: integrate David Strauss' python-systemd package
      python: change license to LGPL 2.1
      python: reindent to follow coding style
      python: fix error handling, and allocate argument array on the stack
      journald: don't reposition window if we don't have to
      journal: never assert directly on data read from the journal
      update TODO
      journal: fix 128bit IDs of unit reload entries
      manager: extend performance measurement interface to include firmware/loader times
      manager: fix the build
      python: make gcc shut up
      man: reword logind.conf.xml a bit
      rpm: expose preset dir as rpm macro and in systemd.pc
      macro: introduce _cleanup_free_ macro for automatic freeing of scoped vars and make use of it
      systemctl: minor coding style fixes
      test: split of cryptsetup into its own test
      util: modernize a few functions with automatic cleanup variables
      util: various additional modernizations
      util: more modernizations
      systemctl: show unit name when a job fails
      timedate: assorted improvements
      timedated: make /etc/timezone a Debian-only thing
      man: mention journalctl in the systemd man page
      man: update localtime(5) a bit
      update TODO
      TODO: isolate items to fix before F18
      update TODO
      logind: make sure there's always a getty available on TTY6
      update TODO
      service: don't hit an assert if a service unit changes type and we get a spurious event from before
      journald: properly update perms on freshly rotate user journals
      main: bump up RLIMIT_NOFILE for systemd itself
      main: when transitioning from initrd to the main system log to kmsg
      utmp: read the right timestamp
      git: update .gitignore
      util: various cleanups for printing boot status
      main: newer kernels return EINVAL if we invoke reboot() in a container lacking perms, deal with it
      logind: make VT reservation logic compatible with containers
      conf-parser: don't unescape parsed configuration strings by default
      log: avoid function loop
      journald: log when we fail to forward messages to syslog
      logind: split up inhibit acquire policy
      Update TODO
      util: introduce get_process_gid()
      selinux: prefer source path over fragment path
      selinux: use existing library calls for audit data
      selinux: rework method tail, make it into a nulstr array
      execute: apply PAM logic only to main process if PermissionsStartOnly is set
      target: imply default ordering for PartsOf deps as well
      journalctl: don't choke on entries with no MESSAGE= field
      unit: fix %f resolving
      unit: split unit_printf() and friends into its own .c file
      unit-printf: before resolving exec context specifiers check whether the object actually has an exec context
      unit-printf: add specifiers for the host name, machine id, boot id
      mount: don't mount securityfs in a container
      update TODO
      mount: notify the user if we over-mount a non-empty directory
      automount: also whine if an automount directory is not empty
      mount: reword directory empty warning a bit
      journal: when comparing two entries from separate files make sure we reposition the mmap window
      logind: rework power key/suspend key/lid switch handling
      man: document new inhibitor types
      logind: properly parse handle-lid-switch inhibitor
      logind: if a lid-switch lock was taken while the lid was closed, recheck lid status when the lock is released
      update TODO
      timedated: unregister the right bus service
      path: support specifier resolvin in .path units
      util: fix bad strstrip() return value in normalize_env_assignment()
      util: define union dirent_storage and make use of it everywhere
      journald: don't accept arbitrarily sized journal data fields
      util: make sure heap allocators fail when array allocations are out of bounds
      util: overflow hardening
      util: fix overflow checks
      build-sys: prepare v190
      update TODO
      fix typos
      typo fix
      timedated: /etc/sysconfig/clock is dead on Fedora, remove it
      update TODO

Lucas De Marchi (1):
      build-sys: Append -Werror when testing flags

Lukas Nykryn (6):
      load-fragment: initialize bool invert before use
      login: check return of parse_pid and parse_uid
      core: free word later in parse_proc_cmdline
      readahead-analyze: don't call fclose on null
      hashmap: hashmap_contains does not need hashmap_entry
      sd-journal: return null when mmap_cache_new fails

Mantas MikulÄ—nas (2):
      path-util: do not fail in path_is_mountpoint() if path doesn't exist
      path-util: fall back to stat() if kernel does not support name_to_handle_at()

Martin Pitt (1):
      keymaps: Add "e" key for Acer Aspire 5720

Matthias Clasen (1):
      Make systemd-inhibit --list work

Michael Olbrich (1):
      journal: don't try to compress without XZ

Pierre Schmitz (1):
      nspawn: Fix minor typo in man page

Shawn Landden (2):
      timedated: gather timezone from /etc/localtime sym target
      man: remove timezone(5) and add localtime(5)

Thomas Hindoe Paaboel Andersen (5):
      man: fix a bunch of typos in docs
      man: fix typos in halt.xml and journalctl.xml
      docs: typo fixes in logind.conf.xml and os-release.xml
      docs: typo fixes in pam_systemd.xml
      docs: typos in loginctl.xml

Tom Gundersen (1):
      util: rm_rf_children_dangerous: delete all descendants dangerously

Václav Pavlín (1):
      install: append .service when enable/disable... is called

Yin Kangkai (1):
      journal: add HAVE_XZ check to avoid build failure

Zbigniew Jędrzejewski-Szmek (19):
      build-sys: xsltproc is required for man pages and gtk-doc
      logind: redefine idleness to start at last activity
      install: treat non-existent directory as empty
      install: use automatic cleanup
      nspawn: mount tmpfs on /dev/shm
      nspawn: use automatic cleanup
      nspawn: _cleanup_free_ more
      nspawn: use automatic cleanup for umask
      nspawn: fix memleak introduced with automatic cleanup
      build-sys: __secure_getenv lost dunder in libc 2.17
      man: generate an index of directives
      directive-index: add UDEV fields
      directive-index: system manager directives
      directive-index: journal directives
      core: move ManagerRunningAs to shared
      systemctl: use automatic cleanup
      systemctl: use automatic cleanup once more
      systemctl: properly report success
      systemctl: warn about triggering units only at the end

---
 .gitignore                                 |    2 
 Makefile.am                                |  126 +++++-
 NEWS                                       |  127 ++++++
 TODO                                       |  149 +++----
 configure.ac                               |   59 ++
 keymaps/acer-aspire_5720                   |    1 
 m4/attributes.m4                           |    2 
 make-directive-index.py                    |  131 ++++++
 make-man-index.py                          |   18 
 man/.gitignore                             |    1 
 man/bootup.xml                             |    2 
 man/crypttab.xml                           |    8 
 man/daemon.xml                             |   10 
 man/halt.xml                               |   15 
 man/journalctl.xml                         |   39 +
 man/journald.conf.xml                      |   30 +
 man/kernel-command-line.xml                |    2 
 man/locale.conf.xml                        |    2 
 man/localtime.xml                          |   96 ++++
 man/loginctl.xml                           |   16 
 man/logind.conf.xml                        |  150 ++++---
 man/os-release.xml                         |    2 
 man/pam_systemd.xml                        |    6 
 man/sd-daemon.xml                          |    2 
 man/sd-journal.xml                         |    4 
 man/sd_booted.xml                          |    2 
 man/sd_is_fifo.xml                         |    2 
 man/sd_journal_get_usage.xml               |  104 ++++
 man/sd_journal_print.xml                   |    2 
 man/sd_listen_fds.xml                      |    2 
 man/sd_notify.xml                          |    2 
 man/sd_seat_get_active.xml                 |    2 
 man/sd_uid_get_state.xml                   |   17 
 man/systemctl.xml                          |    6 
 man/systemd-inhibit.xml                    |   24 -
 man/systemd-nspawn.xml                     |    4 
 man/systemd-timedated.service.xml          |    2 
 man/systemd.conf.xml                       |    4 
 man/systemd.device.xml                     |    4 
 man/systemd.exec.xml                       |    6 
 man/systemd.journal-fields.xml             |   68 +--
 man/systemd.service.xml                    |   23 -
 man/systemd.socket.xml                     |    8 
 man/systemd.unit.xml                       |   39 +
 man/systemd.xml                            |    2 
 man/timezone.xml                           |   90 ----
 man/tmpfiles.d.xml                         |    5 
 rules/64-btrfs.rules                       |   13 
 src/analyze/systemd-analyze                |    8 
 src/core/automount.c                       |    5 
 src/core/bus-errors.h                      |    1 
 src/core/cgroup.c                          |    2 
 src/core/condition.c                       |   10 
 src/core/condition.h                       |    1 
 src/core/dbus-manager.c                    |   46 +-
 src/core/dbus-unit.c                       |   15 
 src/core/dbus.c                            |   35 -
 src/core/dbus.h                            |    2 
 src/core/execute.c                         |    2 
 src/core/hostname-setup.c                  |    3 
 src/core/job.c                             |  124 +++++
 src/core/load-fragment.c                   |   49 +-
 src/core/macros.systemd.in                 |    1 
 src/core/main.c                            |  144 +++++-
 src/core/manager.c                         |  153 ++++---
 src/core/manager.h                         |   19 
 src/core/mount-setup.c                     |   37 +
 src/core/mount.c                           |   14 
 src/core/path.c                            |    8 
 src/core/selinux-access.c                  |  605 +++++++++++++++++++++++++++++
 src/core/selinux-access.h                  |   28 +
 src/core/selinux-setup.c                   |    1 
 src/core/service.c                         |   20 
 src/core/shutdown.c                        |   50 +-
 src/core/socket.c                          |   10 
 src/core/swap.c                            |   19 
 src/core/system.conf                       |    2 
 src/core/systemd.pc.in                     |    2 
 src/core/target.c                          |   24 -
 src/core/timer.c                           |    4 
 src/core/transaction.c                     |    2 
 src/core/umount.c                          |   10 
 src/core/unit-printf.c                     |  346 ++++++++++++++++
 src/core/unit-printf.h                     |   28 +
 src/core/unit.c                            |  380 +++++-------------
 src/core/unit.h                            |   14 
 src/delta/delta.c                          |    5 
 src/journal/journal-authenticate.c         |   24 -
 src/journal/journal-authenticate.h         |    2 
 src/journal/journal-file.c                 |   86 ++--
 src/journal/journal-send.c                 |    2 
 src/journal/journal-vacuum.c               |    7 
 src/journal/journal-verify.c               |    6 
 src/journal/journalctl.c                   |   81 ++-
 src/journal/journald-console.c             |    1 
 src/journal/journald-gperf.gperf           |    2 
 src/journal/journald-kmsg.c                |    3 
 src/journal/journald-native.c              |   11 
 src/journal/journald-stream.c              |    1 
 src/journal/journald-syslog.c              |   30 +
 src/journal/journald-syslog.h              |    2 
 src/journal/journald.c                     |   49 +-
 src/journal/journald.conf                  |    1 
 src/journal/journald.h                     |   17 
 src/journal/libsystemd-journal.sym         |    5 
 src/journal/lookup3.c                      |    2 
 src/journal/mmap-cache.c                   |    2 
 src/journal/sd-journal.c                   |   78 ++-
 src/libudev/libudev-device.c               |    2 
 src/libudev/libudev-private.h              |    1 
 src/libudev/libudev-util.c                 |   20 
 src/libudev/libudev.c                      |    3 
 src/locale/localed.c                       |   40 -
 src/login/inhibit.c                        |   31 -
 src/login/logind-button.c                  |  190 +++------
 src/login/logind-button.h                  |   15 
 src/login/logind-dbus.c                    |   69 ++-
 src/login/logind-gperf.gperf               |   24 -
 src/login/logind-inhibit.c                 |   77 ++-
 src/login/logind-inhibit.h                 |    7 
 src/login/logind-seat.c                    |   19 
 src/login/logind-session.c                 |   31 +
 src/login/logind-user.c                    |   41 +
 src/login/logind.c                         |   95 +++-
 src/login/logind.conf                      |   10 
 src/login/logind.h                         |    7 
 src/login/org.freedesktop.login1.policy.in |   74 +++
 src/login/pam-module.c                     |    4 
 src/login/sd-login.c                       |   19 
 src/nspawn/nspawn.c                        |  528 +++++++++++++------------
 src/python-systemd/Makefile                |    1 
 src/python-systemd/__init__.py             |   18 
 src/python-systemd/_journal.c              |  141 ++++++
 src/python-systemd/journal.py              |  116 +++++
 src/readahead/readahead-analyze.c          |    3 
 src/readahead/readahead-collect.c          |    4 
 src/readahead/readahead-common.c           |   28 -
 src/shared/conf-files.c                    |    5 
 src/shared/conf-parser.c                   |    2 
 src/shared/dbus-common.c                   |   39 +
 src/shared/dbus-common.h                   |    3 
 src/shared/hashmap.c                       |   13 
 src/shared/hwclock.c                       |   15 
 src/shared/hwclock.h                       |    4 
 src/shared/install.c                       |   67 +--
 src/shared/install.h                       |    1 
 src/shared/log.c                           |  169 ++++++--
 src/shared/log.h                           |   66 ++-
 src/shared/logs-show.c                     |  120 +++--
 src/shared/logs-show.h                     |   10 
 src/shared/macro.h                         |    6 
 src/shared/missing.h                       |   43 ++
 src/shared/path-lookup.c                   |   14 
 src/shared/path-lookup.h                   |   12 
 src/shared/path-util.c                     |   62 ++
 src/shared/path-util.h                     |    2 
 src/shared/unit-name.c                     |   38 -
 src/shared/util.c                          |  520 ++++++++++--------------
 src/shared/util.h                          |   45 +-
 src/sleep/sleep.c                          |   26 +
 src/systemctl/systemctl.c                  |  263 +++++++-----
 src/systemd/sd-daemon.h                    |    2 
 src/systemd/sd-id128.h                     |    1 
 src/systemd/sd-journal.h                   |    2 
 src/systemd/sd-messages.h                  |   35 +
 src/test/test-engine.c                     |    2 
 src/test/test-env-replace.c                |   16 
 src/test/test-log.c                        |   46 ++
 src/test/test-unit-file.c                  |   52 ++
 src/test/test-unit-name.c                  |   44 ++
 src/timedate/timedated.c                   |  122 +++--
 src/tmpfiles/tmpfiles.c                    |  150 +++----
 src/udev/udev-builtin-btrfs.c              |   57 ++
 src/udev/udev-builtin.c                    |    2 
 src/udev/udev.h                            |    2 
 src/udev/udevadm-test-builtin.c            |    5 
 src/udev/udevd.c                           |    2 
 src/update-utmp/update-utmp.c              |    8 
 test/.gitignore                            |    2 
 test/TEST-01-BASIC/test.sh                 |   37 -
 test/TEST-02-CRYPTSETUP/Makefile           |    1 
 test/TEST-02-CRYPTSETUP/test.sh            |  264 ++++++++++++
 test/test-functions                        |    2 
 units/.gitignore                           |    1 
 units/quotaon.service                      |   19 
 units/quotaon.service.in                   |   19 
 units/systemd-journald.service.in          |    2 
 units/systemd-quotacheck.service.in        |    2 
 units/systemd-timedated.service.in         |    2 
 189 files changed, 5776 insertions(+), 2358 deletions(-)
---


More information about the systemd-commits mailing list