Re: [systemd-devel] [HEADS-UP] systemd down/upstream meeting at FOSDEM?

2013-02-01 Thread Kay Sievers
On Jan 29, 2013 9:30 PM, "Lennart Poettering" wrote: > > On Wed, 23.01.13 20:53, Lennart Poettering (lenn...@poettering.net) wrote: > > > > > Anybody else is coming who'd like to join us? Anybody from ArchLinux > > > > attending FOSDEM? SUSE? Or the other distributions? > > > > > > I'll be there t

[systemd-devel] [PATCH] tests: add test for envfile with comments

2013-02-01 Thread Zbigniew Jędrzejewski-Szmek
--- Hi, can you check if it works with the following test case? For me it doesn't, and I think there must be a bug. Zbyszek src/test/test-strv.c | 10 - src/test/test-unit-file.c | 53 +-- 2 files changed, 43 insertions(+), 20 deletions(-)

Re: [systemd-devel] [PATCH] core: reuse the same /tmp and /var/tmp

2013-02-01 Thread Tom Gundersen
On Fri, Feb 1, 2013 at 6:43 PM, Michal Sekletar wrote: > All Execs within the service, will get mounted the same /tmp and /var/tmp > directories, if service is configured with PrivateTmp=yes. Temporary > directories are cleaned up by service itself, rather than relying on > systemd-tmpfiles. > ---

Re: [systemd-devel] changing the "mount --make-shared /" default

2013-02-01 Thread Mantas Mikulėnas
On Fri, Feb 1, 2013 at 11:59 PM, Colin Walters wrote: > On Fri, 2013-02-01 at 14:40 -0700, Jake Edge wrote: > Anyways, a unit which just invokes mount --make-rprivate / after say > basic.target would probably work. I think the next version of util-linux will support "rprivate" as a fstab option (

Re: [systemd-devel] changing the "mount --make-shared /" default

2013-02-01 Thread Jake Edge
On Fri, 01 Feb 2013 16:59:19 -0500 Colin Walters wrote: > > Yes, that's a way to programmatically do it on an as-needed basis, > > which is great, thanks. But what I was looking for was a way to > > tell systemd to change the default back to private at boot time as > > Lennart suggested in the com

Re: [systemd-devel] changing the "mount --make-shared /" default

2013-02-01 Thread Colin Walters
On Fri, 2013-02-01 at 14:40 -0700, Jake Edge wrote: > On Fri, 01 Feb 2013 16:33:26 -0500 Colin Walters wrote: > > On Fri, 2013-02-01 at 12:50 -0700, Jake Edge wrote: > > > > > I am not sure that I want the default to be "private", but if I did, > > > what is the proper, systemd-ish way to do so? >

Re: [systemd-devel] changing the "mount --make-shared /" default

2013-02-01 Thread Jake Edge
On Fri, 01 Feb 2013 16:33:26 -0500 Colin Walters wrote: > On Fri, 2013-02-01 at 12:50 -0700, Jake Edge wrote: > > > I am not sure that I want the default to be "private", but if I did, > > what is the proper, systemd-ish way to do so? > > If you're creating a private mount namespace, then: > > h

Re: [systemd-devel] changing the "mount --make-shared /" default

2013-02-01 Thread Colin Walters
On Fri, 2013-02-01 at 12:50 -0700, Jake Edge wrote: > I am not sure that I want the default to be "private", but if I did, > what is the proper, systemd-ish way to do so? If you're creating a private mount namespace, then: http://git.gnome.org/browse/linux-user-chroot/tree/src/linux-user-chroot.

Re: [systemd-devel] [PATCH] core: reuse the same /tmp and /var/tmp

2013-02-01 Thread David Strauss
+1 on explicitly cleaning up namespace directories rather than waiting for tmp files. On Fri, Feb 1, 2013 at 9:47 AM, Michal Sekletar wrote: > Hello Michal, > > thank you for the review. I've added explicit free to previously > strduped strings rather than setting flag to true earlier and trying

[systemd-devel] changing the "mount --make-shared /" default

2013-02-01 Thread Jake Edge
[ OK, let's try this again ... since I'm impatient about it sitting in the moderator queue, I went ahead and joined up ] Hi Lennart (and the rest of the systemd gang), I was quite surprised by some behavior that I found today in Fedora 18, which I think comes from systemd. I was trying to play w

Re: [systemd-devel] [PATCH] core: reuse the same /tmp and /var/tmp

2013-02-01 Thread Michal Sekletar
Hello Michal, thank you for the review. I've added explicit free to previously strduped strings rather than setting flag to true earlier and trying to remove non-existing dirs on failure. I hope that fix the issue you pointed out. Regards, Michal Sekletar _

[systemd-devel] [PATCH] core: reuse the same /tmp and /var/tmp

2013-02-01 Thread Michal Sekletar
All Execs within the service, will get mounted the same /tmp and /var/tmp directories, if service is configured with PrivateTmp=yes. Temporary directories are cleaned up by service itself, rather than relying on systemd-tmpfiles. --- src/core/execute.c | 30 +-- src/core/execute.h |

Re: [systemd-devel] journal use case -- advice requested

2013-02-01 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jan 31, 2013 at 10:51:07PM -0800, David Strauss wrote: > We're using a wrapper for sd_journal_print() that adds a few extra > items before the message: the thread ID and the build ID. This is okay > for now, but I'd really like to get advice on how to inject those as > proper fields without

Re: [systemd-devel] [PATCH] core: reuse the same /tmp and /var/tmp

2013-02-01 Thread Michal Schmidt
On 02/01/2013 04:09 PM, Michal Sekletar wrote: All Execs within the service, will get mounted the same /tmp and /var/tmp directories, if service is configured with PrivateTmp=yes. Temporary directories are cleaned up by service itself, rather than relying on systemd-tmpfiles. Thank you taking o

[systemd-devel] [PATCH] core: reuse the same /tmp and /var/tmp

2013-02-01 Thread Michal Sekletar
All Execs within the service, will get mounted the same /tmp and /var/tmp directories, if service is configured with PrivateTmp=yes. Temporary directories are cleaned up by service itself, rather than relying on systemd-tmpfiles. --- src/core/execute.c | 30 +-- src/core/execute.h |

[systemd-devel] Suggestion on StartLimitAction=

2013-02-01 Thread Allmeroth, Robert
Hello, On embedded systems it is sometimes not very useful to call shutdown scripts or reboot(2) in case of a watchdog failure / failed service (re)starting, e.g. FS/Flash corruption, FS driver failure, special HW init failure - Typically important file systems are read-only on embedded systems

[systemd-devel] [PATCH] Correctly parse commented multiline variables

2013-02-01 Thread Michal Vyskocil
Buffer c must be freeed when code detects a comment or empty string after a strip. Otherwise no other variable definitions will be loaded. fixes: 565d91fdf fixes: https://bugzilla.novell.com/show_bug.cgi?id=793411#c13 --- src/shared/util.c | 10 -- 1 file changed, 8 insertions(+), 2 del

[systemd-devel] [PATCH] man: remove boot up runlevel support

2013-02-01 Thread Umut Tezduyar
As of 3cdebc217c42c8529086f2965319b6a48eaaeabe support for distro specific boot up runlevels has been dropped. --- man/systemd.special.xml | 10 -- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/man/systemd.special.xml b/man/systemd.special.xml index 6acba91..0d1df84 100

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

2013-02-01 Thread Stef Bon
2013/1/29 Lennart Poettering > On Tue, 29.01.13 13:28, Stef Bon (stef...@gmail.com) wrote: > > to use an external textfile or db in combination with a specfic script > for > > this purpose?? > > It sounds as if you are asking for the for the udev hardware database > stuff we recently added which