Bug 772111

Summary: wrong option in atd.service
Product: [openSUSE] openSUSE 12.2 Reporter: achim klausmann <a.klausmann>
Component: BasesystemAssignee: Cristian Rodríguez <crrodriguez>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: a.klausmann, aspiers, bw, doude63, forgotten_7XRNh5WElB, forgotten_xRcrmyYBVX, suse-beta
Version: Final   
Target Milestone: Final   
Hardware: x86-64   
OS: openSUSE 12.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: work-around

Description achim klausmann 2012-07-18 20:02:11 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0

if i start "systemctl start atd.service" i got a message
in the message file "atd: unknown otion.

the option -f is seems to be not kown by atd.



Reproducible: Always

Steps to Reproduce:
1.delete option -f in /lib/systemd/system/atd.service, service starts
2.
3.
Comment 1 Frederic Crozat 2012-07-20 08:00:53 UTC
This is not a bug in systemd in but in at package
Comment 2 Metehyi VELLE 2012-08-27 19:44:30 UTC
I have a fresh opensuse install 

atd seems to be broken

 at 21:43
warning: commands will be executed using /bin/sh
at> ls -lrt
at> pwd
at> 
at> <EOT>
job 7 at 2012-08-27 21:43
Can't open /var/run/atd.pid to signal atd. No atd running?


systemct is of no further help

systemctl status atd.service 
atd.service - Execution Queue Daemon
          Loaded: loaded (/lib/systemd/system/atd.service; disabled)
          Active: inactive (dead)
          CGroup: name=systemd:/system/atd.service
Comment 3 Metehyi VELLE 2012-08-27 19:46:01 UTC
sorry forgot to indicate it is happening in RC2 not RC1
Comment 4 Forgotten User eGHtJabySz 2012-08-30 19:30:38 UTC
Created attachment 504090 [details]
work-around

Workaround:  Install attached file as "/etc/systemd/system/atd.service", run "systemctl daemon-reload".
Comment 5 Forgotten User xRcrmyYBVX 2012-08-31 16:21:22 UTC
I can confirm this issue still exists in 12.2 GM!
Comment 6 Boris Wesslowski 2012-09-07 10:12:28 UTC
The bug is right there in the final.

Fix: Remove "-f" from "ExecStart=/usr/sbin/atd -f" in /lib/systemd/system/atd.service


BTW: Blooper found in the init script:
ATD_CONFIG=/etc/sysconfig/atd
test -r $ATD_CONFIG && source /etc/sysconfig/atd
Comment 7 Boris Wesslowski 2012-09-17 09:16:04 UTC
That isn't enough, the fix is described in #780259
Comment 8 Adam Spiers 2012-10-24 22:48:06 UTC
Isn't bug 780259 an exact duplicate of this?
Comment 9 Christian Boltz 2012-10-25 16:44:24 UTC
It is.

*** This bug has been marked as a duplicate of bug 780259 ***