Re: [systemd-devel] [PATCH] man: fix Type= reference

2013-12-26 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Dec 27, 2013 at 07:46:20AM +0200, Mantas Mikulėnas wrote: > On Thu, Dec 26, 2013 at 11:01 PM, Zbigniew Jędrzejewski-Szmek > wrote: > > On Thu, Dec 26, 2013 at 05:47:57PM -0200, Marcos Felipe Rasia de Mello > > wrote: > >> Simple man page fix attached. > > Applied. > > It looks like the o

Re: [systemd-devel] [PATCH] man: fix Type= reference

2013-12-26 Thread Mantas Mikulėnas
On Thu, Dec 26, 2013 at 11:01 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Thu, Dec 26, 2013 at 05:47:57PM -0200, Marcos Felipe Rasia de Mello wrote: >> Simple man page fix attached. > Applied. It looks like the old version _was_ correct – the default value will be "Type=dbus" if the service has a

Re: [systemd-devel] [PATCH 3/4] units: differentiate the bus proxy and bus driver for the user manager

2013-12-26 Thread 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 should just allow the owner/creator of the bus, the > user in this case, to do all tha

Re: [systemd-devel] [PATCH 3/4] units: differentiate the bus proxy and bus driver for the user manager

2013-12-26 Thread Kay Sievers
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 should just allow the owner/creator of the bus, the user in this case, to do all that without the kernel capability. We should not leak privileges i

Re: [systemd-devel] [PATCH] make: Automake is complaining about .PRECIOUS being redefined

2013-12-26 Thread Holger Hans Peter Freyther
On Sat, Jul 20, 2013 at 08:37:14AM +0200, Holger Hans Peter Freyther wrote: > > But that looks like a plain automake bug. It should know that targets > > starting with a dot are not real targets. Could you file a bug > > report with automake, so this gets fixed properly? > > I sent an email to th

[systemd-devel] [HEADS-UP] kdbus Updates

2013-12-26 Thread Lennart Poettering
Heya! We reached a major milestone in kdbus development today. We have all the userspace and compat stuff ready to make a full Fedora system boot cleanly and work fine with kdbus on the backend. With current git kdbus and current git systemd things should just work. Here's a longer story about th

[systemd-devel] [PATCH 0/4] Fix running the user manager under kdbus

2013-12-26 Thread Giovanni Campagna
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

[systemd-devel] [PATCH 2/4] Fix dependencies of triggers for the user manager

2013-12-26 Thread Giovanni Campagna
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 | 2

[systemd-devel] [PATCH 4/4] core: don't add a dependency to dbus.socket for the user bus

2013-12-26 Thread Giovanni Campagna
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 f

[systemd-devel] [PATCH 1/4] bus-driverd: allow running for the user bus

2013-12-26 Thread Giovanni Campagna
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 +

[systemd-devel] [PATCH 3/4] units: differentiate the bus proxy and bus driver for the user manager

2013-12-26 Thread Giovanni Campagna
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 they

Re: [systemd-devel] Duplicate Messages in Journal

2013-12-26 Thread Garry T. Williams
On Friday, December 20, 2013 04:05:09 Zbigniew Jędrzejewski-Szmek wrote: > On Thu, Dec 19, 2013 at 09:11:17PM -0500, Garry T. Williams wrote: > > I see these messages in my journal: > > > > Dec 19 20:58:57 tfr systemd[1]: Started Load/Save Screen Backlight > > Brightness of acpi_video0. > > > > Wh

Re: [systemd-devel] [PATCH] man: fix Type= reference

2013-12-26 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Dec 26, 2013 at 05:47:57PM -0200, Marcos Felipe Rasia de Mello wrote: > Simple man page fix attached. Applied. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] systemctl: allow globbing in commands which take multiple unit names

2013-12-26 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Dec 26, 2013 at 06:49:31PM +0100, Lennart Poettering wrote: > Looks good. But maybe an additional warning should be printed if people > use globs on the "systemctl start" command line? Some shorter version of > the blurb you added to the man page? i am pretty sure people will run > into thi

Re: [systemd-devel] Bug#727708: [PATCH] systemctl: allow globbing in commands which take multiple unit names

2013-12-26 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Dec 26, 2013 at 09:41:42PM +0100, Lennart Poettering wrote: > On Thu, 26.12.13 10:09, Russ Allbery (r...@debian.org) wrote: > > What I've switched to instead is using tiny enums for this purpose. So: > > > > enum mangle_type { > > MANGLE_NOGLOB = 0, > > MANGLE_GLOB =

Re: [systemd-devel] Bug#727708: [PATCH] systemctl: allow globbing in commands which take multiple unit names

2013-12-26 Thread Lennart Poettering
On Thu, 26.12.13 10:09, Russ Allbery (r...@debian.org) wrote: > > Zbigniew Jędrzejewski-Szmek writes: > > > As discussed on IRC, here's a patch which takes the simple approach of > > allowing globbing on loaded unit names in various (almost all :)) systemctl > > commands. Comments? > > I don't

[systemd-devel] [PATCH] man: fix Type= reference

2013-12-26 Thread Marcos Felipe Rasia de Mello
Simple man page fix attached. -- Marcos 0001-man-fix-Type-reference.patch Description: Binary data ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Bug#727708: [PATCH] systemctl: allow globbing in commands which take multiple unit names

2013-12-26 Thread Russ Allbery
Zbigniew Jędrzejewski-Szmek writes: > As discussed on IRC, here's a patch which takes the simple approach of > allowing globbing on loaded unit names in various (almost all :)) systemctl > commands. Comments? I don't know the coding style of systemd, so please feel free to ignore this comment if

Re: [systemd-devel] [PATCH] systemctl: allow globbing in commands which take multiple unit names

2013-12-26 Thread Lennart Poettering
On Thu, 26.12.13 17:39, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > As discussed on IRC, here's a patch which takes the simple approach of > allowing globbing on loaded unit names in various (almost all :)) systemctl > commands. Comments? Looks good. But maybe an additional warning s

[systemd-devel] [PATCH] systemctl: allow globbing in commands which take multiple unit names

2013-12-26 Thread Zbigniew Jędrzejewski-Szmek
As discussed on IRC, here's a patch which takes the simple approach of allowing globbing on loaded unit names in various (almost all :)) systemctl commands. Comments? (There were some preperatory patches which I'm not posting here. Please fetch from http://kawka.in.waw.pl/git/systemd/commit/16a416