08.04.2025 07:50, Christopher Hunt wrote:


On 8 Apr 2025, at 2:40 PM, Andrei Borzenkov <arvidj...@gmail.com> wrote:

It cannot be the complete file because earlier it says "enabled" and this 
service does not have [Install] section.

Anyway - something has to start this service. So far, you did not explain how 
it is started.

It is the complete file. I mentioned that I had linked it. To elaborate:

# ls -al /etc/systemd/system/first-boot-complete.target.wants/
total 8
drwxr-xr-x    2 root     root          4096 Apr  7 11:35 .
drwxr-xr-x   11 root     root          4096 Apr  7 22:18 ..
lrwxrwxrwx    1 root     root            36 Apr  7 11:35 resizefs.service -> 
/etc/systemd/system/resizefs.service

This is how the service is enabled. Thanks.

So, your service Wants first-boot-complete.target and first-boot-complete.target Wants your service. I still fail to see what is causing either to be actually started.

Reply via email to