Tom Gundersen
fdbbf0eeda
Merge pull request #554 from poettering/ntp-pool
...
build-sys: warn if people don't change the default NTP servers when b…
2015-07-12 11:43:51 +02:00
Tom Gundersen
e239b628e0
Merge pull request #553 from poettering/rt-group-sched
...
README: document that RT group sched should be turned off
2015-07-12 11:43:10 +02:00
Lennart Poettering
08abe30e78
Merge pull request #559 from poettering/logind-osindications-missing
...
logind: some firmware implementations remove OsIndications if it is u…
2015-07-11 19:32:58 -03:00
Lennart Poettering
6b62bbbc7b
logind: some firmware implementations remove OsIndications if it is unset
...
We shouldn't fall over that, and just assume it is 0 in this case.
Fixes #499 .
2015-07-11 17:32:25 -03:00
Lennart Poettering
f4e74be185
README: document that RT group sched should be turned off
...
https://bugs.freedesktop.org/show_bug.cgi?id=87570
https://bugzilla.redhat.com/show_bug.cgi?id=1229700
2015-07-11 14:49:22 -03:00
Daniel Mack
6f9d58d87f
Merge pull request #551 from poettering/fopen-temporary-noerrno
...
util: make sure we don't clobber errno in error path
2015-07-11 13:35:50 -04:00
Daniel Mack
0dc705bee2
Merge pull request #552 from poettering/path-is-mount-point-simplification
...
basic: simplify path_is_mount_point() a bit
2015-07-11 13:35:24 -04:00
Lennart Poettering
2ed3de9cc4
build-sys: warn if people don't change the default NTP servers when building systemd
...
Also, explain the situation in the docs.
Relates to #437
2015-07-11 14:24:29 -03:00
Lennart Poettering
10c03e9e82
basic: simplify path_is_mount_point() a bit
...
This removes two uses of the ternary operator.
2015-07-11 14:20:44 -03:00
Lennart Poettering
64ee7ab462
util: make sure we don't clobber errno in error path
2015-07-11 14:19:36 -03:00
Lennart Poettering
49aa7ab6e1
Merge pull request #535 from martinpitt/master
...
units: emergency.service: wait for plymouth to shut down
2015-07-11 12:17:39 -03:00
Daniel Mack
f2db89c99c
Merge pull request #548 from vcaputo/fix_path_state_debug_msg
...
core: include unit in path state transition debug logging.
2015-07-10 20:42:32 -04:00
Vito Caputo
3541bf1f07
core: include unit in path state transition debug logging.
2015-07-10 16:40:46 -07:00
Daniel Mack
537c1656c8
Merge pull request #542 from utezduyar/sd_unref-might-keep-bus-alive
...
man: sd_unref does not necessarily free the bus
2015-07-10 11:23:18 -04:00
David Herrmann
e6494a07cb
logind: rename 'pos' to 'position'
...
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-10 15:25:44 +02:00
David Herrmann
cc85d56245
logind: allow greeters to take over VTs
...
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-10 15:25:43 +02:00
Umut Tezduyar Lindskog
db03761e16
man: sd_unref does not necessarily free the bus
...
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-10 14:32:02 +02:00
Martin Pitt
ac59f0c12c
units: emergency.service: wait for plymouth to shut down
...
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-10 05:43:52 +02:00
Lennart Poettering
43694a8cc7
Merge pull request #531 from dvdhrm/boot-buildid
...
boot: use BUILD_ID if VERSION_ID is not available
2015-07-09 11:50:03 -03:00
Lennart Poettering
0aa7a4c225
Merge pull request #532 from dvdhrm/bus-managed-root
...
sd-bus: include queried path in GetManagedObjects
2015-07-09 11:47:55 -03:00
cee1
ac5213569c
basic/util.c fopen_temporary(): close fd if failed
2015-07-09 10:41:23 -04:00
Lennart Poettering
d711ea2b95
Merge pull request #529 from dvdhrm/bus-slot-description
...
sd-bus: sd_bus_slot_get_description() should return const strings
2015-07-09 11:38:11 -03:00
Daniel Mack
254214bfcd
Merge pull request #426 from tblume/reload-system-conf-at-daemon-reload
...
Reload manager defaults at daemon-reload
2015-07-09 10:01:06 -04:00
David Herrmann
92d16a53e3
sd-bus: include queried path in GetManagedObjects
...
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-09 13:30:16 +02:00
David Herrmann
59658d1958
boot: use BUILD_ID if VERSION_ID is not present
...
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-09 13:07:27 +02:00
David Herrmann
d8c64b7f90
boot: fix memleaks in os-release parser
...
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-09 13:02:54 +02:00
David Herrmann
839b6dbba9
sd-bus: sd_bus_slot_get_description() should return const strings
...
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-09 10:44:04 +02:00
Thomas Blume
06af2a04fb
Reload manager defaults at daemon-reload
...
"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-09 10:22:30 +02:00
Lennart Poettering
a0f7095171
Merge pull request #526 from phomes/master
...
machine: remove unused variables
2015-07-08 19:00:18 -03:00
Thomas Hindoe Paaboel Andersen
207dffe2ff
machine: remove unused variables
2015-07-08 23:46:47 +02:00
Lennart Poettering
313b98a03b
Merge pull request #522 from mbiebl/no-install-readme-md
...
build-sys: Do not install README.md as end-user documentation
2015-07-08 17:37:06 -03:00
Michael Biebl
6f068aef44
build-sys: Do not install README.md as end-user documentation
...
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-08 22:27:27 +02:00
Lennart Poettering
593b07d25d
Merge pull request #516 from utezduyar/consistent-get-callback-return
...
property callback returns are consistent
2015-07-08 17:24:20 -03:00
Lennart Poettering
1434eb3838
Merge pull request #500 from zonque/fileio
...
fileio: consolidate write_string_file*()
2015-07-08 17:13:53 -03:00
Lennart Poettering
380aea0c5b
Merge pull request #520 from zonque/pr-384-rework
...
man-pages: PR 384 rework
2015-07-08 16:50:48 -03:00
Lennart Poettering
2a2e6a0845
man: minor updates to the sd_bus_request_name() documentation
2015-07-08 13:53:42 -04:00
Lennart Poettering
dddbc69577
man: document user slice sd-login calls we added a while back
2015-07-08 13:53:42 -04:00
Lennart Poettering
0285564349
man: fix sd_bus_negotiate_timestamps documentation link-up
2015-07-08 13:53:42 -04:00
Lennart Poettering
f6f7a9848e
man: fully document sd_bus_creds subsystem
...
[@zonque: typo fixed, reported by @ronnychevalier]
2015-07-08 13:53:15 -04:00
Lennart Poettering
9d3e5d11be
man: fully document sd-bus' error APIs
...
[@zonque: Some minor nits fixed as pointed out by @ronnychevalier,
dropped class='sd-bus-errors' to fix python logic]
2015-07-08 13:51:39 -04:00
Daniel Mack
1ad9e2f89c
Merge pull request #519 from poettering/man-bus-message-append
...
man: update and extend the various sd_bus_message_append_*() man pages
2015-07-08 12:17:47 -04:00
Lennart Poettering
74d8a0d4b2
Merge pull request #514 from teg/resolved-rrsig-marshal
...
resolved: fix marshalling of RRSIG records
2015-07-08 13:00:20 -03:00
Lennart Poettering
008c1d3b84
Merge pull request #515 from xnox/no-dot-files
...
automake: Do not install developer files on end-user systems.
2015-07-08 12:46:49 -03:00
Tom Gundersen
1161d5d28b
Merge pull request #510 from zonque/journal-gatewayd
...
journal-gatewayd: fix tmpfile logic
2015-07-08 16:16:44 +02:00
Daniel Mack
b9fd7bb60a
Merge pull request #501 from keszybz/remove-python-systemd
...
Remove python-systemd
2015-07-08 09:38:38 -04:00
Umut Tezduyar Lindskog
0f82610153
property callback returns are consistent
...
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-08 14:37:25 +02:00
Dimitri John Ledkov
318b0fd7af
automake: Do not install developer files on end-user systems.
...
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-08 13:20:07 +01:00
Tom Gundersen
0b1b17d325
resolved: fix marshalling of RRSIG records
...
The key tag is 16, not 8 bits.
2015-07-08 13:53:39 +02:00
Daniel Mack
9e19c04f3a
journal-gatewayd: fix tmpfile logic
...
"rw" is not a valid mode string for f*open(). This got broken in
cc02a7b330 ("journal-gatewayd: factor out opening of temp
file").
2015-07-07 17:21:27 -04:00
Lennart Poettering
e8216945a9
man: update and extend the various sd_bus_message_append_*() man pages
...
Some calls changed their signature since the man pages were written.
Also extend on a number of details.
2015-07-07 20:35:45 +02:00