summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-07-11Merge pull request #535 from martinpitt/masterLennart Poettering
units: emergency.service: wait for plymouth to shut down
2015-07-10Merge pull request #548 from vcaputo/fix_path_state_debug_msgDaniel Mack
core: include unit in path state transition debug logging.
2015-07-10core: include unit in path state transition debug logging.Vito Caputo
2015-07-10Merge pull request #542 from utezduyar/sd_unref-might-keep-bus-aliveDaniel Mack
man: sd_unref does not necessarily free the bus
2015-07-10logind: rename 'pos' to 'position'David Herrmann
Spell out the proper name. Use 'pos' over 'position', and also update the logind state file to do the same. Note that this breaks live updates. However, we only save 'POSITION' on non-seat0, so this shouldn't bother anyone for real. If you run multi-seat setups, you better restart a machine on updates, anyway.
2015-07-10logind: allow greeters to take over VTsDavid Herrmann
Make sure a greeter can forcefully spawn a session on a VT that is in-use. A recent patch prevented this (this used to be possible for all session types) as it is highly fragile. However, as it turns out, greeters seem to rely on that feature. Therefore, make sure we allow it explicitly for greeters.
2015-07-10man: sd_unref does not necessarily free the busUmut Tezduyar Lindskog
Document that sd_unref() does not necessarily free the bus, even if no part of the program explicitly refs it, due to the queued messages.
2015-07-10units: emergency.service: wait for plymouth to shut downMartin Pitt
Merely calling "plymouth quit" isn't sufficient, as plymouth needs some time to shut down. This needs plymouth --wait (which is a no-op when it's not running). Fixes invisible emergency shell with plymouth running endlessly. https://launchpad.net/bugs/1471258
2015-07-09Merge pull request #531 from dvdhrm/boot-buildidLennart Poettering
boot: use BUILD_ID if VERSION_ID is not available
2015-07-09Merge pull request #532 from dvdhrm/bus-managed-rootLennart Poettering
sd-bus: include queried path in GetManagedObjects
2015-07-09basic/util.c fopen_temporary(): close fd if failedcee1
2015-07-09Merge pull request #529 from dvdhrm/bus-slot-descriptionLennart Poettering
sd-bus: sd_bus_slot_get_description() should return const strings
2015-07-09Merge pull request #426 from tblume/reload-system-conf-at-daemon-reloadDaniel Mack
Reload manager defaults at daemon-reload
2015-07-09sd-bus: include queried path in GetManagedObjectsDavid Herrmann
If GetManagedObjects is called on /foo/bar, then it should also include the object /foo/bar, if it exists. Right now, we only include objects underneath /foo/bar/. This follows the behavior of existing dbus implementations. Obsoletes #527 and fixes #525. Reported by: Nathaniel McCallum
2015-07-09boot: use BUILD_ID if VERSION_ID is not presentDavid Herrmann
According to os-release(5), VERSION_ID is not mandatory and BUILD_ID only needs to be unique underneath VERSION_ID. Therefore, assuming a missing VERSION_ID field means 'empty', we can rely on BUILD_ID to be unique. Use BUILD_ID if VERSION_ID is not present. This way, rolling-release distros can still provide a proper os-release entry without crafting random VERSION_ID strings. This fixes #186.
2015-07-09boot: fix memleaks in os-release parserDavid Herrmann
There is no guarantee that the os-release section contains each key only once, nor any guarantee that all keys are present. Make sure we properly free memory in both cases. Not that it matters much, as we're short-living, anyway. But correct code is always nicer to read..
2015-07-09sd-bus: sd_bus_slot_get_description() should return const stringsDavid Herrmann
All other *_get_description() functions use 'const char**', so make sure sd_bus_slot_get_description() does the same. This changes API, but ABI stays stable. I think this is fine, but I wouldn't mind bumping SONAME. Reported in #528.
2015-07-09Reload manager defaults at daemon-reloadThomas Blume
"systemctl daemon-reload" should also update the manager defaults from /etc/systemd/system.conf. For details, see: http://lists.freedesktop.org/archives/systemd-devel/2015-June/033062.html Amended to use manager_set_defaults() as common function.
2015-07-08Merge pull request #526 from phomes/masterLennart Poettering
machine: remove unused variables
2015-07-08machine: remove unused variablesThomas Hindoe Paaboel Andersen
2015-07-08Merge pull request #522 from mbiebl/no-install-readme-mdLennart Poettering
build-sys: Do not install README.md as end-user documentation
2015-07-08build-sys: Do not install README.md as end-user documentationMichael Biebl
This file is mostly GitHub glue and not particularly useful to end-users. So only add it to the dist tarball but do not install it as documentation.
2015-07-08Merge pull request #516 from utezduyar/consistent-get-callback-returnLennart Poettering
property callback returns are consistent
2015-07-08Merge pull request #500 from zonque/fileioLennart Poettering
fileio: consolidate write_string_file*()
2015-07-08Merge pull request #520 from zonque/pr-384-reworkLennart Poettering
man-pages: PR 384 rework
2015-07-08man: minor updates to the sd_bus_request_name() documentationLennart Poettering
2015-07-08man: document user slice sd-login calls we added a while backLennart Poettering
2015-07-08man: fix sd_bus_negotiate_timestamps documentation link-upLennart Poettering
2015-07-08man: fully document sd_bus_creds subsystemLennart Poettering
[@zonque: typo fixed, reported by @ronnychevalier]
2015-07-08man: fully document sd-bus' error APIsLennart Poettering
[@zonque: Some minor nits fixed as pointed out by @ronnychevalier, dropped class='sd-bus-errors' to fix python logic]
2015-07-08Merge pull request #519 from poettering/man-bus-message-appendDaniel Mack
man: update and extend the various sd_bus_message_append_*() man pages
2015-07-08Merge pull request #514 from teg/resolved-rrsig-marshalLennart Poettering
resolved: fix marshalling of RRSIG records
2015-07-08Merge pull request #515 from xnox/no-dot-filesLennart Poettering
automake: Do not install developer files on end-user systems.
2015-07-08Merge pull request #510 from zonque/journal-gatewaydTom Gundersen
journal-gatewayd: fix tmpfile logic
2015-07-08Merge pull request #501 from keszybz/remove-python-systemdDaniel Mack
Remove python-systemd
2015-07-08property callback returns are consistentUmut Tezduyar Lindskog
It is no different to return 0 over 1 in the property callback. It is confusing to return 1 which made me think 1 has a special purpose. This way code is consistent with the rest of the tree.
2015-07-08automake: Do not install developer files on end-user systems.Dimitri John Ledkov
autogen.sh, .dir-locals.el, .vimrc, .ycm_extra_conf.py, .travis.yml, .mailmap files are only useful with the source tree, for the developers. Do not install these files as documentation on the end-user systems, but keep them distributed with the tarball.
2015-07-08resolved: fix marshalling of RRSIG recordsTom Gundersen
The key tag is 16, not 8 bits.
2015-07-07journal-gatewayd: fix tmpfile logicDaniel Mack
"rw" is not a valid mode string for f*open(). This got broken in cc02a7b33049 ("journal-gatewayd: factor out opening of temp file").
2015-07-07man: update and extend the various sd_bus_message_append_*() man pagesLennart Poettering
Some calls changed their signature since the man pages were written. Also extend on a number of details.
2015-07-07Merge pull request #509 from dvdhrm/logindsystemd/v222Kay Sievers
logind: fix CreateSession for lightdm
2015-07-07logind: fail on CreateSession if already in sessionDavid Herrmann
Right now, if you're already in a session and call CreateSession, we return information about the current session of yours. This is highy confusing and a nasty hack. Avoid that, and instead return a commonly known error, so the caller can detect that. This has the side-effect, that we no longer override XDG_VTNR and XDG_SEAT in pam_systemd, if you're already in a session. But this sounds like the right thing to do, anyway.
2015-07-07hwdb: Update database of Bluetooth company identifiersMarcel Holtmann
2015-07-07logind: allow sessions to share a VT if it's a greeterDavid Herrmann
Old gdm and lightdm start the user-session during login before they destroy the greeter-session. Therefore, the user-session will take over the VT from the greeter. We recently prevented this by never allowing multiple sessions on the same VT. Fix this now, by explicitly allowing this if the owning session is a GREETER. Note that gdm no longer behaves like this. Instead, due to wayland, they always use a different VT for each session. All other login-managers are highly encouraged to destroy the greeter-session _before_ starting the user-session. We now work around this, but this will probably not last forever (and will already have nasty side-effects on the greeter-session).
2015-07-07Bump version to 222David Herrmann
2015-07-07Remove repeated 'the'sZbigniew Jędrzejewski-Szmek
2015-07-06NEWS: give packagers a heads-up on the upcoming python bindings removalDaniel Mack
2015-07-06Merge pull request #502 from keszybz/login-small-cleanupDaniel Mack
Login small cleanup
2015-07-06Remove python-systemdZbigniew Jędrzejewski-Szmek
python-system has moved to it's own repository: https://github.com/systemd/python-systemd
2015-07-06treewide: fix typos of let'sZbigniew Jędrzejewski-Szmek