Re: [systemd-devel] Fwd: What could be causing a oneshot unit not to be run when a machine reboots?

2021-03-13 Thread Andrei Borzenkov
On 14.03.2021 09:03, John Ioannidis wrote: > I have the following service file: > > [Unit] > Description=D > After=network.target > > [Service] > ExecStart=/usr/local/sbin/mktags.py > Type=oneshot > User=root > This is default anyway > [Install] > WantedBy=multi-user.target > > > Occasionall

[systemd-devel] Fwd: What could be causing a oneshot unit not to be run when a machine reboots?

2021-03-13 Thread John Ioannidis
I have the following service file: [Unit] Description=D After=network.target [Service] ExecStart=/usr/local/sbin/mktags.py Type=oneshot User=root [Install] WantedBy=multi-user.target Occasionally, when the machine reboots, it does not run. Here is the evidence: # uptime 05:50:11 up 20 min, 1