Re: Systemd Unit Fails at Boot, but Succeeds when Started from the Console

2023-05-02 Thread Samuel Sieb
On 4/30/23 14:25, Jonathan Ryshpan wrote: Here is an extract from the system log (a fuller extract is attached): Mar 18 07:57:56 OaklandWeather.localdomain systemd[1]: Started noip-duc.service - No-IP Dynamic Update Client. Mar 18 07:57:58 OaklandWeather.localdomain systemd[1]: noip-duc.service:

Re: Systemd Unit Fails at Boot, but Succeeds when Started from the Console

2023-05-01 Thread Tom Horsley
On Mon, 1 May 2023 18:23:08 -0500 Roger Heflin wrote: > I have something like this in my rc.local for similar reasons. > ( sleep 30 ; cd /someplace ; ) & I'm surprised that works. I used to have that sort of thing directly in rc.local, then they converted the code that runs rc.local to a systemd

Re: Systemd Unit Fails at Boot, but Succeeds when Started from the Console

2023-05-01 Thread Roger Heflin
I have something like this in my rc.local for similar reasons. ( sleep 30 ; cd /someplace ; ) & On Mon, May 1, 2023 at 4:41 PM Tom Horsley wrote: > > On Mon, 01 May 2023 13:39:29 -0700 > Jonathan Ryshpan wrote: > > > And the problem remains. Further advice would be welcome. > > Without ever mana

Re: Systemd Unit Fails at Boot, but Succeeds when Started from the Console

2023-05-01 Thread Barry
> On 1 May 2023, at 22:41, Tom Horsley wrote: > > On Mon, 01 May 2023 13:39:29 -0700 > Jonathan Ryshpan wrote: > >> And the problem remains. Further advice would be welcome. > > Without ever managing to determine what the problem was, I have > sometimes resorted to disabling the service, the

Re: Systemd Unit Fails at Boot, but Succeeds when Started from the Console

2023-05-01 Thread Tom Horsley
On Mon, 01 May 2023 13:39:29 -0700 Jonathan Ryshpan wrote: > And the problem remains. Further advice would be welcome. Without ever managing to determine what the problem was, I have sometimes resorted to disabling the service, then making an rc.local script that uses the "at" command to start th

Re: Systemd Unit Fails at Boot, but Succeeds when Started from the Console

2023-05-01 Thread Jonathan Ryshpan
On Sun, 2023-04-30 at 16:41 -0500, Chris Adams wrote: > Once upon a time, Jonathan Ryshpan said: > > This unit  > >    $ cat /etc/systemd/system/noip-duc.service   > >    [Unit] > >    Description=No-IP Dynamic Update Client > >    After=network.target auditd.service > > This should probably be n

Re: Systemd Unit Fails at Boot, but Succeeds when Started from the Console

2023-04-30 Thread Chris Adams
Once upon a time, Jonathan Ryshpan said: > This unit  >$ cat /etc/systemd/system/noip-duc.service   >[Unit] >Description=No-IP Dynamic Update Client >After=network.target auditd.service This should probably be network-online.target. > always fails at boot time with the message st

Systemd Unit Fails at Boot, but Succeeds when Started from the Console

2023-04-30 Thread Jonathan Ryshpan
This unit  $ cat /etc/systemd/system/noip-duc.service   [Unit] Description=No-IP Dynamic Update Client After=network.target auditd.service [Service] EnvironmentFile=/etc/sysconfig/noip-duc ExecStart=/usr/local/bin/noip-duc Restart=on-failure Type=simple [Instal