Summary: | sys-apps/openrc-0.2.4-r1: broken symlinks in init.d | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robert Förster <Dessa> |
Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | darkside, djcozatt, gentoo, phattanon |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | baselayout2-merge |
Description
Robert Förster
2008-05-15 11:02:12 UTC
You shouldn't have depscan.sh or runscript.sh in /etc/init.d/, those are there by your own doing. equery belongs /etc/init.d/depscan.sh will show nothing owns it. Delete those two links/files. no, he didnt do it ... baselayout-1 installed those symlinks. but during the upgrade process, they should have been expunged by portage automatically. (In reply to comment #2) > no, he didnt do it ... baselayout-1 installed those symlinks. but during the > upgrade process, they should have been expunged by portage automatically. > Which happened for me on every single machine I've upgraded on. Which sounds to me like someone touched those symlinks so that mtime didn't match or some such so Portage didn't remove em. (In reply to comment #3) > (In reply to comment #2) > > no, he didnt do it ... baselayout-1 installed those symlinks. but during the > > upgrade process, they should have been expunged by portage automatically. > > > > Which happened for me on every single machine I've upgraded on. Which sounds to > me like someone touched those symlinks so that mtime didn't match or some such > so Portage didn't remove em. > Brand new install, symlinks still exist, no touching here - suggest re-open. Just like comment #4, brand new install with no touching and the symlinks are there. Not for long though... (In reply to comment #5) > Just like comment #4, brand new install with no touching and the symlinks are > there. Not for long though... > I can confirm this as well. Fresh install and upgrade to openrc leaves the broken symlinks in /etc/init.d/. This bug seems valid. Just unpack a stage3 tarball, chroot and update to openrc leaves these old symlinks around. Created attachment 182926 [details]
baselayout2-merge
This is the merge part of portage output for sys-apps/baselayout-2.
One can clearly see that the links are kept for modified mtime.
It should remove /etc/conf.d/rc and other /etc/conf.d files used by old baselayout as well. Or at least inform user to remove by hand if neccessary. Option 1: Make a note in migration guide. Option 2: rm symlinks in postinst. I'd lean to option 1, I guess. *** Bug 347483 has been marked as a duplicate of this bug. *** The broken links are now being removed as part of openrc's pkg_postinst phase. |