1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00
Commit Graph

20928 Commits

Author SHA1 Message Date
Tom Gundersen
f6e0a35376 udev: event - check return code of dup2()
This fixes CID#1304688.
2015-06-23 17:20:12 +02:00
Tom Gundersen
e448a1c3a3 udev: bulitin-hwdb - fix memory leak
This fixes CID#1292782.
2015-06-23 17:20:12 +02:00
Daniel Mack
9261d42e6d Merge pull request #328 from kaysievers/nodist
build-sys: add all source files and no built files to the tar ball
2015-06-23 13:04:52 +02:00
Kay Sievers
2c8849add4 build-sys: add all source files and no built files to the tar ball
This fully synchronizes the content of a "make dist" and a "git archive"
tar ball.

  http://lists.freedesktop.org/archives/systemd-devel/2015-June/033214.html
2015-06-23 12:43:15 +02:00
Michael Biebl
e6de49abfd man: install networkctl and sysusers.d man page conditionally 2015-06-23 10:40:29 +02:00
Daniel Mack
7a01b920d0 Merge pull request #324 from llua/zsh-completion
zsh-completion: _loginctl/_systemd/_systemd-inhibit improvements
2015-06-23 10:01:42 +02:00
Daniel Mack
53bf09836d Merge pull request #326 from whot/hwdb-updates
Hwdb updates
2015-06-23 10:00:42 +02:00
Peter Hutterer
1cbcfd3ee0 hwdb: move a couple of entries to expected sort order 2015-06-23 15:52:03 +10:00
Peter Hutterer
3fc1b05f53 hwdb: add Logitech MX Revolution 2015-06-23 15:50:09 +10:00
Kay Sievers
d30449bd76 build-sys: let "make git-tar" archive HEAD 2015-06-23 00:49:34 +02:00
Eric Cook
fb9d85b71a zsh-completion: _loginctl/_systemd/_systemd-inhibit improvements
_loginctl: respects the verbose style. which allows a user to get
the pre d5df0d950f behavior of not showing a description for sessions
and users, by default they aren't shown.

zstyle ':completion:*' verbose true
or
zstyle ':completion:*:loginctl*:*' verbose true # or similar
Will show the descriptions.

zstyle ':completion:*' verbose true
and
zstyle ':completion:*:loginctl*:*' verbose false # or similar
Won't show descriptions for loginctl only

_systemd: complete pids for systemd-notify's --pid option.
display a message of the expected argument for other options.

_systemd-inhibit: complete block & delay for --mode
display a message of the expected argument for --who/--why
2015-06-22 18:07:32 -04:00
Kay Sievers
5aaf87682e build-sys: remove $(NULL) 2015-06-22 23:27:08 +02:00
Kay Sievers
6f58d70e31 build-sys: add custom "make git-tar" target 2015-06-22 23:08:55 +02:00
Lennart Poettering
78a68c3454 Merge pull request #314 from geertj/missing-exports
export sd_bus_object_added() / _removed()
2015-06-22 22:47:42 +02:00
Lennart Poettering
f582dbaa14 Merge pull request #319 from teg/udev-cgroup-warning
udevd: suppress warning if we don't find cgroup
2015-06-22 22:32:26 +02:00
Kay Sievers
d806a1df5b Merge pull request #322 from kaysievers/wip
man: remove outdated links and stray character
2015-06-22 20:22:57 +02:00
Kay Sievers
1f35347af0 man: remove stray · from header 2015-06-22 19:54:52 +02:00
Kay Sievers
b8332e7abb man: remove links to outdated kdbus development repository 2015-06-22 19:54:09 +02:00
Tom Gundersen
11b9fb15be udevd: suppress warning if we don't find cgroup
This is expected on non-systemd systems, so just log it at debug level.

This fixes issue #309.
2015-06-22 16:55:49 +02:00
Daniel Mack
cc05b1bb37 Merge pull request #315 from llua/zsh-completion
zsh-completion: _systemd-nspawn - add more argument completion
2015-06-22 10:30:22 +02:00
Geert Jansen
969a9685d9 export sd_bus_object_added() / _removed()
Fixes #306.
2015-06-21 22:21:38 -04:00
Eric Cook
38cf1e292b zsh-completion: _systemd-nspawn - add more argument completion
filenames will be completed for --image/-i/--bind/--bind-ro/--tmpfs
network interfaces for --network-(interface|macvlan|ipvlan|bridge)
users for --user/-u, yes & no for --register, x86 * x86-64 for
--personality

display a message of the expected argument for --machine/-M/--uuid
--slice/-S/--port/-p/--selinux-*/-Z/-L/--setenv

Allow completing commands(and their options) of the host system for COMMAND
2015-06-21 21:59:26 -04:00
Daniel Mack
678d0c9033 Merge pull request #304 from mknjc/master
fix machinectl bind man entry
2015-06-21 11:32:12 +02:00
Jan Alexander Steffens (heftig)
c5d452bb22 pam_systemd: Properly check kdbus availability
This properly avoids setting DBUS_SESSION_BUS_ADDRESS if kdbus
is loaded (or built into the kernel) but not wanted.
2015-06-21 11:24:59 +02:00
Markus Knetschke
cb7bb815d2 fix machinectl bind man entry 2015-06-20 17:05:48 +02:00
David Herrmann
94c5528dc2 Merge pull request #303 from zonque/man
man: rename systemd-bus-proxyd@.service.xml → systemd-bus-proxyd.…
2015-06-20 14:43:45 +02:00
Daniel Mack
faebe5a933 man: rename systemd-bus-proxyd@.service.xml → systemd-bus-proxyd.service.xml
The bus proxy is multi-threaded now. Reflect that in the man pages.
2015-06-20 14:28:50 +02:00
Daniel Mack
ebc6475384 Merge pull request #301 from daurnimator/master
man: sd-bus: it's 'machine' not 'container'
2015-06-20 14:00:28 +02:00
daurnimator
30cd76383a man: sd-bus: it's 'machine' not 'container' 2015-06-20 18:57:53 +10:00
Lennart Poettering
3ed18ce28c man: be more careful with the wording in busctl(1) 2015-06-19 22:29:29 +02:00
Lennart Poettering
850df10ac1 man: various documentation improvements for sd-bus 2015-06-19 22:19:02 +02:00
Lennart Poettering
ff99498535 po: run make update-po 2015-06-19 12:47:39 +02:00
Lennart Poettering
a38d92691f Merge pull request #298 from zonque/intltool
build-sys: bring back an intltool-update workaround
2015-06-19 12:47:21 +02:00
Daniel Mack
06528e8fdd build-sys: bring back an intltool-update workaround
Currently, 'make distcheck' fails with an error such as this:

    srcdir=../../po /usr/bin/intltool-update -m
    The following files contain translations and are currently not in use.
    Please consider adding these to the POTFILES.in file, located in the po/ directory.

    build2/src/core/org.freedesktop.systemd1.policy.in
    build3/src/core/org.freedesktop.systemd1.policy.in

    [...]

This is caused by a new behavior of autmake 1.15 which changed the
location of the build tree during 'make distcheck', and the fact that
intltool doesn't yet ignore that paths.

We used to have a workaround in configure.ac that makes the failing call
a no-op, but it was accidentially removed in 23756070
("remove gudev and gtk-doc").

Bring back that snipet for now, until intltool and automake sorted out
their issues and like each other again.

Also see

  https://bugs.launchpad.net/intltool/+bug/1117944
2015-06-19 10:58:49 +02:00
Ronny Chevalier
cf4d75ccf9 Merge pull request #297 from ssahani/net
networkd: vlan improve logging
2015-06-19 10:24:13 +02:00
Susant Sahani
0a07970ead networkd: vlan improve logging
Replaces strerror() usage with log_netdev_error_errno()
2015-06-19 12:03:38 +05:30
Lennart Poettering
a2088fd025 update TODO 2015-06-19 01:12:54 +02:00
Lennart Poettering
b912e25181 NEWS: update contributors list and date 2015-06-19 01:12:28 +02:00
Kay Sievers
6433d44072 Merge pull request #293 from teg/man-revert
man: revert dynamic paths for split-usr setups
2015-06-18 22:27:50 +02:00
David Herrmann
38489ef8b2 Merge pull request #294 from teg/hashmap-debug-locking-2
hashmap: debug - lock access to the global hashmap list
2015-06-18 22:05:09 +02:00
David Herrmann
7324b6e4ef Merge pull request #292 from teg/man-udev-2
man: udev_device - finish new_* man page
2015-06-18 21:42:08 +02:00
David Herrmann
ea0707c661 Merge pull request #291 from poettering/nspawn-suppress-eloop
nspawn: suppress warning when /etc/resolv.conf is a valid symlink
2015-06-18 21:38:09 +02:00
Tom Gundersen
4f1b306169 hashmap: debug - lock access to the global hashmap list
This may be used from multi-threaded programs (say through nss-resolve),
so we must protect the global list.

This is still only relevant for debug builds, so we do not try to handle
cases where the locking fail, but simply assert.
2015-06-18 21:35:18 +02:00
Lennart Poettering
c874ef05a7 update TODO 2015-06-18 20:08:01 +02:00
Lennart Poettering
affb71da79 update TODO 2015-06-18 20:03:11 +02:00
Tom Gundersen
12b42c7667 man: revert dynamic paths for split-usr setups
This did not really work out as we had hoped. Trying to do this upstream
introduced several problems that probably makes it better suited as a
downstream patch after all. At any rate, it is not releaseable in the
current state, so we at least need to revert this before the release.

 * by adjusting the path to binaries, but not do the same thing to the
   search path we end up with inconsistent man-pages. Adjusting the search
   path too would be quite messy, and it is not at all obvious that this is
   worth the effort, but at any rate it would have to be done before we
   could ship this.

 * this means that distributed man-pages does not make sense as they depend
   on config options, and for better or worse we are still distributing
   man pages, so that is something that definitely needs sorting out before
   we could ship with this patch.

 * we have long held that split-usr is only minimally supported in order
   to boot, and something we hope will eventually go away. So before we start
   adding even more magic/effort in order to make this work nicely, we should
   probably question if it makes sense at all.
2015-06-18 19:47:44 +02:00
Lennart Poettering
68a313c592 nspawn: suppress warning when /etc/resolv.conf is a valid symlink
In such a case let's suppress the warning (downgrade to LOG_DEBUG),
under the assumption that the user has no config file to update in its
place, but a symlink that points to something like resolved's
automatically managed resolve.conf file.

While we are at it, also stop complaining if we cannot write /etc/resolv.conf
due to a read-only disk, given that there's little we could do about it.
2015-06-18 19:45:18 +02:00
Lennart Poettering
ff609b8ecd update TODO 2015-06-18 19:45:06 +02:00
Tom Gundersen
2ef24a16ac man: udev_device - finish new_* man page
A description of device_id lacked. We still need to do the other
udev_device_* man pages.
2015-06-18 19:18:33 +02:00
Lennart Poettering
74b1f52763 Merge pull request #288 from phomes/cgroup-util
cgroup-util: actually use the path callback
2015-06-18 18:57:16 +02:00