[Bug 856986] New: rcatd no longer works with update at-3.1.13-5.4.1.i586.rpm
https://bugzilla.novell.com/show_bug.cgi?id=856986 https://bugzilla.novell.com/show_bug.cgi?id=856986#c0 Summary: rcatd no longer works with update at-3.1.13-5.4.1.i586.rpm Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: All OS/Version: openSUSE 13.1 Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: rspmn@arcor.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:26.0) Gecko/20100101 Firefox/26.0 According to the changelog /etc/init.d/atd was removed while fixing bnc#849720. This breaks /usr/sbin/rcatd however as it seems to rely on the presence of the above file. Reproducible: Always Steps to Reproduce: 1. rcatd status 2. 3. Actual Results: rcatd: no such service atd Expected Results: atd.service - Execution Queue Daemon Loaded: loaded (/usr/lib/systemd/system/atd.service; disabled) Active: inactive (dead) .. Restoring /etc/init.d/atd from at-3.1.13-5.1.2.i586.rpm makes rcatd work again. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=856986
https://bugzilla.novell.com/show_bug.cgi?id=856986#c
Xiyuan Liu
https://bugzilla.novell.com/show_bug.cgi?id=856986
https://bugzilla.novell.com/show_bug.cgi?id=856986#c1
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=856986
https://bugzilla.novell.com/show_bug.cgi?id=856986#c2
Reinhard Speyerer
https://bugzilla.novell.com/show_bug.cgi?id=856986
https://bugzilla.novell.com/show_bug.cgi?id=856986#c3
--- Comment #3 from Michal Vyskocil
Using systemctl enable atd.service seems to have solved the problem for me:
That's indeed weird - citing from a manpage " Enabling and starting units is orthogonal: units may be enabled without being started and started without being enabled" so one should legally call rcfoo on not enabled service. The bug is in the fact systemctl does not list atd.service, despite being installed and daemon knows about it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=856986
https://bugzilla.novell.com/show_bug.cgi?id=856986#c4
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=856986
https://bugzilla.novell.com/show_bug.cgi?id=856986#c5
--- Comment #5 from Reinhard Speyerer
(In reply to comment #2)
Using systemctl enable atd.service seems to have solved the problem for me:
Unfortunately this causes atd to run after the next reboot bash-4.2# rcatd status atd.service - Execution Queue Daemon Loaded: loaded (/usr/lib/systemd/system/atd.service; enabled) Active: active (running) since Mon 2014-01-06 11:04:03 CET; 7h ago Main PID: 568 (atd) CGroup: /system.slice/atd.service `-568 /usr/sbin/atd -f which is not want I wanted.
The bug is in the fact systemctl does not list atd.service, despite being installed and daemon knows about it.
atd.service is listed by systemctl ... list-unit-files instead of ... list-units The following patch --- /sbin/service.orig 2013-12-17 13:59:52.000000000 +0100 +++ /sbin/service 2014-01-06 18:43:38.919824922 +0100 @@ -58,3 +58,3 @@ fi - if sd_booted && systemctl --full --no-legend --no-pager --type=service --all list-units 2>/dev/null|grep -q "^$rc.service"; then + if sd_booted && systemctl --full --no-legend --no-pager --type=service --all list-unit-files 2>/dev/null|grep -q "^$rc.service"; then return 0 seems to do what I want without introducing unwanted side-effects (so far). Regards, Reinhard -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=856986
https://bugzilla.novell.com/show_bug.cgi?id=856986#c6
--- Comment #6 from Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=856986
https://bugzilla.novell.com/show_bug.cgi?id=856986#c7
--- Comment #7 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=856986
https://bugzilla.novell.com/show_bug.cgi?id=856986#c8
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=856986
https://bugzilla.novell.com/show_bug.cgi?id=856986#c9
--- Comment #9 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=856986
https://bugzilla.novell.com/show_bug.cgi?id=856986#c10
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=856986
https://bugzilla.novell.com/show_bug.cgi?id=856986#c11
--- Comment #11 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com