Re: [systemd-devel] [PATCH 1/2] add initrd-fs.target and root-fs.target

2013-03-13 Thread Tom Gundersen
On Wed, Mar 13, 2013 at 3:41 AM, har...@redhat.com wrote: From: Harald Hoyer har...@redhat.com Instead of using local-fs*.target in the initrd, use root-fs.target for sysroot.mount and initrd-fs.target for /sysroot/usr and friends. Using local-fs.target would mean to carry over the

Re: [systemd-devel] [PATCH 1/2] add initrd-fs.target and root-fs.target

2013-03-13 Thread Harald Hoyer
Am 13.03.2013 09:06, schrieb Tom Gundersen: On Wed, Mar 13, 2013 at 3:41 AM, har...@redhat.com wrote: From: Harald Hoyer har...@redhat.com Instead of using local-fs*.target in the initrd, use root-fs.target for sysroot.mount and initrd-fs.target for /sysroot/usr and friends. Using

Re: [systemd-devel] [PATCH] cryptsetup-generator: use _cleanup_ where possible

2013-03-13 Thread Harald Hoyer
Am 08.03.2013 10:50, schrieb har...@redhat.com: From: Harald Hoyer har...@redhat.com --- src/cryptsetup/cryptsetup-generator.c | 209 +++--- 1 file changed, 65 insertions(+), 144 deletions(-) pushed ___

Re: [systemd-devel] [PATCH] fstab-generator: fsck /sysroot before we mount it rw

2013-03-13 Thread Tom Gundersen
This looks good. However, how do you deal with btrfs? Instal a fake fsck? On Mar 8, 2013 2:14 AM, har...@redhat.com wrote: From: Harald Hoyer har...@redhat.com --- src/fstab-generator/fstab-generator.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git

Re: [systemd-devel] [PATCH] fstab-generator: fsck /sysroot before we mount it rw

2013-03-13 Thread Harald Hoyer
Am 13.03.2013 09:53, schrieb Tom Gundersen: This looks good. However, how do you deal with btrfs? Instal a fake fsck? that is no problem, as systemd-fsck just skips btrfs because of the missing fsck.btrfs ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH] fstab-generator: fsck /sysroot before we mount it rw

2013-03-13 Thread Tom Gundersen
On Mar 13, 2013 5:55 PM, Harald Hoyer har...@redhat.com wrote: Am 13.03.2013 09:53, schrieb Tom Gundersen: This looks good. However, how do you deal with btrfs? Instal a fake fsck? that is no problem, as systemd-fsck just skips btrfs because of the missing fsck.btrfs Ah, great! My brain

[systemd-devel] [PATCH] Don't pull in sysctl on shutdown

2013-03-13 Thread Umut Tezduyar
No need to try to stop systemd-sysctl on shutdown as this service doesn't have ExecStop= anyways. --- units/systemd-sysctl.service.in |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/units/systemd-sysctl.service.in b/units/systemd-sysctl.service.in index 45e1ceb..d914553

Re: [systemd-devel] Underlinking in libsystemd-login

2013-03-13 Thread Colin Guthrie
'Twas brillig, and Canek Peláez Valdés at 13/03/13 03:40 did gyre and gimble: On Tue, Mar 12, 2013 at 9:08 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Mon, Mar 11, 2013 at 03:25:48PM +0100, Lennart Poettering wrote: On Sun, 10.03.13 11:29, Canek Peláez Valdés (can...@gmail.com)

Re: [systemd-devel] The enum udev_monitor_netlink_group contains bit masks

2013-03-13 Thread Kay Sievers
On Wed, Mar 13, 2013 at 6:09 AM, Andrey Wagin ava...@gmail.com wrote: 2013/3/13 Kay Sievers k...@vrfy.org On Tue, Mar 12, 2013 at 9:35 PM, Andrey Wagin ava...@gmail.com wrote: According to netlink(7) nl_groups is a bit mask with every bit representing a netlink group number. Netlink

[systemd-devel] systemd-fsck-root.service without initrd prints ugly message on clean fsck

2013-03-13 Thread Colin Guthrie
Hi, As I'm doing some initrd-less experiments of late I'm seeing an ugly fsck message pop up on boot. In systemd-fsck-root.service I see: StandardOutput=journal+console which results in: systemd-fsck[116]: /dev/sda2: clean, 435608/1310720 files, 3375994/5242112 blocks being output over the

[systemd-devel] devpts inside Linux Container

2013-03-13 Thread John Lane
Good morning, I am trying to get LXC guests working with systemd. I am at the point where I can start a container but it is affecting the host. I've been discussing over on lxc-users and it's been suggested that systemd may be incorrectly mounting devpts without the newinstance option. I

Re: [systemd-devel] devpts inside Linux Container

2013-03-13 Thread Alexander Vladimirov
Try adding lxc.mount option into container config using following mount point file: sysfs sys sysfs ro,defaults 0 0 proc proc proc nodev,noexec,nosuid 0 0 /proc/sys ${rootfs_path}/proc/sys none ro,bind 0 0 2013/3/13 John Lane syst...@jelmail.com: Good morning, I am trying to get LXC guests

Re: [systemd-devel] systemd-fsck-root.service without initrd prints ugly message on clean fsck

2013-03-13 Thread Kay Sievers
On Wed, Mar 13, 2013 at 11:29 AM, Colin Guthrie gm...@colin.guthr.ie wrote: As I'm doing some initrd-less experiments of late I'm seeing an ugly fsck message pop up on boot. In systemd-fsck-root.service I see: StandardOutput=journal+console which results in: systemd-fsck[116]: /dev/sda2:

Re: [systemd-devel] devpts inside Linux Container

2013-03-13 Thread Kay Sievers
On Wed, Mar 13, 2013 at 11:38 AM, John Lane syst...@jelmail.com wrote: Good morning, I am trying to get LXC guests working with systemd. I am at the point where I can start a container but it is affecting the host. I've been discussing over on lxc-users and it's been suggested that systemd may

Re: [systemd-devel] devpts inside Linux Container

2013-03-13 Thread John
On 13/03/13 11:58, Kay Sievers wrote: On the host, newinstance is not strictly needed, it is useful inside the container though. How do I make it use newinstance inside the container? is that a lxc config or systemd? ___ systemd-devel mailing list

Re: [systemd-devel] devpts inside Linux Container

2013-03-13 Thread Kay Sievers
On Wed, Mar 13, 2013 at 1:32 PM, John l...@jelmail.com wrote: On 13/03/13 11:58, Kay Sievers wrote: On the host, newinstance is not strictly needed, it is useful inside the container though. How do I make it use newinstance inside the container? is that a lxc config or systemd? It's lxc's

Re: [systemd-devel] devpts inside Linux Container

2013-03-13 Thread Alexander Vladimirov
2013/3/13 John l...@jelmail.com: On 13/03/13 11:58, Kay Sievers wrote: On the host, newinstance is not strictly needed, it is useful inside the container though. How do I make it use newinstance inside the container? is that a lxc config or systemd? lxc does this explicitly during container

Re: [systemd-devel] systemd-fsck-root.service without initrd prints ugly message on clean fsck

2013-03-13 Thread Colin Guthrie
'Twas brillig, and Kay Sievers at 13/03/13 11:50 did gyre and gimble: On Wed, Mar 13, 2013 at 11:29 AM, Colin Guthrie gm...@colin.guthr.ie wrote: As I'm doing some initrd-less experiments of late I'm seeing an ugly fsck message pop up on boot. In systemd-fsck-root.service I see:

Re: [systemd-devel] systemd-fsck-root.service without initrd prints ugly message on clean fsck

2013-03-13 Thread Reindl Harald
Am 13.03.2013 15:06, schrieb Colin Guthrie: 'Twas brillig, and Kay Sievers at 13/03/13 11:50 did gyre and gimble: On Wed, Mar 13, 2013 at 11:29 AM, Colin Guthrie gm...@colin.guthr.ie wrote: As I'm doing some initrd-less experiments of late I'm seeing an ugly fsck message pop up on boot. In

Re: [systemd-devel] systemd-fsck-root.service without initrd prints ugly message on clean fsck

2013-03-13 Thread Kay Sievers
On Wed, Mar 13, 2013 at 3:17 PM, Reindl Harald h.rei...@thelounge.net wrote: so and what are you guys saying if i explain you that i WANT THIS MESSAGES bedcause I WANT to SEE /dev/sda2: clean, 435608/1310720 files Now, that you ask, I would say: I don't care. :) Kay

Re: [systemd-devel] [systemd-commits] 3 commits - src/core src/shared

2013-03-13 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Mar 13, 2013 at 09:22:34AM -0700, Michal Schmidt wrote: src/core/manager.c | 28 +++- src/core/mount.c | 48 -- src/core/service.c | 60 - src/core/socket.c |

Re: [systemd-devel] systemd-fsck-root.service without initrd prints ugly message on clean fsck

2013-03-13 Thread Kok, Auke-jan H
On Wednesday, March 13, 2013, Kay Sievers k...@vrfy.org wrote: On Wed, Mar 13, 2013 at 3:17 PM, Reindl Harald h.rei...@thelounge.net wrote: so and what are you guys saying if i explain you that i WANT THIS MESSAGES bedcause I WANT to SEE /dev/sda2: clean, 435608/1310720 files Now, that you

Re: [systemd-devel] systemd-fsck-root.service without initrd prints ugly message on clean fsck

2013-03-13 Thread Reindl Harald
Am 13.03.2013 18:45, schrieb Kay Sievers: On Wed, Mar 13, 2013 at 6:37 PM, Reindl Harald h.rei...@thelounge.net wrote: Am 13.03.2013 17:44, schrieb Kay Sievers: On Wed, Mar 13, 2013 at 5:30 PM, Kok, Auke-jan H auke-jan.h@intel.com wrote: On Wednesday, March 13, 2013, Kay Sievers

Re: [systemd-devel] systemd-fsck-root.service without initrd prints ugly message on clean fsck

2013-03-13 Thread Colin Guthrie
'Twas brillig, and Reindl Harald at 13/03/13 17:37 did gyre and gimble: Am 13.03.2013 17:44, schrieb Kay Sievers: On Wed, Mar 13, 2013 at 5:30 PM, Kok, Auke-jan H auke-jan.h@intel.com wrote: On Wednesday, March 13, 2013, Kay Sievers k...@vrfy.org wrote: On Wed, Mar 13, 2013 at 3:17 PM,

Re: [systemd-devel] timer unit doesn't fire again if service takes too long

2013-03-13 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Feb 14, 2013 at 10:47:32AM +0200, Albert Strasheim wrote: Hello all We have some systems running systemd-37-25.fc16.x86_64. We have an issue where a timer unit doesn't fire again if its service runs for too long. For the sake of mailing list archives: this is not fixed yet, but the

Re: [systemd-devel] [PATCH] systemctl: remove unused variable

2013-03-13 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 12, 2013 at 06:22:57PM +0100, Michal Sekletar wrote: --- src/systemctl/systemctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

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

2013-03-13 Thread Zbigniew Jędrzejewski-Szmek
Hi, Colin Walters wrote install-directories-hook: $(MKDIR_P) $(addprefix $(DESTDIR),$(INSTALL_DIRS)) + $(MKDIR_P) -m 000 $(addprefix $(DESTDIR),$(INACCESSIBLE_DIR)) Ugh. Can you make this /run/systemd/inaccessible or something, and have systemd do this at runtime? Having

[systemd-devel] [PATCH 1/2] smack-setup: extract rule writing into a separate function

2013-03-13 Thread Zbigniew Jędrzejewski-Szmek
Check all errors. Return the first error if looping. --- Hi Nathaniel, your patches duplicate the same code paths (within one function!). Also, if cipsco is not available, a warning would be printed, which we don't want. Can you check if the following two replacement patches work for you? Please