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

Lennart Poettering lennart at kemper.freedesktop.org
Thu Jul 19 16:21:02 PDT 2012


Tag 'v187' created by Lennart Poettering <lennart at poettering.net> at 2012-07-20 00:20 -0700

systemd 187

Changes since v186:
Auke Kok (2):
      MeeGo: Remove build support for MeeGo distribution.
      unit: printf specifiers %u and %h: $USER and $HOME.

Eelco Dolstra (1):
      journalctl: fix assertion failure in ellipsize_mem()

Harald Hoyer (3):
      main: only reopen /dev/console if we switch-root to a custom init
      Makefile.am: MKDIR_P man for man/index.html
      Makefile.am: fixed dependencies for man/index.html

Kay Sievers (21):
      udev: ata_id - fixup all 8 not only 6 bytes of the fw_rev string
      udev: add some O_CLOEXEC
      udev: network device renaming - immediately give up if the target name isn't available
      udev: never touch device nodes with symlink requests
      update TODO
      udev: avoid creating /dev/kmsg with fopen() to support CONFIG_PRINTK=n
      rules: fix typo in 42-usb-hid-pm.rules
      journal: avoid re-definition of enums for older gcc versions
      journal: align byte-buffer that gets cased to an object
      aquire_terminal(): fix uninitialized variable
      build-sys: fix "make distcheck"
      unit: avoid re-definition of enum for older gcc versions
      update TODO
      intltool: skip the intermediate file in case it remains, not the source file
      udev: get rid of TEST_PREFIX and use unshare() to fake /sys, /dev, /run
      make-man-index.py: pretty-print HTML
      build-sys: distcheck - add seccomp*.h to SOURCES
      Revert "keymap: add --version option"
      man: html - cross-ref man page references and add Index link
      udev: firmware - do not cancel requests in the initrd
      build-sys: fix variable assignment

Lennart Poettering (122):
      readahead: fix calculation of percentage
      man: explain StartLimitRate= in conjunction with Restart= a bit better
      man: clarify that StartLimitInterval= also applies to manual starts
      service: flush the start counter in "systemctl reset-failed"
      man: document Restart= a bit more
      man: update man pages to reflect the driver= to load-modules= rename
      man: document libsystemd-id128
      man: document sd_print() and friends
      man: explain why people should/shouldn't use sd_journal_print()
      paranoia: refuse rm_rf("/")
      update TODO
      update TODO
      update TODO
      update TODO
      update TODO
      unit-name: remove unit_name_is_valid_no_type() and move unit_name_is_valid() to unit-name.h
      unit: get rid of UnitVTable.suffix, which is now unused
      update TODO
      util: add extra safety check to in_initrd()
      util: rm_rf() refuse cleaning non-memory file systems, as extra paranoia
      update TODO
      switch-root: reopen /dev/console before we switch root
      update TODO
      selinux: turn of libselinux' internal logging
      update TODO
      journald: use "persistent", not "permanent" as storage option
      update TODO
      journal: introduce sd_journal_wait() to simplify writing synchronous clients
      journal: rework directory enumeration/watch logic
      journalctl: add a marker to log output for reboots
      journal: replace implicit flushing of journal by explicit one
      update TODO
      build-sys: avoid duplicate inclusion of log.c in tools
      journal: fix interleaving of files with different time sources
      journal: fix bisection logic for first entry
      journal: fix bad memory access
      journal: fix seeking by realtime/seqnum
      journal: check fields we search for more carefully
      journal: beef up journal matches considerably
      update TODO
      journal: properly export sd_journal_add_disjunction()
      man: move header file man pages from section 7 to 3
      man: document sd_journal_stream_fd()
      man: fix man page chapter in Makefile.am
      util: rename join() to strjoin()
      test: hook up more tests with make check
      util: temporarily ignore SIGHUP while we are issuing TIOCSTTY
      core: go on a killing spree when transitioning from initrd to main system
      container: when shutting down in a container don't detach loop devices
      log: correct usage of logging API at a few places
      man: document sd_journal_open()
      man: document sd_journal_next()
      man: document sd_journal_get_data() and friends
      man: document sd_journal_get_realtime_usec()
      man: document sd_journal_get_cutoff_realtime_usec()
      man: document sd_journal_get_cursor()
      man: document sd_journal_get_fd()
      man: forgot sd_journal_get_fd() man page
      build-sys: clean man pages when building them
      man: suppress man page dates/authors in generated pages
      man: fix various typos
      shutdown: add missing include
      man: document sd_journal_add_match()
      man: document sd_journal_seek_head()
      build-sys: don't install sd-readahead.h as include file, but as documentation
      man: Split sd_randomize(3) from sd_id128_get_{machine,boot}(3)
      man: add man page aliases for all macros/types too
      unit: rename BindTo= to BindsTo=
      build-sys: fix build
      util: add getusername_malloc(), get_shell(), get_home_dir()
      unit: introduce %s specifier for the user shell
      unit: set default working directory to the user's home directory when running in user mode
      min: generate an index page for all man pages
      man: show man page summary in index, too
      man: reword man page titles
      man: set description in italics in the index
      build-sys: make building of index.html fail sensibly
      man: include number of man pages in index page
      core: fix name of dbus call parameter
      man: actually generate h2 headers for letters in index as we meant to
      journald: don't enforce monotonicity of realtime clocks when copying entries
      journal: use tail/head timestamps from header for cutoff logic
      journal: automatically rotate journal files if the data hash table is full > 75%
      journal: immediately rotate when the journal was previously not closed properly
      journal: size journal data hash table based on maximum file size metrics
      journalctl: decode more header files in --header
      journal: actually set archived files to archived state
      execute: support syscall filtering using seccomp filters
      execute: free syscall filter array after use
      build-sys: use C preprocessor for key list, too
      update TODO
      switch-root: don't wait for processes
      NEWS: correct NTP implementation data
      unit: don't serialize job state, only unit state across switch-root
      service: make start jobs wait, not fail, when an automatic restart is queued
      units: don't enforce a holdoff time for journald, logind, udevd
      service: don't print a warning if we are in autorestart state, and can't start a unit just yet
      journald: fix bad memory access
      update TODO
      journald: fix another bad memory access
      journal: estimate data hash table size a bit larger by default
      journal: when we suggest a rotation, explain why
      journal: don't complain if the syslog forwarder socket doesn't exist
      journal: remove all of /run/log/journal when serializing, since the machine ID might deviate
      nspawn: introduce new --link-journal= switch to link container journals into host
      journald: don't choke on journal files with no cutoff date
      nspawn: generate proper error messages in the child
      killall: avoid gcc warning about wait name clash
      manager: use a private notify sockets in containers to avoid problems with shared abstract socket namespaces
      journal: follow symlinks when enumerating journals
      journal: rotate busy files away when we try to write to them
      journal: when watching directories actually watch the directories asked for
      journal: allow watching symlinked journal dirs
      man: fix sysctl.d(5) man page copy/paste mistake
      journald: upgrade signal reception message to INFO
      units: fix section of man page link in systemd-logind.service
      man: add reference to export format spec to journalctl
      unit: split off KillContext from ExecContext containing only kill definitions
      core: drop KillMode parameter from KillUnit() bus call
      units: apply default resource limits to socket/mount/swap processes too
      build-sys: prepare 187
      build-sys: bump revision of libudev too

Malte Starostik (1):
      mount: fix for complex automounts

Paul Menzel (3):
      man/tmpfiles.d.xml: Add missing full stop
      man/sd-id128: Fix typos, grammar and wording
      man/sd-id128: Fix endian*n*ess

Rex Tsai (1):
      keymap: Add Dell Latitude force-release quirk

Shawn Landden (1):
      use #pragma once instead of foo*foo #define guards

Tom Gundersen (1):
      cryptsetup: add keyfile-offset= support

Ville Skyttä (1):
      Spelling fixes.

Zbigniew Jędrzejewski-Szmek (14):
      unit: Move UnitType definitions from core/unit.c to shared/unit-name.c
      systemctl: check the argument to -t for invalid values
      unit: Move UnitLoadState definitions from core/unit.c to shared/unit-name.c
      systemctl: filter shown units by their load state
      journalctl: show any printable Unicode character
      build-sys: automake needs to know about generated files
      gitignore: tags files
      systemd: add --version option
      keymap: add --version option
      logs: Adapt interface in log-show.c (output_journal)
      logs: Adapt interface in log-show.c (show_journal_by_unit)
      journalctl: do not ellipsize when using pager
      build-sys: use .DELETE_ON_ERROR
      build-sys: put all BUILT_SOURCES in CLEANFILES

---
 .gitignore                                          |    4 
 Makefile.am                                         |  393 ++++-
 NEWS                                                |   70 +
 README                                              |    2 
 TODO                                                |   75 -
 configure.ac                                        |   17 
 make-man-index.py                                   |   76 +
 man/bootup.xml                                      |    4 
 man/crypttab.xml                                    |   12 
 man/custom-html.xsl                                 |   21 
 man/daemon.xml                                      |    8 
 man/journalctl.xml                                  |   94 +
 man/journald.conf.xml                               |   10 
 man/kernel-command-line.xml                         |    6 
 man/locale.conf.xml                                 |    2 
 man/machine-id.xml                                  |    6 
 man/sd-daemon.xml                                   |   12 
 man/sd-id128.xml                                    |  170 ++
 man/sd-journal.xml                                  |  125 +
 man/sd-login.xml                                    |    6 
 man/sd-readahead.xml                                |    4 
 man/sd_booted.xml                                   |    6 
 man/sd_get_seats.xml                                |    2 
 man/sd_id128_get_machine.xml                        |  138 ++
 man/sd_id128_randomize.xml                          |  118 +
 man/sd_id128_to_string.xml                          |  131 +
 man/sd_is_fifo.xml                                  |    4 
 man/sd_journal_add_match.xml                        |  189 ++
 man/sd_journal_get_cursor.xml                       |  122 +
 man/sd_journal_get_cutoff_realtime_usec.xml         |  142 ++
 man/sd_journal_get_data.xml                         |  200 ++
 man/sd_journal_get_fd.xml                           |  163 ++
 man/sd_journal_get_realtime_usec.xml                |  146 ++
 man/sd_journal_next.xml                             |  214 +++
 man/sd_journal_open.xml                             |  184 ++
 man/sd_journal_print.xml                            |  224 +++
 man/sd_journal_seek_head.xml                        |  173 ++
 man/sd_journal_stream_fd.xml                        |  171 ++
 man/sd_listen_fds.xml                               |    7 
 man/sd_login_monitor_new.xml                        |    3 
 man/sd_notify.xml                                   |    6 
 man/sd_pid_get_session.xml                          |    2 
 man/sd_readahead.xml                                |    4 
 man/sd_seat_get_active.xml                          |    4 
 man/sd_session_is_active.xml                        |    2 
 man/sd_uid_get_state.xml                            |    2 
 man/sysctl.d.xml                                    |    2 
 man/systemctl.xml                                   |   34 
 man/systemd-ask-password-console.service.xml        |    3 
 man/systemd-delta.xml                               |    2 
 man/systemd-fstab-generator.xml                     |    2 
 man/systemd-halt.service.xml                        |    2 
 man/systemd-hostnamed.service.xml                   |    2 
 man/systemd-inhibit.xml                             |    2 
 man/systemd-initctl.service.xml                     |    2 
 man/systemd-journald.service.xml                    |    5 
 man/systemd-localed.service.xml                     |    2 
 man/systemd-logind.service.xml                      |    2 
 man/systemd-machine-id-setup.xml                    |    2 
 man/systemd-modules-load.service.xml                |   25 
 man/systemd-notify.xml                              |    2 
 man/systemd-nspawn.xml                              |   48 
 man/systemd-readahead-replay.service.xml            |    4 
 man/systemd-remount-fs.service.xml                  |    2 
 man/systemd-shutdownd.service.xml                   |    2 
 man/systemd-suspend.service.xml                     |    2 
 man/systemd-timedated.service.xml                   |    2 
 man/systemd-tmpfiles.xml                            |    2 
 man/systemd-update-utmp-runlevel.service.xml        |    4 
 man/systemd-user-sessions.service.xml               |    2 
 man/systemd.automount.xml                           |    2 
 man/systemd.conf.xml                                |    4 
 man/systemd.device.xml                              |    2 
 man/systemd.exec.xml                                |   75 -
 man/systemd.journal-fields.xml                      |   21 
 man/systemd.kill.xml                                |  170 ++
 man/systemd.mount.xml                               |   57 
 man/systemd.path.xml                                |    2 
 man/systemd.service.xml                             |  142 --
 man/systemd.snapshot.xml                            |    2 
 man/systemd.socket.xml                              |   56 
 man/systemd.swap.xml                                |   60 
 man/systemd.target.xml                              |    2 
 man/systemd.timer.xml                               |    2 
 man/systemd.unit.xml                                |   23 
 man/systemd.xml                                     |   10 
 man/tmpfiles.d.xml                                  |    2 
 man/vconsole.conf.xml                               |    2 
 po/POTFILES.in                                      |    1 
 po/POTFILES.skip                                    |    2 
 rules/42-usb-hid-pm.rules                           |    3 
 src/cgtop/cgtop.c                                   |    2 
 src/core/.gitignore                                 |    4 
 src/core/automount.c                                |    1 
 src/core/automount.h                                |    5 
 src/core/build.h                                    |    5 
 src/core/bus-errors.h                               |    5 
 src/core/cgroup-attr.h                              |    5 
 src/core/cgroup.c                                   |    4 
 src/core/cgroup.h                                   |    5 
 src/core/condition.h                                |    5 
 src/core/dbus-automount.h                           |    5 
 src/core/dbus-device.h                              |    5 
 src/core/dbus-execute.c                             |   35 
 src/core/dbus-execute.h                             |   11 
 src/core/dbus-job.h                                 |    5 
 src/core/dbus-kill.c                                |   35 
 src/core/dbus-kill.h                                |   39 
 src/core/dbus-manager.c                             |   23 
 src/core/dbus-manager.h                             |    5 
 src/core/dbus-mount.c                               |    3 
 src/core/dbus-mount.h                               |    5 
 src/core/dbus-path.h                                |    5 
 src/core/dbus-service.c                             |    4 
 src/core/dbus-service.h                             |    5 
 src/core/dbus-snapshot.h                            |    5 
 src/core/dbus-socket.c                              |    3 
 src/core/dbus-socket.h                              |    5 
 src/core/dbus-swap.c                                |    3 
 src/core/dbus-swap.h                                |    5 
 src/core/dbus-target.h                              |    5 
 src/core/dbus-timer.h                               |    5 
 src/core/dbus-unit.c                                |   24 
 src/core/dbus-unit.h                                |   12 
 src/core/dbus.h                                     |    5 
 src/core/device.c                                   |    1 
 src/core/device.h                                   |    5 
 src/core/execute.c                                  |  109 +
 src/core/execute.h                                  |   36 
 src/core/fdset.h                                    |    5 
 src/core/hostname-setup.c                           |    4 
 src/core/hostname-setup.h                           |    5 
 src/core/ima-setup.h                                |    5 
 src/core/job.h                                      |    5 
 src/core/kill.c                                     |   63 
 src/core/kill.h                                     |   60 
 src/core/killall.c                                  |  177 ++
 src/core/killall.h                                  |   27 
 src/core/kmod-setup.h                               |    5 
 src/core/load-dropin.c                              |    6 
 src/core/load-dropin.h                              |    5 
 src/core/load-fragment-gperf.gperf.m4               |   23 
 src/core/load-fragment.c                            |   87 +
 src/core/load-fragment.h                            |    6 
 src/core/locale-setup.c                             |    4 
 src/core/locale-setup.h                             |    5 
 src/core/loopback-setup.h                           |    5 
 src/core/machine-id-setup.h                         |    5 
 src/core/main.c                                     |   61 
 src/core/manager.c                                  |   14 
 src/core/manager.h                                  |    7 
 src/core/mount-setup.h                              |    5 
 src/core/mount.c                                    |   48 
 src/core/mount.h                                    |    7 
 src/core/namespace.h                                |    5 
 src/core/path.c                                     |    1 
 src/core/path.h                                     |    5 
 src/core/selinux-setup.c                            |    9 
 src/core/selinux-setup.h                            |    5 
 src/core/service.c                                  |   94 -
 src/core/service.h                                  |    8 
 src/core/shutdown.c                                 |  216 ---
 src/core/snapshot.c                                 |    1 
 src/core/snapshot.h                                 |    5 
 src/core/socket.c                                   |   37 
 src/core/socket.h                                   |    6 
 src/core/special.h                                  |    5 
 src/core/swap.c                                     |   37 
 src/core/swap.h                                     |    6 
 src/core/syscall-list.c                             |   55 
 src/core/syscall-list.h                             |   30 
 src/core/sysfs-show.h                               |    5 
 src/core/target.c                                   |    3 
 src/core/target.h                                   |    5 
 src/core/tcpwrap.h                                  |    5 
 src/core/timer.c                                    |    1 
 src/core/timer.h                                    |    5 
 src/core/transaction.c                              |    4 
 src/core/umount.h                                   |    5 
 src/core/unit.c                                     |  177 +-
 src/core/unit.h                                     |   57 
 src/cryptsetup/cryptsetup-generator.c               |   12 
 src/cryptsetup/cryptsetup.c                         |   11 
 src/delta/delta.c                                   |    4 
 src/fstab-generator/fstab-generator.c               |   16 
 src/getty-generator/getty-generator.c               |    2 
 src/journal/compress.h                              |    5 
 src/journal/coredump.c                              |    4 
 src/journal/journal-def.h                           |   12 
 src/journal/journal-file.c                          |  456 +++++-
 src/journal/journal-file.h                          |   27 
 src/journal/journal-internal.h                      |   55 
 src/journal/journal-rate-limit.h                    |    5 
 src/journal/journalctl.c                            |  207 +--
 src/journal/journald.c                              |  159 +-
 src/journal/journald.h                              |    7 
 src/journal/libsystemd-journal.sym                  |    7 
 src/journal/lookup3.c                               |    6 
 src/journal/lookup3.h                               |    5 
 src/journal/sd-journal.c                            | 1335 ++++++++++++--------
 src/journal/test-journal-match.c                    |   67 +
 src/journal/test-journal-send.c                     |    4 
 src/journal/test-journal-stream.c                   |  169 ++
 src/journal/test-journal.c                          |    8 
 src/libudev/libudev-device-private.c                |    8 
 src/libudev/libudev-device.c                        |   38 
 src/libudev/libudev-private.h                       |    5 
 src/libudev/libudev-queue-private.c                 |    2 
 src/libudev/libudev-util.c                          |   25 
 src/login/loginctl.c                                |    8 
 src/login/logind-acl.h                              |    5 
 src/login/logind-device.h                           |    5 
 src/login/logind-seat.h                             |    5 
 src/login/logind-session.h                          |    5 
 src/login/logind-user.h                             |    5 
 src/login/logind.c                                  |    2 
 src/login/logind.h                                  |    5 
 src/machine-id-setup/machine-id-setup-main.c        |    1 
 src/nspawn/nspawn.c                                 |  269 +++-
 src/readahead/readahead-analyze.c                   |    2 
 src/readahead/readahead-common.h                    |    5 
 src/shared/acl-util.h                               |    5 
 src/shared/ask-password-api.h                       |    5 
 src/shared/cgroup-util.c                            |   10 
 src/shared/cgroup-util.h                            |    5 
 src/shared/conf-parser.c                            |    2 
 src/shared/conf-parser.h                            |    5 
 src/shared/dbus-common.c                            |   25 
 src/shared/dbus-common.h                            |    5 
 src/shared/dbus-loop.h                              |    5 
 src/shared/def.h                                    |    5 
 src/shared/exit-status.c                            |    6 
 src/shared/exit-status.h                            |   10 
 src/shared/hashmap.h                                |    5 
 src/shared/hwclock.c                                |    2 
 src/shared/install.c                                |   18 
 src/shared/install.h                                |    5 
 src/shared/label.h                                  |    5 
 src/shared/linux/seccomp-bpf.h                      |   76 +
 src/shared/linux/seccomp.h                          |   47 
 src/shared/list.h                                   |    5 
 src/shared/log.h                                    |    5 
 src/shared/logs-show.c                              |  102 -
 src/shared/logs-show.h                              |   20 
 src/shared/macro.h                                  |    6 
 src/shared/missing.h                                |    5 
 src/shared/pager.h                                  |    5 
 src/shared/path-lookup.h                            |    5 
 src/shared/path-util.c                              |    2 
 src/shared/polkit.h                                 |    5 
 src/shared/ratelimit.h                              |   12 
 src/shared/set.h                                    |    5 
 src/shared/socket-util.h                            |    5 
 src/shared/spawn-ask-password-agent.h               |    5 
 src/shared/specifier.h                              |    5 
 src/shared/strv.h                                   |    5 
 src/shared/unit-name.c                              |   48 
 src/shared/unit-name.h                              |   43 
 src/shared/utf8.c                                   |   71 +
 src/shared/utf8.h                                   |    7 
 src/shared/util.c                                   |  288 +++-
 src/shared/util.h                                   |   17 
 src/shared/utmp-wtmp.h                              |    5 
 src/shared/virt.h                                   |    5 
 src/shared/watchdog.h                               |    5 
 src/systemctl/systemctl.c                           |   39 
 src/systemd/sd-daemon.h                             |    2 
 src/systemd/sd-id128.h                              |    2 
 src/systemd/sd-journal.h                            |   15 
 src/systemd/sd-login.h                              |    2 
 src/systemd/sd-readahead.h                          |    2 
 src/test/test-udev.c                                |   44 
 src/tmpfiles/tmpfiles.c                             |    6 
 src/tty-ask-password-agent/tty-ask-password-agent.c |    1 
 src/udev/ata_id/ata_id.c                            |    2 
 src/udev/cdrom_id/cdrom_id.c                        |    2 
 src/udev/keymap/95-keyboard-force-release.rules     |    2 
 src/udev/keymap/keymap.c                            |    6 
 src/udev/scsi_id/scsi_id.c                          |    2 
 src/udev/udev-builtin-firmware.c                    |    8 
 src/udev/udev-event.c                               |   78 -
 src/udev/udev-node.c                                |   25 
 src/udev/udev-rules.c                               |   24 
 src/udev/udevadm.c                                  |    2 
 src/udev/udevd.c                                    |   21 
 src/vconsole/vconsole-setup.c                       |    2 
 test/udev-test.pl                                   |    2 
 units/.gitignore                                    |    1 
 units/hibernate.target                              |    2 
 units/rescue.service.m4.in                          |    5 
 units/serial-getty at .service.m4                      |    2 
 units/suspend.target                                |    2 
 units/syslog.target                                 |    2 
 units/systemd-fsck at .service.in                      |    2 
 units/systemd-journal-flush.service.in              |   18 
 units/systemd-journald.service.in                   |    2 
 units/systemd-logind.service.in                     |    3 
 units/systemd-udevd.service.in                      |    1 
 298 files changed, 7882 insertions(+), 2513 deletions(-)
---


More information about the systemd-commits mailing list