Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35781 - vixie-cron has two ebuilds with identical contents-- this causes problems with initscripts
Summary: vixie-cron has two ebuilds with identical contents-- this causes problems wit...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-13 22:19 UTC by Dave M.
Modified: 2004-01-22 13:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave M. 2003-12-13 22:19:13 UTC
The vixie-cron and vcron ebuilds specify the exact same package file to install (even the MD5sums are the same).  Neither of them remove their initscript from /etc/init.d when they are unmerged.  This means that vixie-cron won't be added to any runlevel when it is emerged the second time.

Reproducible: Always
Steps to Reproduce:
1. emerge vcron
2. emerge -C vcron
3. emerge vixie-cron
Actual Results:  
The env-update step of "emerge vixie-cron," and any env-update commands
thereafter give:

 *  Service 'vcron' already provide 'cron'!;
 *  Not adding service 'vixie-cron'...                                    [ ok ]

Expected Results:  
The service should have been added properly.

When vixie-cron is emerged, emerge suggests running "rc-update del vcron ;
rc-update add vixie-cron", but this fails with the same error as above because
/etc/init.d/vcron is still present.  

To fix this problem delete either /etc/init.d/vcron or /etc/init.d/vixie-cron
(depending on which one you want to use), then run env-update.

Why are there two ebuilds for the same version of the same package?
Comment 1 Dave M. 2003-12-13 22:25:28 UTC
Oops, I just read the ChangeLog for the vcron ebuild and saw why it's there (old GRP installs).  Perhaps vcron should be masked, or would that also cause problems?
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-12-13 22:44:53 UTC
dave, that would cause problems unfortunately.

I am planning on removing vcron from portage entirely, sometime in the first half of 2004.  It'll be after we do the next release of GRP, so that installation instructions and GRP packages will all have vixie-cron.  By then vcron should obsolete itself
Comment 3 Charles Goodwin 2003-12-30 12:19:32 UTC
Why not do as with Mozilla gtk2 of old, when you try to emerge recent versions of vcron have it spit out a message saying, 'switch to vixie-cron or FORCE="vcron" emerge'.

That should get most people switched over to vixie-cron without causing any issues.
Comment 4 Harm Geerts 2004-01-10 08:48:50 UTC
Also the vixie-cron ebuild states to run `rc-update add vixie-cron` which should be `rc-update add vixie-cron default`
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2004-01-22 13:33:37 UTC
mholzer did that, and I've removed vcron from portage.