Re: [systemd-devel] stacked extension not working

2022-01-26 Thread Umut Tezduyar Lindskog
Way to go Luca! Thank you for informing. We still have great interest in portable services. On 2022-01-23, 4:45 PM, "Luca Boccassi" wrote: FYI, support for using directories with --extension has just been merged in main and will be available in v251. On Wed, 20 Oct 2021 at 16:15,

Re: [systemd-devel] stacked extension not working

2022-01-23 Thread Luca Boccassi
FYI, support for using directories with --extension has just been merged in main and will be available in v251. On Wed, 20 Oct 2021 at 16:15, Luca Boccassi wrote: > > No, it's only supported for images at the moment, as the documentation > says: > >--extension=PATH >Add an add

Re: [systemd-devel] stacked extension not working

2021-10-20 Thread Luca Boccassi
No, it's only supported for images at the moment, as the documentation says: --extension=PATH Add an additional image PATH as an overlay on top of IMAGE when attaching/detaching. This argument can be specified multiple times, in which case the order in which images are

Re: [systemd-devel] stacked extension not working

2021-10-20 Thread Umut Tezduyar Lindskog
It indeed worked as squashfs image. Thanks for that. It is not working as a folder though (portablectl --runtime attach --extension=./stackupper ./base stackupper) This stuff should work on folders too right? Should I open a ticket? Also, when it works, the upper stack shows as detached. Isn't th

Re: [systemd-devel] stacked extension not working

2021-10-19 Thread Luca Boccassi
On Tue, 2021-10-19 at 16:09 +0200, Umut Tezduyar Lindskog wrote: > Hi Luca, have you had time to help me out or do you think you could > help me > out? Thanks in advance. Works fine for me with systemd 249.5: $ tar xf ~/Downloads/portable.tar $ mksquashfs base/ base.raw Parallel mksquashfs: Using

Re: [systemd-devel] stacked extension not working

2021-10-19 Thread Umut Tezduyar Lindskog
Hi Luca, have you had time to help me out or do you think you could help me out? Thanks in advance. On Mon, Oct 18, 2021 at 12:56 PM Umut Tezduyar Lindskog wrote: > Hi again. I tried renaming ( > https://www.freedesktop.org/software/systemd/man/os-release.html) it but > that didn't work. I am no

Re: [systemd-devel] stacked extension not working

2021-10-18 Thread Umut Tezduyar Lindskog
Hi again. I tried renaming ( https://www.freedesktop.org/software/systemd/man/os-release.html) it but that didn't work. I am not getting any errors during the attachment phase so I am not sure if the failure is due to extension file in any way. A wish list is to be more verbose regarding what is g

Re: [systemd-devel] stacked extension not working

2021-10-15 Thread Luca Boccassi
On Fri, 2021-10-15 at 14:59 +0200, Umut Tezduyar Lindskog wrote: > Thanks and I would have never figured it out without your help. > However, moving the binary to /opt didn't work either (I made sure > there is empty /opt in the base too). Anything else I am missing? > > root@osboxes:/home/osboxes

Re: [systemd-devel] stacked extension not working

2021-10-15 Thread Umut Tezduyar Lindskog
Thanks and I would have never figured it out without your help. However, moving the binary to /opt didn't work either (I made sure there is empty /opt in the base too). Anything else I am missing? root@osboxes:/home/osboxes/Development# tree stackupper/ stackupper/ ├── bin │ └── umut ├── dev ├──

Re: [systemd-devel] stacked extension not working

2021-10-15 Thread Luca Boccassi
On Fri, 2021-10-15 at 12:18 +, Umut Tezduyar Lindskog wrote: > Hi, following works for us (for reference, configuration is printed > at the end) >   > portablectl --now attach --extension=./stackupper ./base stackupper >   > However, if we move the cat from base/usr/bin/cat to > stackupper/bin/