2013/12/27 Kay Sievers :
> On Fri, Dec 27, 2013 at 4:45 AM, Kay Sievers wrote:
>> On Thu, Dec 26, 2013 at 11:35 PM, Giovanni Campagna
>> wrote:
>>
>>> they do need the IPC_OWNER capability, to fake credentials
>>> on kdbus.
>>
>> Oh, I guess we
After seeing Kay's (and now Lennart's) posts on Google+, I wanted to give
kdbus a try, and I decided to try in the user manager (because I'm not
ready to switch my only system, and a container doesn't seem practical).
With the following patches, I can run the user manager connected
to the user kdbu
From: Giovanni Campagna
Extend the build system to install .wants/ links for the user trigger
(socket, path, timer and busname) units too, and make sure they
are pulled in by default.target.
---
Makefile.am | 38 --
units/user/default.target
From: Giovanni Campagna
When running off dbus-daemon, the user bus is not in a well-defined
location, and is sometimes used as the session bus or something
entirely different. In any case, it is safe to assume the bus already
exists.
When running off kdbus, there is no dbus.socket at all.
This
From: Giovanni Campagna
Accept a command line argument, --user, that instructs the bus
driver to connect to the user bus instead of the system bus.
For consistency with other services, --system, --help and --version
are recognized too.
---
src/bus-driverd/bus-driverd.c | 78
From: Giovanni Campagna
The bus proxy and bus driver need to connect to the user bus when
started by the user manager, so they need different service files.
Also, they cannot have their capability bounding set restricted
(because the unprivileged systemd can't do that), and at the same
time
From: Giovanni Campagna
The VT number was already part of the DBus API, but was not
exposed in the C API.
---
man/sd_session_is_active.xml | 13 +
src/login/libsystemd-login.sym | 5 +
src/login/sd-login.c | 18 ++
src/systemd/sd-login.h | 3
From: Giovanni Campagna
The VT number was already part of the DBus API, but was not
exposed in the C API.
---
src/login/sd-login.c | 4
src/systemd/sd-login.h | 3 +++
2 files changed, 7 insertions(+)
diff --git a/src/login/sd-login.c b/src/login/sd-login.c
index 0658792..2ea823d 100644
Not all systems ships with locales inside /usr/lib/locale-archive, some
prefer to have locale data as individual subdirectories of /usr/lib/locale.
(A notable example of this is OpenEmbeddded, and OSes deriving from it
like gnome-ostree).
Given that glibc supports both ways, localectl should too.
-
From: Giovanni Campagna
Not all systems ships with locales inside /usr/lib/locale-archive, some
prefer to have locale data as individual subdirectories of /usr/lib/locale.
(A notable example of this is OpenEmbeddded, and OSes deriving from it
like gnome-ostree).
Given that glibc supports both
10 matches
Mail list logo