[systemd-devel] systemd shutdown problem on openSuSE 13.1 with NFS mounted user home

2014-02-04 Thread Rainer Krienke
Hello, I am experiencing problems on openSuSE 13.1 systems using systemd, iff this system uses NFS mounts for the users home directory mounted by automount. Regular 13.1 installations with local user home directories just work fine. The problem is, that when trying to shut the system down this

Re: [systemd-devel] systemd shutdown problem on openSuSE 13.1 with NFS mounted user home

2014-02-04 Thread Reindl Harald
Am 04.02.2014 11:31, schrieb Rainer Krienke: I am experiencing problems on openSuSE 13.1 systems using systemd, iff this system uses NFS mounts for the users home directory mounted by automount. Regular 13.1 installations with local user home directories just work fine. The problem is,

Re: [systemd-devel] systemd shutdown problem on openSuSE 13.1 with NFS mounted user home

2014-02-04 Thread Frederic Crozat
Le mardi 04 février 2014 à 11:31 +0100, Rainer Krienke a écrit : Hello, I am experiencing problems on openSuSE 13.1 systems using systemd, iff this system uses NFS mounts for the users home directory mounted by automount. Regular 13.1 installations with local user home directories just

Re: [systemd-devel] [PATCH] udev: Adding zram to inappropriate block device

2014-02-04 Thread Lennart Poettering
On Sun, 02.02.14 15:27, Jóhann B. Guðmundsson (johan...@gmail.com) wrote: udev seems to have a race condition with swapon to see which can open /dev/zram0 first, causing swapon to fail. ( seems to be most noticeable on arm devices one out of every 7 times or something ) and this patches

Re: [systemd-devel] [PATCH] manager: use CMSG macros

2014-02-04 Thread Lennart Poettering
On Sun, 02.02.14 12:18, Shawn Landden (sh...@churchofgit.com) wrote: Please elaborate what this is supposed to do? --- src/core/manager.c | 29 + 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/src/core/manager.c b/src/core/manager.c index

Re: [systemd-devel] [PATCH 1/1] Add SELinux support to systemd-nspawn

2014-02-04 Thread Lennart Poettering
On Thu, 30.01.14 16:28, Daniel J Walsh (dwa...@redhat.com) wrote: Heya, Please also add these options to the man page... + -L --filelabel=LABEL Set the MAC file label to be used by tmpfs file systems in container\n + -Z --processlabel=LABEL Set the MAC

Re: [systemd-devel] [PATCH] s390/getty-generator: initialize essential system terminals/consoles

2014-02-04 Thread Lennart Poettering
On Mon, 03.02.14 14:44, Hannes Reinecke (h...@suse.de) wrote: Which raises the question: what exactly should be 'active' contain? The console name (which doesn't have any equivalent in sysfs), or the tty name (which has)? Userspace expects that /sys/class/tty/console/active refers to a

Re: [systemd-devel] [PATCH] journal: Drop pkgconfig reference to libsystemd-id128.

2014-02-04 Thread Lennart Poettering
On Thu, 30.01.14 13:58, Colin Guthrie (co...@mageia.org) wrote: Applied! Thanks! This is now part of libsystemd. --- src/journal/libsystemd-journal.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/journal/libsystemd-journal.pc.in

Re: [systemd-devel] [PATCH] Use normal English elide in place of ellipsize

2014-02-04 Thread Andrey Borzenkov
В Tue, 4 Feb 2014 15:31:58 + Barry Scott barry.sc...@onelan.co.uk пишет: Change the messages output and also all internal function names and variables to match. As a non-native English speaker I must admit ellipsize was more understandable. I am not sure I would understand elide if it was

[systemd-devel] [PATCH] Use normal English elide in place of ellipsize

2014-02-04 Thread Barry Scott
Change the messages output and also all internal function names and variables to match. --- man/journalctl.xml | 2 +- man/loginctl.xml | 2 +- man/machinectl.xml | 2 +- man/systemctl.xml | 4 ++-- man/systemd-cgls.xml | 2 +-

Re: [systemd-devel] [PATCH] Use normal English elide in place of ellipsize

2014-02-04 Thread Barry Scott
On Tue 04 Feb 2014 19:36:34 Andrey Borzenkov wrote: В Tue, 4 Feb 2014 15:31:58 + Barry Scott barry.sc...@onelan.co.uk пишет: Change the messages output and also all internal function names and variables to match. As a non-native English speaker I must admit ellipsize was more

Re: [systemd-devel] [PATCH] s390/getty-generator: initialize essential system terminals/consoles

2014-02-04 Thread Dr. Werner Fink
On Tue, Feb 04, 2014 at 02:25:06PM +0100, Lennart Poettering wrote: On Mon, 03.02.14 14:44, Hannes Reinecke (h...@suse.de) wrote: Which raises the question: what exactly should be 'active' contain? The console name (which doesn't have any equivalent in sysfs), or the tty name (which

[systemd-devel] [PATCH] Use normal English elide in place of ellipsize

2014-02-04 Thread Barry Scott
Change the messages output and also all internal function names and variables to match. --- man/journalctl.xml | 2 +- man/loginctl.xml | 2 +- man/machinectl.xml | 2 +- man/systemctl.xml | 4 ++-- man/systemd-cgls.xml | 2 +-

Re: [systemd-devel] [PATCH] Use normal English elide in place of ellipsize

2014-02-04 Thread Colin Guthrie
'Twas brillig, and Andrey Borzenkov at 04/02/14 15:36 did gyre and gimble: В Tue, 4 Feb 2014 15:31:58 + Barry Scott barry.sc...@onelan.co.uk пишет: Change the messages output and also all internal function names and variables to match. As a non-native English speaker I must admit

Re: [systemd-devel] [PATCH] Use normal English elide in place of ellipsize

2014-02-04 Thread Shawn Landden
On Tue, Feb 4, 2014 at 8:15 AM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Andrey Borzenkov at 04/02/14 15:36 did gyre and gimble: В Tue, 4 Feb 2014 15:31:58 + Barry Scott barry.sc...@onelan.co.uk пишет: Change the messages output and also all internal function names

Re: [systemd-devel] [PATCH] Use normal English elide in place of ellipsize

2014-02-04 Thread Barry Scott
On Tue 04 Feb 2014 16:15:52 Colin Guthrie wrote: If we do want to describe the action taken rather than the effect, then I would use the word truncate here, rather than elide as this is really what happens now as implemented. But the output is not truncated. Here is example from my system:

Re: [systemd-devel] [PATCH] Use normal English elide in place of ellipsize

2014-02-04 Thread Colin Guthrie
'Twas brillig, and Barry Scott at 04/02/14 16:49 did gyre and gimble: On Tue 04 Feb 2014 16:15:52 Colin Guthrie wrote: If we do want to describe the action taken rather than the effect, then I would use the word truncate here, rather than elide as this is really what happens now as

Re: [systemd-devel] [PATCH] Use normal English elide in place of ellipsize

2014-02-04 Thread Lennart Poettering
On Tue, 04.02.14 15:45, Barry Scott (barry.sc...@onelan.co.uk) wrote: On Tue 04 Feb 2014 19:36:34 Andrey Borzenkov wrote: В Tue, 4 Feb 2014 15:31:58 + Barry Scott barry.sc...@onelan.co.uk пишет: Change the messages output and also all internal function names and variables to

Re: [systemd-devel] Mounting cifs per-user

2014-02-04 Thread Lennart Poettering
On Sat, 01.02.14 23:47, Dan Tihelka (dtihe...@gmail.com) wrote: Hello all, I have rather generic idea/question which probably not solvable yet. I, as an ordinary user, would like to mount cifs share (but it can generally be extended to any other dynamic media) on-demand to a given path

Re: [systemd-devel] [PATCH 2/2] syscallfilter: port to libseccomp

2014-02-04 Thread Ronny Chevalier
2014-01-27 Lennart Poettering lenn...@poettering.net: On Sat, 25.01.14 18:06, Ronny Chevalier (chevalier.ro...@gmail.com) wrote: Doesn't libseccomp provide a way to enumerate the contents of the defined filter again? I'd really prefer if we could find a way that specifiying a filter of

Re: [systemd-devel] [PATCH 1/1] Allow systemd to run without assigning container to machine.slice

2014-02-04 Thread Lennart Poettering
On Thu, 30.01.14 16:29, Daniel J Walsh (dwa...@redhat.com) wrote: If I want to run a container as a service, it would be nice if it used the service cgroup configuration I can see how this is useful, but I don't particularly like the nameing of this, as this might suggest a new service was

Re: [systemd-devel] [PATCH 1/1] Add SELinux support to systemd-nspawn

2014-02-04 Thread David Timothy Strauss
On Tue, Feb 4, 2014 at 5:22 AM, Lennart Poettering lenn...@poettering.net wrote: processlabel The actual code processes this option as label. I'll fix all of this up (including the asprintf) and then commit. ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH 1/1] Add SELinux support to systemd-nspawn

2014-02-04 Thread David Timothy Strauss
Pushed with the following changes: * Lennart's suggestions for option names. * Lennart's other suggestion for no asprintf() in the options processing. Moved the concatenation to strjoin() on use. * Removed redundant trailing NULL in the arguments to strjoin(). * Removed invalid option -s from

Re: [systemd-devel] [PATCH 2/2] syscallfilter: port to libseccomp

2014-02-04 Thread Lennart Poettering
On Tue, 04.02.14 20:59, Ronny Chevalier (chevalier.ro...@gmail.com) wrote: There is no problem if someone do something like: SystemCallFilter=write read execve SystemCallFilter=ioperm -- or -- SystemCallFilter=~write read execve SystemCallFilter=~ioperm But in a case like:

[systemd-devel] Service enable at runtime after union fs

2014-02-04 Thread Stefano Manni
Hi, I'm facing with a problem while trying to enable services whose files are not present at the boot time. Here is the scenario: 1. the service *apps-mount.service* mounts a squashfs containing different services in union (aufs) on /etc/systemd/system RESULT: in /etc/systemd/system there

Re: [systemd-devel] Allow stop jobs to be killed during shutdown

2014-02-04 Thread Lennart Poettering
On Wed, 29.01.14 19:29, Andrey Borzenkov (arvidj...@gmail.com) wrote: Thanks for tracking this done, this really sounds like you nailed the problem. Now, how to fix it? Hmm, so, I would claim this is a shortcoming of KillMode=control-group, which is the default for everything. There

Re: [systemd-devel] Debian Bug#618862: systemd: ignores keyscript in crypttab - a possible solution

2014-02-04 Thread Lennart Poettering
On Thu, 30.01.14 10:40, David Härdeman (da...@hardeman.nu) wrote: a) getting the name of the cryptdev that the password request corresponds to currently involves parsing the prompt message (Please enter passphrase for disk %s!) which is obviously not a real solution... This issue is

Re: [systemd-devel] [PATCH] Drop Before=paths/sockets/timers.target from DefaultDependencies.

2014-02-04 Thread Lennart Poettering
On Wed, 29.01.14 19:37, Andrey Borzenkov (arvidj...@gmail.com) wrote: So, in order to understand DefaultDependencies, you need to read the related bits in systemd.unit(5), systemd.service(5), systemd.timer(5), systemd.socket(5), systemd.path(5), systemd.slice(5), systemd.swap(5) and

Re: [systemd-devel] Service enable at runtime after union fs

2014-02-04 Thread Stefano Manni
Doesn't the 'systemctl enable' do a reload by itself? Anyway I tried to issue a systemctl daemon-reload after the enable for each service but it didn't work. What do you mean with 'requeue the target which should pull in the additional new deps'? Thanks Il mercoledì 5 febbraio 2014, Lennart

Re: [systemd-devel] Service enable at runtime after union fs

2014-02-04 Thread Lennart Poettering
On Wed, 05.02.14 00:26, Stefano Manni (stefano.ma...@gmail.com) wrote: Doesn't the 'systemctl enable' do a reload by itself? Yupp it does. Sorry for the confusion... Anyway I tried to issue a systemctl daemon-reload after the enable for each service but it didn't work. What do you mean

Re: [systemd-devel] StartTransientService problems

2014-02-04 Thread Lennart Poettering
On Fri, 31.01.14 16:42, Barry Scott (barry.sc...@onelan.co.uk) wrote: I have finally managed to get StartTransientService to run a process for me but I'm encountering issues: we start a daemon that calls StartTransientService as required. The daemon does not run as root, it runs as onelan.

Re: [systemd-devel] [PATCH] Use normal English elide in place of ellipsize

2014-02-04 Thread Jason St. John
On Tue, Feb 4, 2014 at 11:49 AM, Barry Scott barry.sc...@onelan.co.uk wrote: On Tue 04 Feb 2014 16:15:52 Colin Guthrie wrote: If we do want to describe the action taken rather than the effect, then I would use the word truncate here, rather than elide as this is really what happens now as

Re: [systemd-devel] [PATCH 2/2] syscallfilter: port to libseccomp

2014-02-04 Thread Shawn Landden
both libseccomp and systemd's use of it needs to be ported to arm, which supports seccomp filter mode. On Tue, Feb 4, 2014 at 2:40 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 04.02.14 20:59, Ronny Chevalier (chevalier.ro...@gmail.com) wrote: There is no problem if someone do

Re: [systemd-devel] Allow stop jobs to be killed during shutdown

2014-02-04 Thread Andrey Borzenkov
В Wed, 5 Feb 2014 00:10:51 +0100 Lennart Poettering lenn...@poettering.net пишет: On Wed, 29.01.14 19:29, Andrey Borzenkov (arvidj...@gmail.com) wrote: Thanks for tracking this done, this really sounds like you nailed the problem. Now, how to fix it? Hmm, so, I would claim this is

Re: [systemd-devel] Service enable at runtime after union fs

2014-02-04 Thread Stefano Manni
2014-02-05 Lennart Poettering lenn...@poettering.net: What do you mean with 'requeue the target which should pull in the additional new deps'? just do a second time systemctl start on your target There is something else between *apps-start.service* and *apps-started.target* and the