[systemd-devel] [PATCH] Added support for EnvironmentDir

2012-12-10 Thread Pekka Lundstrom
Signed-off-by: Pekka Lundstrom pekka.lundst...@jollamobile.com --- man/systemd.exec.xml | 27 src/core/dbus-execute.c | 33 ++ src/core/dbus-execute.h |1 + src/core/execute.c| 116

Re: [systemd-devel] [PATCH] Added support for EnvironmentDir

2012-12-10 Thread Jóhann B. Guðmundsson
snip ... /snip What's the usecase for environment directory? JBG ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] Added support for EnvironmentDir

2012-12-10 Thread Pekka Lundström
On 12/10/2012 04:17 PM, Jóhann B. Guðmundsson wrote: snip ... /snip What's the usecase for environment directory? Especially for user session we need to have common set of environment variables and these variables are coming from multiple packages. It doesn't work with environment files

Re: [systemd-devel] [PATCH] Added support for EnvironmentDir

2012-12-10 Thread Colin Guthrie
'Twas brillig, and Pekka Lundstrom at 10/12/12 13:56 did gyre and gimble: + termvarnameEnvironmentDir=/varname/term +listitemparaSimilar to +varnameEnvironmentFile=/varname but +

[systemd-devel] Offerta

2012-12-10 Thread geppo
TIPOGRAFIA e STAMPA DIGITALE www.tipiprint.com i...@stamparebene.com Tel.02 45 557 067 Gentile Cliente, Crediamo sia cosa gradita farvi pervenire questa nostra offerta relativa ai nostri stampati. E' una occasione da non perdere anche perche' potrete sfruttare questa OFFERTA fino a tutto il 2012

[systemd-devel] udev device mapper rules for early boot?

2012-12-10 Thread Nikolaus Rath
Hello, I have created a udev rule to set the owner of a specific block device: SUBSYSTEM==block, ENV{DM_UUID}==LVM-yYuoI8k05GWxZnz9BeEIwPUGGeojzF3dZZmXTYRqC051Tllj76OHdDlzYhKZUu7u, OWNER=1000 If I disable and re-enable this logical volume with lvchange, it gets created with the correct owner.

[systemd-devel] [RFC] iscsid: add --initrd option to set run from initrd hint for systemd

2012-12-10 Thread Chris Leech
See http://www.freedesktop.org/wiki/Software/systemd/RootStorageDaemons --- usr/iscsid.c | 8 1 file changed, 8 insertions(+) diff --git a/usr/iscsid.c b/usr/iscsid.c index b4bb65b..7d71085 100644 --- a/usr/iscsid.c +++ b/usr/iscsid.c @@ -61,6 +61,7 @@ static pid_t log_pid; static

[systemd-devel] [RFC] iscsiadm, iscsid: newroot command to survive switch_root

2012-12-10 Thread Chris Leech
When started from initramfs, iscsid needs to be able to chroot itself to the runtime filesystem before the switch_root occurs. In the initramfs iscsiadm --newroot {root fs mount before switch} should be called before the switch_root. --- usr/iscsiadm.c | 30 +-

[systemd-devel] [RFC] iscsi unit files and helper script

2012-12-10 Thread Chris Leech
iSCSI service and socket files, and the iscsi_mark_root_nodes helper script to preserve sessions started in the initramfs. diff -Naur a/iscsid.service b/iscsid.service --- a/iscsid.service1969-12-31 16:00:00.0 -0800 +++ b/iscsid.service2012-12-10 13:38:38.643307001 -0800 @@ -0,0

[systemd-devel] [RFC] dracut iscsi module: early attempt to launch iscsid from the initramfs

2012-12-10 Thread Chris Leech
Not complete, but working well for iBFT configured iSCSI boot for me. --- modules.d/95iscsi/cleanup-iscsi.sh| 3 ++- modules.d/95iscsi/iscsid-initrd.service | 10 ++ modules.d/95iscsi/iscsid-initrd.socket| 9 + modules.d/95iscsi/iscsiroot.sh| 26

[systemd-devel] [RFC] iscsid / systemd / dracut integration effort

2012-12-10 Thread Chris Leech
Sorry about the cross-posting, but I think that in order to get this right I'm going to need as much feedback as I can get. I think I've got this working pretty well now (at least for my iBFT configured iSCSI root test case), although the dracut module still needs work. This is based on the

Re: [systemd-devel] [RFC] iscsid / systemd / dracut integration effort

2012-12-10 Thread Jóhann B. Guðmundsson
On 12/10/2012 10:08 PM, Chris Leech wrote: Sorry about the cross-posting, but I think that in order to get this right I'm going to need as much feedback as I can get. I think I've got this working pretty well now (at least for my iBFT configured iSCSI root test case), although the dracut module