[systemd-devel] help with portable service
Chuck Tuffli
ctuffli at gmail.com
Tue Apr 18 15:37:31 UTC 2023
On Tue, Apr 18, 2023 at 1:43 AM Lennart Poettering
<lennart at poettering.net> wrote:
...
> > # 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?
There are a few dependencies like libc. I would have guessed these
would have been picked up from the system, but perhaps I misunderstand
how this works.
# ldd usr/bin/portable-walkthrough-go
linux-vdso.so.1 (0x00007ffe4c37a000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcb0e400000)
/lib64/ld-linux-x86-64.so.2 (0x00007fcb0e697000)
#
More information about the systemd-devel
mailing list