Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45022 - /etc/init.d/teapop has after * depend, conflicting with /etc/init.d/local
Summary: /etc/init.d/teapop has after * depend, conflicting with /etc/init.d/local
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-18 07:07 UTC by Chris Paulson-Ellis
Modified: 2004-06-28 21:06 UTC (History)
3 users (show)

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


Attachments
teapop-init.diff (teapop-init.diff,193 bytes, patch)
2004-06-14 15:20 UTC, Cory Visi (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Paulson-Ellis 2004-03-18 07:07:00 UTC
The init script for 'teapop' has 'after *' in the depends section. There is also an 'after *' in the depends section of the init script for 'local'. A system can only have one 'after *' dependency, or depscan.sh returns...

# depscan.sh 
 * Caching service dependencies...
 *  Services 'teapop' and 'local' have circular
 *  dependency of type 'iafter';  continuing...                                           


Reproducible: Always
Steps to Reproduce:
1. emerge teapop

Actual Results:  
 * Caching service dependencies...
 *  Services 'teapop' and 'local' have circular
 *  dependency of type 'iafter';  continuing...


Expected Results:  
Installed teapop with a sensible set of depends in /etc/init.d/teapop


The work-around is to remove the 'after *' line from /etc/init.d/teapop.
Comment 1 Cory Visi (RETIRED) gentoo-dev 2004-06-14 15:20:20 UTC
I can reproduce this; it needs to be fixed.  Attached is a ridiculously simple diff to fix the init script.

Just for reference, the init script was submitted as part of Bug 25967.  There is no mention of why the "after *" was in the init script.
Comment 2 Cory Visi (RETIRED) gentoo-dev 2004-06-14 15:20:56 UTC
Created attachment 33253 [details, diff]
teapop-init.diff
Comment 3 Cory Visi (RETIRED) gentoo-dev 2004-06-28 21:06:36 UTC
New init script in portage; re-emerge if you need it.