Re: [systemd-devel] [PATCH] fstab-generator: add x-systemd.{after, requires-mounts-for}=

2015-05-12 Thread Andrei Borzenkov
В Tue, 12 May 2015 20:37:15 +0200 Karel Zak пишет: > On Tue, May 12, 2015 at 07:29:33PM +0300, Andrei Borzenkov wrote: > > В Tue, 12 May 2015 18:04:50 +0200 > > Karel Zak пишет: > > > > > Currently we have no way how to specify dependencies between fstab > > > entries (or another units) in the

Re: [systemd-devel] [PATCH] fsck: define fsck return codes

2015-05-12 Thread Thomas H.P. Andersen
On Tue, May 12, 2015 at 6:17 PM, Lennart Poettering wrote: > On Tue, 12.05.15 01:00, Lennart Poettering (lenn...@poettering.net) wrote: > >> On Tue, 12.05.15 00:58, Thomas H.P. Andersen (pho...@gmail.com) wrote: >> > >> > +#define FSCK_NO_ERROR 0 >> > +#define FSCK_ERROR_CORRECTED 1 >> > +#define

Re: [systemd-devel] [PATCH] fstab-generator: add x-systemd.{after, requires-mounts-for}=

2015-05-12 Thread Karel Zak
On Tue, May 12, 2015 at 07:29:33PM +0300, Andrei Borzenkov wrote: > В Tue, 12 May 2015 18:04:50 +0200 > Karel Zak пишет: > > > Currently we have no way how to specify dependencies between fstab > > entries (or another units) in the /etc/fstab. It means that users are > > forced to bypass fstab an

Re: [systemd-devel] [PATCH] fstab-generator: add x-systemd.{after, requires-mounts-for}=

2015-05-12 Thread systemd github import bot
Patchset imported to github. Pull request: -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing li

Re: [systemd-devel] [PATCH] fstab-generator: add x-systemd.{after, requires-mounts-for}=

2015-05-12 Thread Andrei Borzenkov
В Tue, 12 May 2015 18:04:50 +0200 Karel Zak пишет: > Currently we have no way how to specify dependencies between fstab > entries (or another units) in the /etc/fstab. It means that users are > forced to bypass fstab and write .mount units manually. > Actually we have. mkdir -p /etc/systemd/sy

Re: [systemd-devel] [PATCH] fsck: define fsck return codes

2015-05-12 Thread Lennart Poettering
On Tue, 12.05.15 01:00, Lennart Poettering (lenn...@poettering.net) wrote: > On Tue, 12.05.15 00:58, Thomas H.P. Andersen (pho...@gmail.com) wrote: > > > > +#define FSCK_NO_ERROR 0 > > +#define FSCK_ERROR_CORRECTED 1 > > +#define FSCK_SYSTEM_SHOULD_REBOOT 2 > > +#define FSCK_ERRORS_LEFT_UNCORREC

[systemd-devel] [PATCH] fstab-generator: add x-systemd.{after, requires-mounts-for}=

2015-05-12 Thread Karel Zak
Currently we have no way how to specify dependencies between fstab entries (or another units) in the /etc/fstab. It means that users are forced to bypass fstab and write .mount units manually. Years ago Lennart suggested to add x-systemd.after= - to specify dependence an another mount (PATH is

Re: [systemd-devel] [PATCH] man: mention that tools like imjournal will not work with Storage=none

2015-05-12 Thread Zbigniew Jędrzejewski-Szmek
On Tue, May 12, 2015 at 05:00:20PM +0200, Lukas Nykryn wrote: > Manpage for journald.conf mentions that syslog will still work if you > set Storage=none, but this is not true for some specific setups. > For example rhel7 and combination of journal, rsyslog and imjournal plugin. > --- > man/journal

Re: [systemd-devel] [PATCH] man: mention that tools like imjournal will not work with Storage=none

2015-05-12 Thread systemd github import bot
Patchset imported to github. Pull request: -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing

[systemd-devel] [PATCH] man: mention that tools like imjournal will not work with Storage=none

2015-05-12 Thread Lukas Nykryn
Manpage for journald.conf mentions that syslog will still work if you set Storage=none, but this is not true for some specific setups. For example rhel7 and combination of journal, rsyslog and imjournal plugin. --- man/journald.conf.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) dif

Re: [systemd-devel] [PATCH] [PATCH v3] core: Private*/Protect* options with RootDirectory

2015-05-12 Thread systemd github import bot
Patchset imported to github. Pull request: -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailin

[systemd-devel] [PATCH] [PATCH v3] core: Private*/Protect* options with RootDirectory

2015-05-12 Thread Alban Crequy
From: Alban Crequy When a service is chrooted with the option RootDirectory=/opt/..., then the options PrivateDevices, PrivateTmp, ProtectHome, ProtectSystem must mount the directories under $RootDirectory/{dev,tmp,home,usr,boot}. This can be tested with test-ns as root: # export TEST_NS_PROJEC

Re: [systemd-devel] [PATCH] unit: Set KillMode=mixed for services which use sulogin

2015-05-12 Thread Michael Biebl
2015-05-12 0:03 GMT+02:00 Lennart Poettering : > On Tue, 12.05.15 00:01, Lennart Poettering (lenn...@poettering.net) wrote: > >> On Mon, 11.05.15 23:50, Michael Biebl (mbi...@gmail.com) wrote: >> >> > 2015-05-08 17:43 GMT+02:00 Michael Biebl : >> > > See >> > > http://lists.freedesktop.org/archive

Re: [systemd-devel] [PATCH 1/1] Fix typo

2015-05-12 Thread systemd github import bot
Patchset imported to github. Pull request: -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing

[systemd-devel] [PATCH 1/1] Fix typo

2015-05-12 Thread Peter Lemenkov
Looks like sizeof(struct Header) is 240 not 224 Signed-off-by: Peter Lemenkov --- src/journal/journal-def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/journal/journal-def.h b/src/journal/journal-def.h index ab089cb..39c9dd0 100644 --- a/src/journal/journal-def.h +++

Re: [systemd-devel] suspend-utils and systemd

2015-05-12 Thread Peter Dahlberg
Hi, > We only support the in-kernel default suspend-to-disk and suspend-to-ram > implementations. We don't really support any other implementations of > the logic upstream, and especially not out-of-tree ones. > > You can of course override the implementation of systemd-suspend.service > and syst