[systemd-devel] help with portable service

Lennart Poettering lennart at poettering.net
Tue Apr 18 08:43:47 UTC 2023


On Mo, 17.04.23 06:48, Chuck Tuffli (ctuffli at gmail.com) wrote:

> On Mon, Apr 17, 2023 at 4:48 AM Lennart Poettering
> <lennart at poettering.net> wrote:
> >
> > On Fr, 14.04.23 09:14, Chuck Tuffli (ctuffli at gmail.com) wrote:
> >
> > > On Thu, Apr 13, 2023 at 4:14 PM Luca Boccassi <luca.boccassi at gmail.com> wrote:
> > > ...
> > > > Can't reproduce this either on latest main or on v247. Enable debug
> > > > logs with systemctl log-level debug and then restart the service and
> > > > check again.
> > >
> > > Thank you for taking a look at this. The output was long so I added it
> > > to pastebin:
> > >
> >
> > if you look inside the image, do you see the binary at the right place
> > in /usr/bin?
> >
> > You can mount the image via "losetup --find --show myimage.raw"
> >
> > And then mount it via "mkdir t && mount /dev/loopXp1 t" or something
> > like that.
>
> # losetup --find --show /tmp/portable-walkthrough-go.raw
> /dev/loop1
> # mount /dev/loop1 /mnt
> # cd /mnt
> # ls -l usr/bin
> total 6172
> -rwxrwxr-x 1 ctuffli ctuffli 6319344 Apr  2 16:05 portable-walkthrough-go
> # usr/bin/portable-walkthrough-go &

Hmm, is this a dynamic binary? what does ldd say on it? are all listed
dep .so also included in the portable service image?

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list