Re: [systemd-devel] [PATCH][RFC][V2] systemd-analyze: rewrite in C. (Was: systemd-analyze-197 broken)

2013-01-25 Thread William Giokas
On Sun, Jan 20, 2013 at 06:00:29PM +0100, Peeters Simon wrote: > Hej all, > > Because of the discution about the python dependencies for systemd-analyze > I made a rewrite in C. > > The patch is available from my github repo[1] so please test it. > (especially efi systems with gummyboot since I a

Re: [systemd-devel] vncserver@.service

2013-01-25 Thread Ian Pilcher
On 01/23/2013 08:59 AM, Reindl Harald wrote: > and why do you not use the User= and Group= options? ISTR reading that runuser was added because User= and Group= don't actually log in, which is required by vncserver. -- Ian

Re: [systemd-devel] [systemd PATCH 1/2] Fix mismatching pipe close opened by popen()

2013-01-25 Thread Kok, Auke-jan H
On Fri, Jan 25, 2013 at 8:50 AM, Zbigniew Jędrzejewski-Szmek wrote: > On Fri, Jan 25, 2013 at 01:58:54PM +0100, Thomas Jarosch wrote: >> cppcheck reported: >> [src/bootchart/svg.c:791]: (error) Mismatching allocation and deallocation: f >> >> Signed-off-by: Thomas Jarosch >> --- >> src/bootchart

Re: [systemd-devel] Simple question.

2013-01-25 Thread Reindl Harald
Am 25.01.2013 23:35, schrieb Kok: >> and what does this change in the fact that httpd has >> it's own configuration options for user and group? > > Users may not have root permissions in the first place? > > It's not a weird question, I used to do this with apache-1.3 and run > it under xinetd

Re: [systemd-devel] Simple question.

2013-01-25 Thread Kok, Auke-jan H
On Fri, Jan 25, 2013 at 9:16 AM, Reindl Harald wrote: > > > Am 25.01.2013 18:14, schrieb Mantas Mikulėnas: >> On Fri, Jan 25, 2013 at 6:50 PM, Reindl Harald >> wrote: >>> Am 25.01.2013 17:42, schrieb Daniel J Walsh: How would I write a unit file to run an apache service as the user dwalsh

Re: [systemd-devel] Simple question.

2013-01-25 Thread Mantas Mikulėnas
On Fri, Jan 25, 2013 at 7:16 PM, Reindl Harald wrote: > > > Am 25.01.2013 18:14, schrieb Mantas Mikulėnas: >> On Fri, Jan 25, 2013 at 6:50 PM, Reindl Harald >> wrote: >>> Am 25.01.2013 17:42, schrieb Daniel J Walsh: How would I write a unit file to run an apache service as the user dwalsh

Re: [systemd-devel] Someone working on gui for multiseat?

2013-01-25 Thread poma
On 01/21/2013 10:22 PM, Stef Bon wrote: > Hi, > > First I'm talking about ud-160-A. > > Second the patch: > > https://bugzilla.redhat.com/show_bug.cgi?id=894299 > > It's a patch for the displaylink driver. > > Third: > > have you tried to connect the monitor using the vga adapter? > That shou

Re: [systemd-devel] multiseat broken with udl.ko - Fedora 18

2013-01-25 Thread poma
On 01/23/2013 04:16 AM, Lennart Poettering wrote: > On Sat, 19.01.13 04:24, poma (pomidorabelis...@gmail.com) wrote: > >> >> On 01/18/2013 07:23 PM, Lennart Poettering wrote: >>> On Fri, 18.01.13 16:57, poma (pomidorabelis...@gmail.com) wrote: >>> Bonne journée, If brackets can

Re: [systemd-devel] Someone working on gui for multiseat?

2013-01-25 Thread poma
On 01/23/2013 02:55 AM, Lennart Poettering wrote: > On Mon, 21.01.13 21:56, poma (pomidorabelis...@gmail.com) wrote: > >> This is contradictory to what I have experienced with DisplayLink DL-165 >> based device[1]. >> *Without engaging multiseat(udev's rule)* picture is garbled on the >> connected

Re: [systemd-devel] [PATCH] keymap: Add support for the brower hotkey on the HP Pavilion

2013-01-25 Thread Ayan George
Zbigniew J??drzejewski-Szmek wrote: > On Fri, Jan 25, 2013 at 03:47:34PM +, Ayan George wrote: > > Bug: https://bugs.launchpad.net/ubuntu/+bug/1105191 > > --- > > src/udev/keymap/95-keymap.rules | 1 + > > 1 file changed, 1 insertion(+) > Those two patches seem identical. I think the one for

[systemd-devel] [PATCH] util: *DO NOT* loop for EINTR handling with close_nointr()

2013-01-25 Thread Colin Walters
Lightly tested in gnome-ostree qemu - review carefully please! See the linked references for why we should not do this. Signed-off-by: Colin Walters --- src/shared/util.c | 28 +--- 1 files changed, 17 insertions(+), 11 deletions(-) >From 628879d838207753f31c5f5379db

Re: [systemd-devel] Simple question.

2013-01-25 Thread Lennart Poettering
On Fri, 25.01.13 11:42, Daniel J Walsh (dwa...@redhat.com) wrote: > How would I write a unit file to run an apache service as the user dwalsh > (3267) User= in the [Service] section is what you are looking for. Lennart -- Lennart Poettering - Red Hat, Inc.

Re: [systemd-devel] [PATCH] List configuration dirs in order of a preference

2013-01-25 Thread Lennart Poettering
On Fri, 25.01.13 11:14, Michal Vyskocil (mvysko...@suse.cz) wrote: > It makes an order of a preference more clear without a need to read the > CONFIGURATION FORMAT section. To make this really clear: in systemd /etc overrides both /run and and /usr/. And /run overrides /usr. Administrator >> Ru

Re: [systemd-devel] Journal over NFS

2013-01-25 Thread Cliff Brake
On Thu, Jan 24, 2013 at 8:56 PM, David Strauss wrote: > I think mounting the journal directory over NFS is a bad idea. It's > most of why we've worked on journal2gelf at Pantheon and supported the > gateway HTTP-based access work. Agreed, I've concluded the same. We gave the gateway a try and it

Re: [systemd-devel] [PATCH] keymap: Add support for the brower hotkey on the HP Pavilion

2013-01-25 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jan 25, 2013 at 03:47:34PM +, Ayan George wrote: > Bug: https://bugs.launchpad.net/ubuntu/+bug/1105191 > --- > src/udev/keymap/95-keymap.rules | 1 + > 1 file changed, 1 insertion(+) Those two patches seem identical. I think the one for pavilion is wrong. Zbyszek _

Re: [systemd-devel] Simple question.

2013-01-25 Thread Reindl Harald
Am 25.01.2013 18:14, schrieb Mantas Mikulėnas: > On Fri, Jan 25, 2013 at 6:50 PM, Reindl Harald wrote: >> Am 25.01.2013 17:42, schrieb Daniel J Walsh: >>> How would I write a unit file to run an apache service as the user dwalsh >>> (3267) >> why would someone do this with systemd? >> httpd nee

Re: [systemd-devel] Simple question.

2013-01-25 Thread Mantas Mikulėnas
On Fri, Jan 25, 2013 at 6:50 PM, Reindl Harald wrote: > > > Am 25.01.2013 17:42, schrieb Daniel J Walsh: >> How would I write a unit file to run an apache service as the user dwalsh >> (3267) > why would someone do this with systemd? > httpd needs to get started as root to bind the port! Not if

Re: [systemd-devel] [PATCH] tmpfiles: introduce type X

2013-01-25 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jan 25, 2013 at 11:59:14AM +0100, Michal Sekletar wrote: > Hello, > > On Thu, 2013-01-24 at 23:08 +0100, Zbigniew Jędrzejewski-Szmek wrote: > > Yeah, this seems like a useful thing, but what is the intended usecase? > > Intended use case is using this type for /tmp/systemd-private-* > and

Re: [systemd-devel] [systemd PATCH 1/2] Fix mismatching pipe close opened by popen()

2013-01-25 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jan 25, 2013 at 01:58:54PM +0100, Thomas Jarosch wrote: > cppcheck reported: > [src/bootchart/svg.c:791]: (error) Mismatching allocation and deallocation: f > > Signed-off-by: Thomas Jarosch > --- > src/bootchart/svg.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --g

Re: [systemd-devel] Simple question.

2013-01-25 Thread Reindl Harald
Am 25.01.2013 17:42, schrieb Daniel J Walsh: > How would I write a unit file to run an apache service as the user dwalsh > (3267) why would someone do this with systemd? httpd needs to get started as root to bind the port! systemd supports such nice things but it is completly wrong for daemons

[systemd-devel] Simple question.

2013-01-25 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 How would I write a unit file to run an apache service as the user dwalsh (3267) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlECthIACgkQrlYvE4MpobNjEQCf

Re: [systemd-devel] [systemd PATCH 2/2] Fix file descriptor leak in efi_get_variable()

2013-01-25 Thread Lennart Poettering
On Fri, 25.01.13 13:59, Thomas Jarosch (thomas.jaro...@intra2net.com) wrote: > Detected by cppcheck. > > Signed-off-by: Thomas Jarosch > --- > src/shared/efivars.c | 27 +-- > 1 file changed, 21 insertions(+), 6 deletions(-) > > diff --git a/src/shared/efivars.c b/src/s

[systemd-devel] [PATCH] keymap: Add support for the brower hotkey on the HP ProBook

2013-01-25 Thread Ayan George
Bug: https://bugs.launchpad.net/ubuntu/+bug/1105191 --- src/udev/keymap/95-keymap.rules | 1 + 1 file changed, 1 insertion(+) diff --git a/src/udev/keymap/95-keymap.rules b/src/udev/keymap/95-keymap.rules index 347b5a1..def7ea9 100644 --- a/src/udev/keymap/95-keymap.rules +++ b/src/udev/keymap/95

[systemd-devel] [PATCH] keymap: Add support for the brower hotkey on the HP Pavilion

2013-01-25 Thread Ayan George
Bug: https://bugs.launchpad.net/ubuntu/+bug/1105191 --- src/udev/keymap/95-keymap.rules | 1 + 1 file changed, 1 insertion(+) diff --git a/src/udev/keymap/95-keymap.rules b/src/udev/keymap/95-keymap.rules index 347b5a1..def7ea9 100644 --- a/src/udev/keymap/95-keymap.rules +++ b/src/udev/keymap/95

Re: [systemd-devel] Recommendation for "systemd.module" unit

2013-01-25 Thread Mantas Mikulėnas
On Fri, Jan 25, 2013 at 2:18 AM, Larry Baker wrote: > Lennart, > > There's more to it than that. The DECnet kernel module must first be loaded > so that it creates /proc/net/decnet*. When the dnetd service is started, it > parses /etc/decnet.conf and writes the DECnet host address to > /proc/sys

Re: [systemd-devel] Someone working on gui for multiseat?

2013-01-25 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jan 25, 2013 at 02:59:34PM +0100, Stef Bon wrote: > 1. When dealing with a docking station (like those from plugable) on a > laptop, the reason the user wants to use it, is to use a bigger screen and > a "real" keyboard and mouse. In this case you don't want a second session > (with greete

Re: [systemd-devel] Someone working on gui for multiseat?

2013-01-25 Thread Stef Bon
2013/1/25 Olav Vitters > > So perhaps it would make sense to look at implementing the GUI as a > > component that will eventually be part of the GNOME systemsettings? i.e. > > make a bold statement about where it should live. If it proves to be > > useful and popular, then some KDE/Qt centric fol

Re: [systemd-devel] [PATCH] selinux-access: Delete debugging message logged as an error

2013-01-25 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/24/2013 10:47 PM, Lennart Poettering wrote: > On Thu, 24.01.13 17:47, Colin Walters (walt...@verbum.org) wrote: > >> I don't see why this should be logged at all, so let's delete it. > > Applied. I also removed a couple of other messages that a

[systemd-devel] [systemd PATCH 2/2] Fix file descriptor leak in efi_get_variable()

2013-01-25 Thread Thomas Jarosch
Detected by cppcheck. Signed-off-by: Thomas Jarosch --- src/shared/efivars.c | 27 +-- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/src/shared/efivars.c b/src/shared/efivars.c index d5cb88c..4402aec 100644 --- a/src/shared/efivars.c +++ b/src/shared/efiv

[systemd-devel] [systemd PATCH 1/2] Fix mismatching pipe close opened by popen()

2013-01-25 Thread Thomas Jarosch
cppcheck reported: [src/bootchart/svg.c:791]: (error) Mismatching allocation and deallocation: f Signed-off-by: Thomas Jarosch --- src/bootchart/svg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootchart/svg.c b/src/bootchart/svg.c index 156918a..550f769 100644 --- a

Re: [systemd-devel] Someone working on gui for multiseat?

2013-01-25 Thread Olav Vitters
On Wed, Jan 23, 2013 at 10:39:46AM +, Colin Guthrie wrote: > 'Twas brillig, and Stef Bon at 23/01/13 10:28 did gyre and gimble: > > what should the gui toolkit be? Gtk3? I prefer that over qt, which is > > not my favorite. > > > > And is there a location to store the project? I can of course g

Re: [systemd-devel] [PATCH] tmpfiles: introduce type X

2013-01-25 Thread Michal Sekletar
Hello, On Thu, 2013-01-24 at 23:08 +0100, Zbigniew Jędrzejewski-Szmek wrote: > Yeah, this seems like a useful thing, but what is the intended usecase? Intended use case is using this type for /tmp/systemd-private-* and /var/tmp/systemd-private-* directories, thus we will never delete directory mo

Re: [systemd-devel] [PATCH] List configuration dirs in order of a preference

2013-01-25 Thread Michal Vyskocil
On Fri, Jan 25, 2013 at 11:21:35AM +0100, Peter Sztanojev wrote: > On Fri, Jan 25, 2013 at 11:14 AM, Michal Vyskocil wrote: > > It makes an order of a preference more clear without a need to read the > > CONFIGURATION FORMAT section. > > --- > > man/binfmt.d.xml |2 +- > > man/modules-l

Re: [systemd-devel] [PATCH] List configuration dirs in order of a preference

2013-01-25 Thread Peter Sztanojev
On Fri, Jan 25, 2013 at 11:14 AM, Michal Vyskocil wrote: > It makes an order of a preference more clear without a need to read the > CONFIGURATION FORMAT section. > --- > man/binfmt.d.xml |2 +- > man/modules-load.d.xml |2 +- > man/sysctl.d.xml |2 +- > man/systemd.preset

[systemd-devel] [PATCH] List configuration dirs in order of a preference

2013-01-25 Thread Michal Vyskocil
It makes an order of a preference more clear without a need to read the CONFIGURATION FORMAT section. --- man/binfmt.d.xml |2 +- man/modules-load.d.xml |2 +- man/sysctl.d.xml |2 +- man/systemd.preset.xml |4 ++-- man/tmpfiles.d.xml |2 +- 5 files changed, 6 i