Bug 689494

Summary: run-parts missing from cronie-anacron
Product: [openSUSE] openSUSE 11.4 Reporter: Martin Schröder <martin>
Component: BasesystemAssignee: Vítězslav Čížek <vcizek>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: fcrozat, nedu, vcizek
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.4   
Whiteboard: .
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Deadline: 2011-08-11   

Description Martin Schröder 2011-04-24 16:32:48 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:2.0.0) Gecko/20100101 Firefox/4.0

The /etc/anacrontab installed by cronie-anacron depends on a program called "run-parts", but this program is not installed when anacron is installed. 
This breaks the normal crontab when anacron is installed.

Reproducible: Always

Steps to Reproduce:
1. sudo zypper in cronie-anacron
2. wait till you get mail from anacron
3.
Actual Results:  
"nice: run-parts: No such file or directory"

Expected Results:  
run-parts is installed

"cnf run-parts" points to one run-parts contained in pbbuttonsd, which is a package "PBButtons is a programm suite to handle the special hotkeys of an Apple iBook, PowerBook or MacBook."
Comment 1 Ned Ulbricht 2011-04-24 23:30:04 UTC
AFAIK, anacron was superfluous in openSUSE up through 11.3.

Has that changed due to the switch to cronie in 11.4?  If it has, then there should be a documentation bug filed against the 11.4 release notes.

Also http://en.opensuse.org/Cron_replace

If it hasn't changed, then this still may be a documentation bug.
Comment 2 Martin Schröder 2011-04-29 07:53:25 UTC
Btw: The run-parts from pbbuttonsd is broken as it doesn't execute all files from a directory, but only a random one.
Comment 3 Martin Schröder 2011-04-29 07:57:36 UTC
(In reply to comment #1)
> AFAIK, anacron was superfluous in openSUSE up through 11.3.

It wasn't in the main repo; with 11.4 it's in "openSUSE 11.4". 
IIRC the bug (missing run-parts) already exists in 11.3

> If it hasn't changed, then this still may be a documentation bug.

Why is it a documentation bug if the default configuration is broken because of missing parts of the program?

I also have to correct the description: /etc/crontab is undisturbed by anacron. But anacron as distributed is broken.
Comment 4 Ned Ulbricht 2011-04-29 13:47:10 UTC
(In reply to comment #3)
> Why is it a documentation bug if the default configuration is broken because of
> missing parts of the program?

The question I have regards developer intent.  Is cronie-anacron now to be considered as part of the supported openSUSE "default configuration" ?

Or is cronie-anacron just being shipped in the main repo because it's part of the now-default cronie?  But broken off into a separate package because it's an optional extra for users who want it.

If it's not to be considered part of the supported system default configuration, but an optional non-default configuration, then I think it's reasonable to expect users to read the documentation and configure it themselves.  Up to and including grabbing a copy of run-parts from outside the main repo.  Iow, an optional extra may be shipped with an example configuration file.

The documentation that I don't see here is a signal from the packagers about their intent, and the expected use for the cronie-anacron package.

Instead the rpm description just reads: "Anacron becames part of cronie...."
Comment 5 Frederic Crozat 2011-06-21 15:38:16 UTC
anacron-cronie default configuration should be updated to call /usr/lib/cron/run-crons instead of run-parts
Comment 6 Vítězslav Čížek 2011-07-11 10:28:11 UTC
Anacron is not a part of default installation,
however as Frederic said, this is a bug and it'll be fixed.
Comment 7 Vítězslav Čížek 2011-07-11 11:44:33 UTC
Maintenance, prepare an update if it's neccessary.
Comment 8 Bernhard Wiedemann 2011-07-12 10:00:20 UTC
This is an autogenerated message for OBS integration:
This bug (689494) was mentioned in
https://build.opensuse.org/request/show/76089 Factory / cronie
Comment 9 Christian Dengler 2011-07-12 11:47:12 UTC
update is okay for me (+1)
Comment 10 Marcus Meissner 2011-07-13 13:22:38 UTC
ok- lets do +1
Comment 11 Swamp Workflow Management 2011-07-14 13:58:29 UTC
The SWAMPID for this issue is 42195.
This issue was rated as low.
Please submit fixed packages until 2011-08-11.
Also create a patchinfo file using this link:
https://swamp.suse.de/webswamp/wf/42195
Comment 12 Christian Dengler 2011-07-14 13:58:49 UTC
update started.
Comment 13 Bernhard Wiedemann 2011-07-14 17:00:17 UTC
This is an autogenerated message for OBS integration:
This bug (689494) was mentioned in
https://build.opensuse.org/request/show/76259 11.4 / cronie
Comment 14 Christian Dengler 2011-07-26 12:34:27 UTC
released
Comment 15 Swamp Workflow Management 2011-07-26 12:34:59 UTC
Update released for: cron, cronie, cronie-anacron, cronie-anacron-debuginfo, cronie-debuginfo, cronie-debugsource
Products:
openSUSE 11.4 (debug, i586, x86_64)