Re: [systemd-devel] Pass environment variables down to systemd-service in container

2015-11-07 Thread Tobias Hunger
THANKS! ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] systemctl switch-root /sysroot without deleting old_root

2015-11-07 Thread Richard Maw
On Sat, Nov 07, 2015 at 01:55:30PM +0100, Herbert Groll wrote: > >By some definition, your initial tmpfs isn't an initrd, so you > >could try > >removing initrd-release from your cpio image, so it's gone before > >systemd > >starts, so it can't cache an invalid result. > I'm using systemd as initia

[systemd-devel] RFC: removing .shapshot

2015-11-07 Thread Zbigniew Jędrzejewski-Szmek
Hi, do you use .snapshot unit type? If you do, please speak up. I'd like to remove support for the .snapshot unit type. It seems not be used, snapshots are basically transient targets, and targets can be used to implement similar functionality. The advantage would be a small reduction of the lea

Re: [systemd-devel] systemctl switch-root /sysroot without deleting old_root

2015-11-07 Thread Herbert Groll
By some definition, your initial tmpfs isn't an initrd, so you could try removing initrd-release from your cpio image, so it's gone before systemd starts, so it can't cache an invalid result. I'm using systemd as initial RAM disk implementation too so the switch-root is happening with systemd i

Re: [systemd-devel] systemctl switch-root /sysroot without deleting old_root

2015-11-07 Thread Richard Maw
On Sat, Nov 07, 2015 at 01:17:29PM +0100, hgr1 wrote: > Am 2015-11-07 12:33, schrieb Richard Maw: > >You can remove /etc/initrd-release to stop it removing the old > >rootfs tmpfs, > >I'm not sure what other side-effects this may have. > This was my first attempt too but switch-root is checking the

Re: [systemd-devel] systemctl switch-root /sysroot without deleting old_root

2015-11-07 Thread Herbert Groll
Am 2015-11-07 12:33, schrieb Richard Maw: On Fri, Nov 06, 2015 at 05:53:53PM +0100, Herbert Groll wrote: Hi, is there an easy way in initrd mode to keep old root when switching to new root? Switching root is done in initrd-switch-root.target with /bin/systemctl --no-block --force switch-root /s

[systemd-devel] upgrade a Fedora container 22 > 23

2015-11-07 Thread arnaud gaboury
For those of us who are wondering if this can be tricky, I just want to testify you just have to follow Fedora instruction[1] and restart the machine. No issues at all and Fedora will be upgraded to 23. You need to wait a little bit (~ 5-10 mn) after you run # dnf system-upgrade reboot for the sys

Re: [systemd-devel] systemctl switch-root /sysroot without deleting old_root

2015-11-07 Thread Richard Maw
On Fri, Nov 06, 2015 at 05:53:53PM +0100, Herbert Groll wrote: > Hi, > > is there an easy way in initrd mode to keep old root when switching to > new root? Switching root is done in initrd-switch-root.target with > /bin/systemctl --no-block --force switch-root /sysroot You can remove /etc/initrd-