[systemd-devel] [PATCH 2/2] tmpfiles: explicitly check for existing files

2014-08-17 Thread Michael Olbrich
On read-only filesystems trying to create the target will not fail with EEXIST but with EROFS. --- Some more cases that fail on read-only filesystems. src/tmpfiles/tmpfiles.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/tmpfiles/tmpfiles.c

[systemd-devel] [PATCHv2 1/2] tmpfiles: only execute chmod()/chown() when needed

2014-08-17 Thread Michael Olbrich
This avoids errors like this, when the paths are already there with the correct permissions and owner: chmod(/var/spool) failed: Read-only file system --- Changes since v1: - remember if stat() was successful and use it everywhere. The original code checked for 'stat() = 0'. Any reason for

[systemd-devel] Build errors with lto and compat-libs

2014-08-17 Thread Michael Olbrich
Hi, With --enable-compat-libs building fails like this: CCLD libsystemd-journal.la [...] /tmp/ccISOiYU.ltrans1.ltrans.o: In function `sd_journal_process': ccISOiYU.ltrans1.o:(.text+0x0): multiple definition of `sd_journal_process' libsystemd_journal_internal_la-sd-journal.o (symbol from

Re: [systemd-devel] [aur-requests] [PRQ#512] Request Accepted

2014-08-17 Thread Ivan Shapovalov
On Sunday 17 August 2014 at 11:18:25, Martti Kühne wrote: On Sun, Aug 17, 2014 at 7:39 AM, carstene1ns a...@carsten-teibes.de wrote: Package maintainer was a TU and he even re-uploaded the package now. Who is at fault here? FredBezies for requesting? foutrelis for deleting? keenerd

[systemd-devel] PGP replacement?

2014-08-17 Thread Mauricio Tavares
So http://blog.cryptographyengineering.com/2014/08/whats-matter-with-pgp.html makes the point that pgp is old school and should be taken to the pasture to die. Like upstart and inetd I take. Is there a replacement built into systemd? If not, I would like to suggest that as something to be

Re: [systemd-devel] Implementing resume from hibernation as a systemd unit file

2014-08-17 Thread Ivan Shapovalov
On Friday 15 August 2014 at 15:35:06, Ivan Shapovalov wrote: [...] Ah, right. This is actually correct here. We want to make sure that the root fs is remounted before we mount the other units, since this might required creating additional directories to mount things on... There

Re: [systemd-devel] PGP replacement?

2014-08-17 Thread Tomasz Torcz
On Sun, Aug 17, 2014 at 08:35:00AM -0400, Mauricio Tavares wrote: So http://blog.cryptographyengineering.com/2014/08/whats-matter-with-pgp.html makes the point that pgp is old school and should be taken to the pasture to die. Like upstart and inetd I take. Is there a replacement built

[systemd-devel] seat1 ACL

2014-08-17 Thread Floris
Hey, maybe I'm missing something, but a user on the second seat (seat1) does not get the right rights from logind. $ udevadm info /dev/snd/controlC2 P: /devices/pci:00/:00:1e.0/:08:02.0/sound/card2/controlC2 N: snd/controlC2 S: snd/by-path/pci-:08:02.0 E:

Re: [systemd-devel] PGP replacement?

2014-08-17 Thread Mauricio Tavares
On Aug 17, 2014 1:33 PM, Tomasz Torcz to...@pipebreaker.pl wrote: On Sun, Aug 17, 2014 at 08:35:00AM -0400, Mauricio Tavares wrote: So http://blog.cryptographyengineering.com/2014/08/whats-matter-with-pgp.html makes the point that pgp is old school and should be taken to the pasture

[systemd-devel] [RFC] Integrate export mount command in code

2014-08-17 Thread Timofey Titovets
Good time of day, i just want to ask: Systemd depend on util-linux mount command and in code we call him, may have a sense to import and cleanup code to systemd base, and just call function in systemd, instead of using mount command? But only benefit what i see: it faster, when call external

Re: [systemd-devel] [RFC] Integrate export mount command in code

2014-08-17 Thread Dave Reisner
On Mon, Aug 18, 2014 at 12:25:00AM +0300, Timofey Titovets wrote: Good time of day, i just want to ask: Systemd depend on util-linux mount command and in code we call him, may have a sense to import and cleanup code to systemd base, and just call function in systemd, instead of using mount

Re: [systemd-devel] [RFC] Integrate export mount command in code

2014-08-17 Thread Timofey Titovets
Thanks for explanation, it thread can be closed. 2014-08-18 0:41 GMT+03:00 Dave Reisner d...@falconindy.com: On Mon, Aug 18, 2014 at 12:25:00AM +0300, Timofey Titovets wrote: Good time of day, i just want to ask: Systemd depend on util-linux mount command and in code we call him, may have a