platform/upstream/systemd.git
9 years agoMerge pull request #561 from cmacq2/html-man-fixes
Daniel Mack [Sun, 12 Jul 2015 15:33:27 +0000 (11:33 -0400)]
Merge pull request #561 from cmacq2/html-man-fixes

Html man fixes

9 years agoMerge pull request #558 from poettering/logind-bus-policy
Tom Gundersen [Sun, 12 Jul 2015 09:44:45 +0000 (11:44 +0200)]
Merge pull request #558 from poettering/logind-bus-policy

logind: bring bus policy up-to-date

9 years agoMerge pull request #556 from poettering/sd-bus-life-cycle
Tom Gundersen [Sun, 12 Jul 2015 09:44:14 +0000 (11:44 +0200)]
Merge pull request #556 from poettering/sd-bus-life-cycle

man: go further into details regarding life-cycle of default bus conn…

9 years agoMerge pull request #554 from poettering/ntp-pool
Tom Gundersen [Sun, 12 Jul 2015 09:43:51 +0000 (11:43 +0200)]
Merge pull request #554 from poettering/ntp-pool

build-sys: warn if people don't change the default NTP servers when b…

9 years agoMerge pull request #553 from poettering/rt-group-sched
Tom Gundersen [Sun, 12 Jul 2015 09:43:10 +0000 (11:43 +0200)]
Merge pull request #553 from poettering/rt-group-sched

README: document that RT group sched should be turned off

9 years agoUse a top-to-bottom numbering scheme for generating ids of subheadings and terms.
Johan Ouwerkerk [Sun, 12 Jul 2015 01:07:24 +0000 (03:07 +0200)]
Use a top-to-bottom numbering scheme for generating ids of subheadings and terms.
This scheme fixes permalinks to distinguish between items that would previously have the same ID attribute.

Where possible the generated ID values are the same as those generated with the previous versions of the stylesheet
to retain backwards compatibility with published links.

As a side effect of the changes xsltproc should no longer complain about duplicate IDs during build.

9 years agoMerge pull request #559 from poettering/logind-osindications-missing
Lennart Poettering [Sat, 11 Jul 2015 22:32:58 +0000 (19:32 -0300)]
Merge pull request #559 from poettering/logind-osindications-missing

logind: some firmware implementations remove OsIndications if it is u…

9 years agologind: some firmware implementations remove OsIndications if it is unset
Lennart Poettering [Sat, 11 Jul 2015 20:29:48 +0000 (17:29 -0300)]
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.

9 years agologind: bring bus policy up-to-date
Lennart Poettering [Sat, 11 Jul 2015 20:00:26 +0000 (17:00 -0300)]
logind: bring bus policy up-to-date

A while back we opened up all of logind's bus calls to unprivileged
users, via PK. However, the dbus1 policy wasn't updated accordingly.

With this change, the dbus1 policy is opened up for all bus calls that
should be available to unprivileged clients.

(also rearranges some calls in the vtable, to make more sense, and be in
line with the order in the bus policy file)

Fixes #471.

9 years agoman: go further into details regarding life-cycle of default bus connection objects
Lennart Poettering [Sat, 11 Jul 2015 19:11:45 +0000 (16:11 -0300)]
man: go further into details regarding life-cycle of default bus connection objects

This extends on PR #542.

9 years agoREADME: document that RT group sched should be turned off
Lennart Poettering [Sat, 11 Jul 2015 17:18:35 +0000 (14:18 -0300)]
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

9 years agoMerge pull request #551 from poettering/fopen-temporary-noerrno
Daniel Mack [Sat, 11 Jul 2015 17:35:50 +0000 (13:35 -0400)]
Merge pull request #551 from poettering/fopen-temporary-noerrno

util: make sure we don't clobber errno in error path

9 years agoMerge pull request #552 from poettering/path-is-mount-point-simplification
Daniel Mack [Sat, 11 Jul 2015 17:35:24 +0000 (13:35 -0400)]
Merge pull request #552 from poettering/path-is-mount-point-simplification

basic: simplify path_is_mount_point() a bit

9 years agobuild-sys: warn if people don't change the default NTP servers when building systemd
Lennart Poettering [Sat, 11 Jul 2015 17:16:40 +0000 (14:16 -0300)]
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

9 years agobasic: simplify path_is_mount_point() a bit
Lennart Poettering [Sat, 11 Jul 2015 17:20:38 +0000 (14:20 -0300)]
basic: simplify path_is_mount_point() a bit

This removes two uses of the ternary operator.

9 years agoutil: make sure we don't clobber errno in error path
Lennart Poettering [Sat, 11 Jul 2015 17:19:36 +0000 (14:19 -0300)]
util: make sure we don't clobber errno in error path

9 years agoMerge pull request #535 from martinpitt/master
Lennart Poettering [Sat, 11 Jul 2015 15:17:39 +0000 (12:17 -0300)]
Merge pull request #535 from martinpitt/master

units: emergency.service: wait for plymouth to shut down

9 years agoMerge pull request #548 from vcaputo/fix_path_state_debug_msg
Daniel Mack [Sat, 11 Jul 2015 00:42:32 +0000 (20:42 -0400)]
Merge pull request #548 from vcaputo/fix_path_state_debug_msg

core: include unit in path state transition debug logging.

9 years agocore: include unit in path state transition debug logging.
Vito Caputo [Fri, 10 Jul 2015 23:40:46 +0000 (16:40 -0700)]
core: include unit in path state transition debug logging.

9 years agoMerge pull request #542 from utezduyar/sd_unref-might-keep-bus-alive
Daniel Mack [Fri, 10 Jul 2015 15:23:18 +0000 (11:23 -0400)]
Merge pull request #542 from utezduyar/sd_unref-might-keep-bus-alive

man: sd_unref does not necessarily free the bus

9 years agologind: rename 'pos' to 'position'
David Herrmann [Fri, 10 Jul 2015 13:08:24 +0000 (15:08 +0200)]
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.

9 years agologind: allow greeters to take over VTs
David Herrmann [Fri, 10 Jul 2015 12:53:08 +0000 (14:53 +0200)]
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.

9 years agoman: sd_unref does not necessarily free the bus
Umut Tezduyar Lindskog [Fri, 10 Jul 2015 12:31:53 +0000 (14:31 +0200)]
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.

9 years agounits: emergency.service: wait for plymouth to shut down
Martin Pitt [Thu, 9 Jul 2015 14:25:00 +0000 (16:25 +0200)]
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

9 years agoMerge pull request #531 from dvdhrm/boot-buildid
Lennart Poettering [Thu, 9 Jul 2015 14:50:03 +0000 (11:50 -0300)]
Merge pull request #531 from dvdhrm/boot-buildid

boot: use BUILD_ID if VERSION_ID is not available

9 years agoMerge pull request #532 from dvdhrm/bus-managed-root
Lennart Poettering [Thu, 9 Jul 2015 14:47:55 +0000 (11:47 -0300)]
Merge pull request #532 from dvdhrm/bus-managed-root

sd-bus: include queried path in GetManagedObjects

9 years agobasic/util.c fopen_temporary(): close fd if failed
cee1 [Thu, 9 Jul 2015 05:52:16 +0000 (13:52 +0800)]
basic/util.c fopen_temporary(): close fd if failed

9 years agoMerge pull request #529 from dvdhrm/bus-slot-description
Lennart Poettering [Thu, 9 Jul 2015 14:38:11 +0000 (11:38 -0300)]
Merge pull request #529 from dvdhrm/bus-slot-description

sd-bus: sd_bus_slot_get_description() should return const strings

9 years agoMerge pull request #426 from tblume/reload-system-conf-at-daemon-reload
Daniel Mack [Thu, 9 Jul 2015 14:01:06 +0000 (10:01 -0400)]
Merge pull request #426 from tblume/reload-system-conf-at-daemon-reload

Reload manager defaults at daemon-reload

9 years agosd-bus: include queried path in GetManagedObjects
David Herrmann [Thu, 9 Jul 2015 11:27:57 +0000 (13:27 +0200)]
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

9 years agoboot: use BUILD_ID if VERSION_ID is not present
David Herrmann [Thu, 9 Jul 2015 11:04:58 +0000 (13:04 +0200)]
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.

9 years agoboot: fix memleaks in os-release parser
David Herrmann [Thu, 9 Jul 2015 11:02:54 +0000 (13:02 +0200)]
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..

9 years agosd-bus: sd_bus_slot_get_description() should return const strings
David Herrmann [Thu, 9 Jul 2015 08:40:41 +0000 (10:40 +0200)]
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.

9 years agoReload manager defaults at daemon-reload
Thomas Blume [Mon, 29 Jun 2015 09:26:27 +0000 (11:26 +0200)]
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.

9 years agoMerge pull request #526 from phomes/master
Lennart Poettering [Wed, 8 Jul 2015 22:00:18 +0000 (19:00 -0300)]
Merge pull request #526 from phomes/master

machine: remove unused variables

9 years agomachine: remove unused variables
Thomas Hindoe Paaboel Andersen [Wed, 8 Jul 2015 21:45:49 +0000 (23:45 +0200)]
machine: remove unused variables

9 years agoMerge pull request #522 from mbiebl/no-install-readme-md
Lennart Poettering [Wed, 8 Jul 2015 20:37:06 +0000 (17:37 -0300)]
Merge pull request #522 from mbiebl/no-install-readme-md

build-sys: Do not install README.md as end-user documentation

9 years agobuild-sys: Do not install README.md as end-user documentation
Michael Biebl [Wed, 8 Jul 2015 20:27:27 +0000 (22:27 +0200)]
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.

9 years agoMerge pull request #516 from utezduyar/consistent-get-callback-return
Lennart Poettering [Wed, 8 Jul 2015 20:24:20 +0000 (17:24 -0300)]
Merge pull request #516 from utezduyar/consistent-get-callback-return

property callback returns are consistent

9 years agoMerge pull request #500 from zonque/fileio
Lennart Poettering [Wed, 8 Jul 2015 20:13:53 +0000 (17:13 -0300)]
Merge pull request #500 from zonque/fileio

fileio: consolidate write_string_file*()

9 years agoMerge pull request #520 from zonque/pr-384-rework
Lennart Poettering [Wed, 8 Jul 2015 19:50:48 +0000 (16:50 -0300)]
Merge pull request #520 from zonque/pr-384-rework

man-pages: PR 384 rework

9 years agoman: minor updates to the sd_bus_request_name() documentation
Lennart Poettering [Tue, 23 Jun 2015 19:41:15 +0000 (21:41 +0200)]
man: minor updates to the sd_bus_request_name() documentation

9 years agoman: document user slice sd-login calls we added a while back
Lennart Poettering [Tue, 23 Jun 2015 19:22:56 +0000 (21:22 +0200)]
man: document user slice sd-login calls we added a while back

9 years agoman: fix sd_bus_negotiate_timestamps documentation link-up
Lennart Poettering [Tue, 23 Jun 2015 18:44:15 +0000 (20:44 +0200)]
man: fix sd_bus_negotiate_timestamps documentation link-up

9 years agoman: fully document sd_bus_creds subsystem
Lennart Poettering [Tue, 23 Jun 2015 18:42:57 +0000 (20:42 +0200)]
man: fully document sd_bus_creds subsystem

[@zonque: typo fixed, reported by @ronnychevalier]

9 years agoman: fully document sd-bus' error APIs
Lennart Poettering [Tue, 23 Jun 2015 17:37:28 +0000 (19:37 +0200)]
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]

9 years agoMerge pull request #519 from poettering/man-bus-message-append
Daniel Mack [Wed, 8 Jul 2015 16:17:47 +0000 (12:17 -0400)]
Merge pull request #519 from poettering/man-bus-message-append

man: update and extend the various sd_bus_message_append_*() man pages

9 years agoMerge pull request #514 from teg/resolved-rrsig-marshal
Lennart Poettering [Wed, 8 Jul 2015 16:00:20 +0000 (13:00 -0300)]
Merge pull request #514 from teg/resolved-rrsig-marshal

resolved: fix marshalling of RRSIG records

9 years agoMerge pull request #515 from xnox/no-dot-files
Lennart Poettering [Wed, 8 Jul 2015 15:46:49 +0000 (12:46 -0300)]
Merge pull request #515 from xnox/no-dot-files

automake: Do not install developer files on end-user systems.

9 years agoMerge pull request #510 from zonque/journal-gatewayd
Tom Gundersen [Wed, 8 Jul 2015 14:16:44 +0000 (16:16 +0200)]
Merge pull request #510 from zonque/journal-gatewayd

journal-gatewayd: fix tmpfile logic

9 years agoMerge pull request #501 from keszybz/remove-python-systemd
Daniel Mack [Wed, 8 Jul 2015 13:38:38 +0000 (09:38 -0400)]
Merge pull request #501 from keszybz/remove-python-systemd

Remove python-systemd

9 years agoproperty callback returns are consistent
Umut Tezduyar Lindskog [Wed, 8 Jul 2015 12:35:32 +0000 (14:35 +0200)]
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.

9 years agoautomake: Do not install developer files on end-user systems.
Dimitri John Ledkov [Wed, 8 Jul 2015 11:37:47 +0000 (12:37 +0100)]
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.

9 years agoresolved: fix marshalling of RRSIG records
Tom Gundersen [Wed, 8 Jul 2015 11:52:48 +0000 (13:52 +0200)]
resolved: fix marshalling of RRSIG records

The key tag is 16, not 8 bits.

9 years agojournal-gatewayd: fix tmpfile logic
Daniel Mack [Tue, 7 Jul 2015 21:21:03 +0000 (17:21 -0400)]
journal-gatewayd: fix tmpfile logic

"rw" is not a valid mode string for f*open(). This got broken in
cc02a7b33049 ("journal-gatewayd: factor out opening of temp
file").

9 years agoman: update and extend the various sd_bus_message_append_*() man pages
Lennart Poettering [Tue, 7 Jul 2015 18:35:45 +0000 (20:35 +0200)]
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.

9 years agoMerge pull request #509 from dvdhrm/logind v222
Kay Sievers [Tue, 7 Jul 2015 17:43:28 +0000 (19:43 +0200)]
Merge pull request #509 from dvdhrm/logind

logind: fix CreateSession for lightdm

9 years agologind: fail on CreateSession if already in session
David Herrmann [Tue, 7 Jul 2015 17:38:41 +0000 (19:38 +0200)]
logind: fail on CreateSession if already in session

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.

9 years agohwdb: Update database of Bluetooth company identifiers
Marcel Holtmann [Tue, 7 Jul 2015 17:22:10 +0000 (19:22 +0200)]
hwdb: Update database of Bluetooth company identifiers

9 years agologind: allow sessions to share a VT if it's a greeter
David Herrmann [Tue, 7 Jul 2015 17:13:52 +0000 (19:13 +0200)]
logind: allow sessions to share a VT if it's a greeter

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).

9 years agoBump version to 222
David Herrmann [Tue, 7 Jul 2015 15:13:39 +0000 (17:13 +0200)]
Bump version to 222

9 years agoRemove repeated 'the's
Zbigniew Jędrzejewski-Szmek [Tue, 7 Jul 2015 11:40:53 +0000 (07:40 -0400)]
Remove repeated 'the's

9 years agoNEWS: give packagers a heads-up on the upcoming python bindings removal
Daniel Mack [Tue, 7 Jul 2015 01:19:57 +0000 (21:19 -0400)]
NEWS: give packagers a heads-up on the upcoming python bindings removal

9 years agoMerge pull request #502 from keszybz/login-small-cleanup
Daniel Mack [Tue, 7 Jul 2015 00:45:17 +0000 (20:45 -0400)]
Merge pull request #502 from keszybz/login-small-cleanup

Login small cleanup

9 years agoRemove python-systemd
Zbigniew Jędrzejewski-Szmek [Tue, 7 Jul 2015 00:32:12 +0000 (20:32 -0400)]
Remove python-systemd

python-system has moved to it's own repository:
https://github.com/systemd/python-systemd

9 years agotreewide: fix typos of let's
Zbigniew Jędrzejewski-Szmek [Tue, 7 Jul 2015 00:09:54 +0000 (20:09 -0400)]
treewide: fix typos of let's

9 years agologin: use normal comparison to zero for integers
Zbigniew Jędrzejewski-Szmek [Tue, 7 Jul 2015 00:04:13 +0000 (20:04 -0400)]
login: use normal comparison to zero for integers

! is supposed to be used for booleans and pointers.

9 years agotree-wide: fix write_string_file() user that should not create files
Daniel Mack [Mon, 6 Jul 2015 23:27:20 +0000 (19:27 -0400)]
tree-wide: fix write_string_file() user that should not create files

The latest consolidation cleanup of write_string_file() revealed some users
of that helper which should have used write_string_file_no_create() in the
past but didn't. Basically, all existing users that write to files in /sys
and /proc should not expect to write to a file which is not yet existant.

9 years agofileio: consolidate write_string_file*()
Daniel Mack [Mon, 6 Jul 2015 23:19:25 +0000 (19:19 -0400)]
fileio: consolidate write_string_file*()

Merge write_string_file(), write_string_file_no_create() and
write_string_file_atomic() into write_string_file() and provide a flags mask
that allows combinations of atomic writing, newline appending and automatic
file creation. Change all users accordingly.

9 years agofileio: add 'enforce_newline' argument to write_string_stream()
Daniel Mack [Mon, 6 Jul 2015 21:31:44 +0000 (17:31 -0400)]
fileio: add 'enforce_newline' argument to write_string_stream()

Add a flag to control whether write_string_stream() should always enforce a
trailing newline character in the file.

9 years agoget_process_environ: exit early when there is nothing to read
Kay Sievers [Mon, 6 Jul 2015 21:00:49 +0000 (23:00 +0200)]
get_process_environ: exit early when there is nothing to read

9 years agoMerge pull request #492 from richardmaw-codethink/nspawn-automatic-uid-shift-fix-v2
Lennart Poettering [Mon, 6 Jul 2015 18:53:56 +0000 (20:53 +0200)]
Merge pull request #492 from richardmaw-codethink/nspawn-automatic-uid-shift-fix-v2

nspawn: Communicate determined UID shift to parent version 2

9 years agoMerge pull request #497 from phomes/master
Daniel Mack [Mon, 6 Jul 2015 18:45:50 +0000 (14:45 -0400)]
Merge pull request #497 from phomes/master

man: sd-bus: typo fix

9 years agoMerge pull request #496 from poettering/ipv6-privacy
Daniel Mack [Mon, 6 Jul 2015 18:44:33 +0000 (14:44 -0400)]
Merge pull request #496 from poettering/ipv6-privacy

networkd: various fixes for the IPv6 privacy extensions support

9 years agoman: sd-bus: typo fix
Thomas Hindoe Paaboel Andersen [Mon, 6 Jul 2015 18:34:09 +0000 (20:34 +0200)]
man: sd-bus: typo fix

9 years agonetworkd: various fixes for the IPv6 privacy extensions support
Lennart Poettering [Mon, 6 Jul 2015 18:29:33 +0000 (20:29 +0200)]
networkd: various fixes for the IPv6 privacy extensions support

- Make sure that the IPv6PrivacyExtensions=yes results in
  prefer-temporary, not prefer-public.

- Introduce special enum value "kernel" to leave setting unset, similar
  how we have it for the IP forwarding settings.

- Bring the enum values in sync with the the strings we parse for them,
  to the level this makes sense (specifically, rename "disabled" to
  "no", and "prefer-temporary" to "yes").

- Make sure we really set the value to to "no" by default, the way it is
  already documented in the man page.

- Fix whitespace error.

- Make sure link_ipv6_privacy_extensions() actually returns the correct
  enum type, rather than implicitly casting it to "bool".

- properly size formatting buffer for ipv6 sysctl value

- Don't complain if /proc/sys isn't writable

- Document that the enum follows the kernel's own values (0 = off, 1 =
  prefer-public, 2 = prefer-temporary)

- Drop redundant negating of error code passed to log_syntax()

- Manpage fixes

This fixes a number of issues from PR #417

9 years agoMerge pull request #495 from poettering/forwarding-fix
Daniel Mack [Mon, 6 Jul 2015 18:22:23 +0000 (14:22 -0400)]
Merge pull request #495 from poettering/forwarding-fix

networkd: be more defensive when writing to ipv4/ipv6 forwarding sett…

9 years agoNEWS: mention ipv6 privacy extensions
David Herrmann [Mon, 6 Jul 2015 17:07:10 +0000 (19:07 +0200)]
NEWS: mention ipv6 privacy extensions

9 years agobus-proxyd: fix log message and explain dbus-1 compat matches
Kay Sievers [Mon, 6 Jul 2015 15:54:40 +0000 (17:54 +0200)]
bus-proxyd: fix log message and explain dbus-1 compat matches

9 years agodocs: add .gitignore
Kay Sievers [Mon, 6 Jul 2015 15:46:43 +0000 (17:46 +0200)]
docs: add .gitignore

9 years agobus-proxyd: subscribe to unicast signals directed to the proxy connection
Kay Sievers [Mon, 6 Jul 2015 15:45:26 +0000 (17:45 +0200)]
bus-proxyd: subscribe to unicast signals directed to the proxy connection

9 years agosd-bus: support matching on destination names
David Herrmann [Mon, 6 Jul 2015 15:43:36 +0000 (17:43 +0200)]
sd-bus: support matching on destination names

Right now, we never install destination matches on kdbus as the kernel did
not support MATCH rules on those. With the introduction of
KDBUS_ITEM_DST_ID we can now match on destination IDs, so add explicit
support for those.

This requires a recent kdbus module to work. However, there seems to be no
user-space that uses "Destination=''" matches, yet, so old kdbus modules
still work fine (we couldn't find any real user).

This is needed to match on unicast signals in bus-proxy. A followup will
add support for this.

9 years agoMerge pull request #491 from torstehu/fix-typo
Daniel Mack [Mon, 6 Jul 2015 13:00:04 +0000 (09:00 -0400)]
Merge pull request #491 from torstehu/fix-typo

treewide: fix typos

9 years agonspawn: Communicate determined UID shift to parent
Richard Maw [Tue, 30 Jun 2015 13:41:41 +0000 (13:41 +0000)]
nspawn: Communicate determined UID shift to parent

There is logic to determine the UID shift from the file-system, rather
than having it be explicitly passed in.

However, this needs to happen in the child process that sets up the
mounts, as what's important is the UID of the mounted root, rather than
the mount-point.

Setting up the UID map needs to happen in the parent becuase the inner
child needs to have been started, and the outer child is no longer able
to access the uid_map file, since it lost access to it when setting up
the mounts for the inner child.

So we need to communicate the uid shift back out, along with the PID of
the inner child process.

Failing to communicate this means that the invalid UID shift, which is
the value used to specify "this needs to be determined from the file
system" is left invalid, so setting up the user namespace's UID shift
fails.

9 years agonetworkd: be more defensive when writing to ipv4/ipv6 forwarding settings
Lennart Poettering [Mon, 6 Jul 2015 11:38:47 +0000 (13:38 +0200)]
networkd: be more defensive when writing to ipv4/ipv6 forwarding settings

1) never bother with setting the flag for loopback devices

2) if we fail to write the flag due to EROFS (which is likely to happen
   in containers where /proc/sys is read-only) or any other error, check
   if the flag already has the right value. If so, don't complain.

Closes #469

9 years agotreewide: fix typos
Torstein Husebø [Thu, 2 Jul 2015 13:18:29 +0000 (15:18 +0200)]
treewide: fix typos

9 years agoupdate TODO
Lennart Poettering [Mon, 6 Jul 2015 10:35:58 +0000 (12:35 +0200)]
update TODO

9 years agonspawn: fix indenting
Lennart Poettering [Mon, 6 Jul 2015 10:35:51 +0000 (12:35 +0200)]
nspawn: fix indenting

9 years agoMerge pull request #443 from ssahani/lldp
Tom Gundersen [Mon, 6 Jul 2015 09:35:12 +0000 (11:35 +0200)]
Merge pull request #443 from ssahani/lldp

lldp: set correct state for processing

9 years agoMerge pull request #417 from ssahani/ipv6-private
Daniel Mack [Sun, 5 Jul 2015 17:08:13 +0000 (13:08 -0400)]
Merge pull request #417 from ssahani/ipv6-private

Ipv6 private extensions

9 years agologin: simplify assignment
Zbigniew Jędrzejewski-Szmek [Sun, 5 Jul 2015 16:02:20 +0000 (12:02 -0400)]
login: simplify assignment

9 years agorules: block - add dasd to whitelist
Kay Sievers [Sun, 5 Jul 2015 14:22:30 +0000 (16:22 +0200)]
rules: block - add dasd to whitelist

9 years agobuild-sys: bump sonames
Kay Sievers [Sun, 5 Jul 2015 14:10:03 +0000 (16:10 +0200)]
build-sys: bump sonames

9 years agohwdb: update
Kay Sievers [Sun, 5 Jul 2015 14:05:54 +0000 (16:05 +0200)]
hwdb: update

9 years agoNEWS: update
Kay Sievers [Sun, 5 Jul 2015 14:02:13 +0000 (16:02 +0200)]
NEWS: update

9 years agocore: fix missing bus-util.h include
David Herrmann [Sun, 5 Jul 2015 10:24:29 +0000 (12:24 +0200)]
core: fix missing bus-util.h include

Whoopsy, forgot to 'git add' this, sorry.

9 years agocore: don't mount kdbusfs if not wanted
David Herrmann [Sun, 5 Jul 2015 09:25:38 +0000 (11:25 +0200)]
core: don't mount kdbusfs if not wanted

Just like we conditionalize loading kdbus.ko, we should conditionalize
mounting kdbusfs. Otherwise, we might run with kdbus if it is builtin,
even though the user didn't want this.

9 years agoNEWS: mention accelerometer removal for 222
David Herrmann [Sun, 5 Jul 2015 09:04:59 +0000 (11:04 +0200)]
NEWS: mention accelerometer removal for 222

Add NEWS entry for 222 and mention the removal of the udev accelerometer.
iio-sensor-proxy-1.0 is required if you want orientation data to still
work.

9 years agoTODO: remove ipv6 Ipv6 privacy extensions
Susant Sahani [Sun, 5 Jul 2015 05:55:54 +0000 (11:25 +0530)]
TODO: remove ipv6 Ipv6 privacy extensions

9 years agoman: add manual for ipv6 privacy extension
Susant Sahani [Sun, 5 Jul 2015 05:55:20 +0000 (11:25 +0530)]
man: add manual for ipv6 privacy extension