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

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


Tag 'v201' created by Lennart Poettering <lennart at poettering.net> at 2013-04-08 22:25 -0700

systemd 201

Changes since v200:
Cristian Rodríguez (2):
      Always use our own MAX/MIN definitions
      journal: u64log2 can be expressed just as __builtin_clzll(n) ^ 63U

Dr. Tilmann Bubeck (1):
      Do no isolate in case of emergency or severe problems

Harald Hoyer (5):
      core/killall.c: prevent segfault and initialize pids
      cryptsetup-generator: add JobTimeoutSec=0 for the decrypted crypt devices
      test-bus-marshal.c: do not call g_type_init() for modern glib versions
      Do not serialize environment, when switching root
      udev/udev-ctrl.c:udev_ctrl_new_from_fd() enable SO_PASSCRED

Holger Hans Peter Freyther (3):
      util: Avoid memory allocations for formatting paths
      journald: Do not always record _AUDIT_SESSION and _AUDIT_LOGINUID
      journald: Do not dynamically allocate _UID/_GID/_PID strings

Kay Sievers (5):
      killall: print notice what we forcefully KILL
      TODO: update
      gitignore: update
      dbus-loop.c: fix variable initialization
      TODO: update

Kelly Anderson (1):
      build-sys: force Python to write UTF-8

Koen Kooi (1):
      bootctl: fix help text

Lennart Poettering (81):
      utmp: make gcc shut up, we need to pass an int here, not size_t
      update TODO
      units: fix network-online.target fields
      TODO
      unit: no need to export variables if we can avoid it
      udev: extern on functions is pointless
      dbus: let's make this const array static
      bus: add C++ wrappers to public header files
      bus: consider it an error if the first message we get on the bus is not a reply to HELLO
      bus: properly set up bus connections with sd_bus_set_exec()
      bus: enable SO_PASSCRED only if we are not connected to a bus
      bus: if we recieve fds but fd passing is off, consider this an error
      prioq: consider a NULL prioq empty
      bus: implement server mode, and anonymous authentication
      bus: add missing test-bus-server.c
      bus: parse matches locally and allow registration of callbacks for them
      bus: s/sd_message_handler_t/sd_bus_message_handler_t/g
      bus: rename sd_bus_get_peer() to sd_bus_get_server_id()
      journal-gatewayd: query PID 1 for virtalization
      bus: allow two different fds for input/output in sd_bus_set_fd()
      bus: fall back to readv/writev if recvmsg/sendmsg don't work
      bus: reuse sd_is_socket() call
      bus: when reading a message from the socket, make sure to note down the size
      bus: ignore the passed UID on EXTERNAL auth if ANONYMOUS is allowed
      bus: when the first char a server receives isn't the NUL byte immediately fail
      bus: be more careful when determining credential data
      bus: always return something in sd_bus_get_timeout()
      stdio-bridge: rework stdio bridge to use libsystemd-bus
      shutdown: correctly wait for processes we killed in the killall spree
      update TODO
      util: add a bit of syntactic sugar for saving/restoring errno
      macro: add macro for precisely determining length of decimal string formatting of a numeric type
      update TODO
      util: rename write_one_line_file() to write_string_file()
      util: rename parse_usec() to parse_sec() sinds the default unit is seconds
      shared: rework env file reader
      fileio: write proper env var write-out code
      fileio: don't check for errors more often than really necessary
      hostnamectl: if somebody invokes 'hostnamectl set-hostname' with a valid internet hostname unset the pretty name
      time: add suppot for fractional time specifications
      update TODO
      util: make time formatting a bit smarter
      util: add a bit of syntactic sugar to run short code fragments with a different umask
      util: tweak format_timespan() a bit
      journal: add public API call sd_journal_get_events()
      login: add new public API call sd_login_monitor_get_events() to get poll() flags to wait for
      update TODO
      login: add sd_login_monitor_get_timeout() public api call
      journal: add sd_journal_get_timeout() call to public API
      localectl: add support for listing X11 keymap information
      update TODO
      bus: don't allow recursive invocation of sd_bus_process()
      bus: properly detect and handle if a callback is installed/removed from within a callback
      bus: add convenience functions for constructing and sending method calls/signals in one call
      bus: use C99 struct construction for error initializers
      bus: make sure callback structs are always properly initialized
      bus: when parsing signature strings, accept NULL as empty signature
      bus: add convenience calls for method replies, too
      bus: convert a couple of calls over to new convenience functions
      bus: various improvements for test-bus-chat
      logind: consider key inhibitors that are taken by non-session processes as global
      build-sys: add new man pages to makefile
      build-sys: libsystemd-daemon.so is no longer required for pam_systemd
      systemctl: tweak output of Listen: fields a bit
      systemctl: tweak drop-in display
      cgtop: print absolute CPU times with format_timespan
      update TODO
      journald: get rid of one more memory allocation
      journald: drop two more memory allocations
      journald: no need to free audit vars
      cgroup: always keep access mode of 'tasks' and 'cgroup.procs' files in cgroup directories in sync
      man: be clearer that it's not OK to manipulate systemd's own cgroup hirearchy
      analyze: add missing --help text entries
      analyze: fix OOM handling + fix memory leak
      analyze: various cleanups
      cgroup: clean-ups
      update TODO
      journald: bring max coredump size in sync with max entry size
      shutdown: print a message when storage is finalized
      build-sys: prepare 201
      machine-id: fix missing initialization

Maksim Melnikau (1):
      cgtop --help: default depth is 3 not 2

Marc-Antoine Perennou (1):
      kernel-install: don't make unused parameter mandatory

Marius Vollmer (1):
      journal: Fix typo

Martin Pitt (1):
      PAM, uaccess: check for logind, not for systemd

Michal Schmidt (1):
      vconsole-setup: fix vconsole.conf vs. cmdline overriding logic

Oleksii Shevchuk (4):
      Add AllowIsolate=yes to snapshots
      Add Listen* to dbus properties
      Introspect and monitor dropin configuration
      systemctl: Add DropIn paths to status message

Ronny Chevalier (1):
      dbus-manager: fix variable type introspection

Simon McVittie (1):
      sd-daemon.c: allow use of -lrt to be avoided

Steven Hiscocks (1):
      systemd-python: fix wait bug

Thomas Weißschuh (2):
      cryptsetup: RequiresMountsFor if source is a file
      cryptsetup: add RequiresMountsFor for keyfile

Umut Tezduyar (1):
      cgtop: optionally show CPU usage as time and become stdout sensitive

Václav Pavlín (1):
      udev: check return value of uname.

Zbigniew Jędrzejewski-Szmek (52):
      build-sys: remove papersize option from sphinx
      utmp-wtmp: don't try to read past end of string
      bootchart: properly terminate string
      catalog: make sure strings are terminated
      catalog: open up catalog internals
      journalctl: support --root for message catalogs
      tests: add some silly tests for path-util.c
      journalctl: fix --update-catalog with not --root arg
      Always use errno > 0 to help gcc
      test-path-util: fix botched test
      test-path-util: fix another stupid test failure
      Revert "build-sys: substitute strings in systemd.unit(5)"
      build-sys: generate sed substitution from a list
      build-sys,man: use XML entities to substite strings
      Remove some dead code
      execute: convert secure bits into mask properly
      accelerometer: remove dead if and modernize
      nss-myhostname: use _cleanup_ and split function into two
      nspawn, machine-id-setup: warn if read-only mount call fails
      bus: check return value from bus_type_get_alignment/size
      journald: check return value of strappend
      bootchart: split out option parsing from main()
      bootchart: fix a potential buffer overrun
      strbuf: fix leak on memory error
      strbuf: replace quick sort with bubble sort
      Modernization
      tmpfiles: fix obscure leak in error path
      journalctl: reword error message
      activate: do not leak envp on error
      units/user: default.target must be isolatable
      Partially revert e62d8c394474
      core/socket: log errors when starting socket for this socket
      systemctl: align all status fields to common column
      shared/cgroup-show: fix leak of "pid"
      Replace s/Dropin/DropIn/
      nss-myhostname: do not use _cleanup_
      cgtop: add % as key to toggle time/percentage
      build-sys: "link" libsystemd-id128 against libsd-daemon-internal
      timedated: fix a few memory leaks
      efivars: un-leak a few strings
      udevadm-hwdb: avoid leak in error path
      sd-id128: check that the kernel is feeding us proper data
      systemctl: align cgroups to 'n' in 'name='
      test-catalog,core/load-dropin: remove unused variables
      test-strv: do not declare table to be sorted const
      build-sys: use LN_S in Makefile.am
      shell-completion: work on session shell is --user is used
      udev-builtin-usb_id: avoid comparison of unsigned and ssize_t
      udevadm: do not free node on success
      Use initalization instead of explicit zeroing
      Add _cleanup_globfree_
      Use _cleanup_ when reading config files

Łukasz Stelmach (1):
      systemd-analyze: filter dot output

---
 .gitignore                                          |    9 
 Makefile-man.am                                     |   23 
 Makefile.am                                         |  237 ++-
 NEWS                                                |   66 
 TODO                                                |   40 
 configure.ac                                        |    2 
 make-directive-index.py                             |   12 
 make-man-index.py                                   |   16 
 make-man-rules.py                                   |   24 
 man/.gitignore                                      |    3 
 man/journalctl.xml                                  |   14 
 man/localectl.xml                                   |   17 
 man/sd_journal_get_fd.xml                           |  183 +-
 man/sd_login_monitor_new.xml                        |   96 +
 man/systemd-analyze.xml                             |   56 
 man/systemd-cgtop.xml                               |   18 
 man/systemd.exec.xml                                |    7 
 man/systemd.unit.xml                                | 1332 ++++++++++++++++++++
 man/systemd.unit.xml.in                             | 1329 -------------------
 shell-completion/bash/systemctl                     |   66 
 shell-completion/systemd-zsh-completion.zsh         |    6 
 src/activate/activate.c                             |    8 
 src/analyze/systemd-analyze.c                       |  100 +
 src/ask-password/ask-password.c                     |    2 
 src/binfmt/binfmt.c                                 |    6 
 src/boot/bootctl.c                                  |    2 
 src/bootchart/bootchart.c                           |  126 -
 src/bootchart/store.c                               |   13 
 src/bootchart/svg.c                                 |   22 
 src/cgtop/cgtop.c                                   |  154 +-
 src/core/cgroup-attr.c                              |    2 
 src/core/cgroup.c                                   |    4 
 src/core/dbus-execute.c                             |    9 
 src/core/dbus-manager.c                             |    4 
 src/core/dbus-socket.c                              |   62 
 src/core/dbus-unit.c                                |    1 
 src/core/dbus-unit.h                                |    1 
 src/core/dbus.c                                     |    9 
 src/core/device.c                                   |    3 
 src/core/execute.c                                  |  112 -
 src/core/job.c                                      |   22 
 src/core/killall.c                                  |   90 -
 src/core/load-dropin.c                              |   59 
 src/core/load-dropin.h                              |    1 
 src/core/load-fragment-gperf.gperf.m4               |   16 
 src/core/load-fragment.c                            |   18 
 src/core/locale-setup.c                             |    4 
 src/core/loopback-setup.c                           |   93 -
 src/core/machine-id-setup.c                         |   94 -
 src/core/main.c                                     |   53 
 src/core/manager.c                                  |  185 +-
 src/core/manager.h                                  |    2 
 src/core/mount-setup.c                              |    2 
 src/core/mount.c                                    |   23 
 src/core/selinux-setup.c                            |    2 
 src/core/service.c                                  |    4 
 src/core/shutdown.c                                 |    2 
 src/core/snapshot.c                                 |    1 
 src/core/socket.c                                   |   28 
 src/core/socket.h                                   |    2 
 src/core/swap.c                                     |   10 
 src/core/timer.c                                    |    4 
 src/core/umount.c                                   |   24 
 src/core/unit.c                                     |   58 
 src/core/unit.h                                     |    2 
 src/cryptsetup/cryptsetup-generator.c               |   54 
 src/cryptsetup/cryptsetup.c                         |    7 
 src/fsck/fsck.c                                     |   13 
 src/fstab-generator/fstab-generator.c               |    2 
 src/hostname/hostnamectl.c                          |   35 
 src/hostname/hostnamed.c                            |   10 
 src/journal/catalog.c                               |  214 +--
 src/journal/catalog.h                               |   16 
 src/journal/coredump.c                              |    2 
 src/journal/journal-file.c                          |    2 
 src/journal/journal-gatewayd.c                      |   52 
 src/journal/journal-internal.h                      |    2 
 src/journal/journal-send.c                          |   94 -
 src/journal/journalctl.c                            |   63 
 src/journal/journald-gperf.gperf                    |    8 
 src/journal/journald-kmsg.c                         |    8 
 src/journal/journald-native.c                       |    6 
 src/journal/journald-rate-limit.c                   |   15 
 src/journal/journald-server.c                       |   69 -
 src/journal/journald-stream.c                       |    9 
 src/journal/journald-syslog.c                       |   33 
 src/journal/libsystemd-journal.sym                  |    6 
 src/journal/sd-journal.c                            |   62 
 src/journal/test-catalog.c                          |   98 +
 src/journal/test-journal-verify.c                   |    2 
 src/kernel-install/kernel-install                   |    6 
 src/libsystemd-bus/bus-control.c                    |  161 --
 src/libsystemd-bus/bus-control.h                    |   27 
 src/libsystemd-bus/bus-internal.c                   |   61 
 src/libsystemd-bus/bus-internal.h                   |   46 
 src/libsystemd-bus/bus-match.c                      |  991 ++++++++++++++
 src/libsystemd-bus/bus-match.h                      |   82 +
 src/libsystemd-bus/bus-message.c                    |   61 
 src/libsystemd-bus/bus-message.h                    |    4 
 src/libsystemd-bus/bus-socket.c                     |  649 +++++++--
 src/libsystemd-bus/bus-socket.h                     |    2 
 src/libsystemd-bus/sd-bus-protocol.h                |  145 --
 src/libsystemd-bus/sd-bus.c                         |  527 ++++++-
 src/libsystemd-bus/sd-bus.h                         |  168 --
 src/libsystemd-bus/test-bus-chat.c                  |  165 +-
 src/libsystemd-bus/test-bus-marshal.c               |    2 
 src/libsystemd-bus/test-bus-match.c                 |  114 +
 src/libsystemd-bus/test-bus-server.c                |  223 +++
 src/libsystemd-bus/test-bus-signature.c             |   31 
 src/libsystemd-daemon/sd-daemon.c                   |    8 
 src/libsystemd-id128/sd-id128.c                     |    3 
 src/libudev/libudev-util.c                          |    3 
 src/locale/localectl.c                              |  153 +-
 src/locale/localed.c                                |    8 
 src/login/libsystemd-login.sym                      |    6 
 src/login/loginctl.c                                |   10 
 src/login/logind-dbus.c                             |    4 
 src/login/logind-gperf.gperf                        |    4 
 src/login/logind-inhibit.c                          |   10 
 src/login/logind-session.c                          |    3 
 src/login/logind.c                                  |   38 
 src/login/pam-module.c                              |   34 
 src/login/sd-login.c                                |   27 
 src/login/test-login.c                              |   19 
 src/login/user-sessions.c                           |    2 
 src/nspawn/nspawn.c                                 |   19 
 src/nss-myhostname/netlink.c                        |  256 +--
 src/python-systemd/_reader.c                        |    6 
 src/python-systemd/journal.py                       |    3 
 src/readahead/readahead-collect.c                   |   26 
 src/readahead/readahead-common.c                    |    4 
 src/readahead/readahead.c                           |    2 
 src/remount-fs/remount-fs.c                         |    3 
 src/reply-password/reply-password.c                 |    6 
 src/shared/ask-password-api.c                       |   27 
 src/shared/calendarspec.c                           |    4 
 src/shared/capability.c                             |    2 
 src/shared/cgroup-label.c                           |   28 
 src/shared/cgroup-show.c                            |    9 
 src/shared/cgroup-util.c                            |   55 
 src/shared/conf-files.c                             |    2 
 src/shared/conf-files.h                             |    2 
 src/shared/conf-parser.c                            |   48 
 src/shared/conf-parser.h                            |    2 
 src/shared/dbus-common.c                            |    2 
 src/shared/dbus-loop.c                              |   38 
 src/shared/efivars.c                                |   15 
 src/shared/fileio-label.c                           |    4 
 src/shared/fileio-label.h                           |    2 
 src/shared/fileio.c                                 |  456 ++++--
 src/shared/fileio.h                                 |    6 
 src/shared/install.c                                |   24 
 src/shared/label.c                                  |    2 
 src/shared/log.c                                    |   74 -
 src/shared/macro.h                                  |   44 
 src/shared/path-util.h                              |    5 
 src/shared/prioq.c                                  |   20 
 src/shared/socket-util.c                            |    2 
 src/shared/strbuf.c                                 |   49 
 src/shared/time-util.c                              |  162 ++
 src/shared/time-util.h                              |    5 
 src/shared/unit-name.c                              |    4 
 src/shared/unit-name.h                              |    2 
 src/shared/util.c                                   |  304 ++--
 src/shared/util.h                                   |   42 
 src/shared/utmp-wtmp.c                              |   73 -
 src/shared/virt.c                                   |    3 
 src/shared/watchdog.c                               |    2 
 src/shutdownd/shutdownd.c                           |   43 
 src/sleep/sleep.c                                   |   10 
 src/stdio-bridge/stdio-bridge.c                     |  418 ++----
 src/sysctl/sysctl.c                                 |    2 
 src/systemctl/systemctl.c                           |  320 +++-
 src/systemd/sd-bus-protocol.h                       |  153 ++
 src/systemd/sd-bus.h                                |  183 ++
 src/systemd/sd-journal.h                            |    4 
 src/systemd/sd-login.h                              |    7 
 src/test/test-efivars.c                             |    4 
 src/test/test-fileio.c                              |  124 +
 src/test/test-path-util.c                           |   89 +
 src/test/test-strv.c                                |    2 
 src/test/test-time.c                                |  136 ++
 src/test/test-unit-file.c                           |   50 
 src/test/test-util.c                                |   11 
 src/timedate/timedatectl.c                          |    6 
 src/timedate/timedated.c                            |   57 
 src/tmpfiles/tmpfiles.c                             |  118 -
 src/tty-ask-password-agent/tty-ask-password-agent.c |   12 
 src/udev/accelerometer/accelerometer.c              |   35 
 src/udev/scsi_id/scsi_id.h                          |   18 
 src/udev/udev-builtin-net_id.c                      |    3 
 src/udev/udev-builtin-uaccess.c                     |    3 
 src/udev/udev-builtin-usb_id.c                      |   34 
 src/udev/udev-ctrl.c                                |    2 
 src/udev/udevadm-hwdb.c                             |   77 -
 src/udev/udevadm-trigger.c                          |    2 
 src/udev/udevd.c                                    |   10 
 src/update-utmp/update-utmp.c                       |    3 
 src/vconsole/vconsole-setup.c                       |   44 
 units/local-fs.target                               |    2 
 units/network-online.target                         |    4 
 units/user/default.target                           |    1 
 xml_helper.py                                       |   41 
 203 files changed, 8770 insertions(+), 4776 deletions(-)
---


More information about the systemd-commits mailing list