You are not logged in.

#1 2013-05-28 17:10:30

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 444

[SOLVED] systemd adsl service does not start

After the today's upgrade of my system I get lines like this in my journal, as the adsl service does not want to start.

# router systemd[522]: Failed at step EXEC spawning /usr/sbin/pppoe-start: No such file or directory

The problem is, that pppoe-start is in /usr/bin/ and not in /usr/sbin. According to pacman (pacman-Ql rp-pppoe) /usr/bin/ is the correct location.
I really don't know, why systemd is trying to launch it, because even the service file (/usr/lib/systemd/system/adsl.service) points to the correct location.

[Unit]
Description=ADSL Deamon

[Service]
Type=forking
ExecStart=/usr/bin/pppoe-start
ExecStop=/usr/bin/pppoe-stop

[Install]
WantedBy=multi-user.target

The service is launching and stopping with pppoe-start and pppoe-stop.
When launched, it also shuts down fine when stopping it by

 systemctl stop adsl 

Why the hell is it trying to launch from /usr/sbin/?

Last edited by scar (2013-06-04 13:07:23)


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#2 2013-05-28 17:16:48

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,355

Re: [SOLVED] systemd adsl service does not start

If you edit the file, does it work? 
Please file a bug report.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2013-05-28 17:32:06

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 444

Re: [SOLVED] systemd adsl service does not start

It goes definitely against any logic.
The service file looks good, but I've copied it to /usr/lib/systemd/system/bdsl.service. Same contents - and the new one launches succesfully.
I've deleted the original ...adsl.service file, verified that it disappeared, copied it back from the new bdsl.service file, and it still does not launch.

[EDIT]

I've erased the drive, restored the system from a 1 week old backup, started it - everything worked. Then I'v updated the whole system, including the rp-pppoe package, and the adsl service is failing again.
Downgrading solves the problem. Should I file a bug report?

Last edited by scar (2013-06-01 10:14:41)


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#4 2013-06-04 13:07:01

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 444

Re: [SOLVED] systemd adsl service does not start

Solved by the last filesystem update. I will never know what was messed up. smile


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

Board footer

Powered by FluxBB