On Thu, Oct 31, 2019 at 4:34 PM Lennart Poettering
wrote:
> On Di, 08.10.19 16:57, Martin Townsend ([email protected]) wrote:
>
> > Thanks for your help. In the end I just created a symlink from
> > /etc/machine-id to /data/etc/machine-id. It complains really early on
> > boot with
> > Ca
On Di, 08.10.19 16:57, Martin Townsend ([email protected]) wrote:
> Thanks for your help. In the end I just created a symlink from
> /etc/machine-id to /data/etc/machine-id. It complains really early on
> boot with
> Cannot open /etc/machine-id: No such file or directory
>
> So I guess it'
Thanks for your help. In the end I just created a symlink from
/etc/machine-id to /data/etc/machine-id. It complains really early on
boot with
Cannot open /etc/machine-id: No such file or directory
So I guess it's trying to read /etc/machine-id for something before
fstab has been processed and t
Yes, you could replace it with a custom service that generates a
predictable /run/machine-id (e.g. by hashing or hmac'ing the MAC address)
and then bind-mounts it on top of /etc/machine-id.
If you have a persistent data partition that's mounted on /data, I guess it
could be integrated just by addi
You are right /etc/machine-id is different for every boot as we have a
read-only filesystem. /etc/machine-id is being mounted to
/run/machine-id by systemd-machine-id-setup. I have a persistent data
partition, how do I mount it into this? I tried --root /data but this
didn't work. Should I disab
Run both with SYSTEMD_LOG_LEVEL=debug in the environment and compare.
Does your /etc/machine-id remain the same across boots?
On Mon, Oct 7, 2019, 20:32 Martin Townsend wrote:
> Hi,
>
> I'm trying to get journalctl --list-boots working but it always shows
> the current boot
>
> # journalctl --l
Hi,
I'm trying to get journalctl --list-boots working but it always shows
the current boot
# journalctl --list-boots
0 c064e8c1d1a2403f9370e550bb74ecb2 Mon 2019-10-07 17:02:44 UTC—Mon
2019-10-07 17:17:56 UTC
I'm using persistent storage and I'm sure I have /var/log/journal
setup correctly becau