Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481336 - =sys-apps/openrc-0.12 removes user-modified /etc/conf.d/net on upgrade
Summary: =sys-apps/openrc-0.12 removes user-modified /etc/conf.d/net on upgrade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-16 16:08 UTC by Ian Stakenvicius (RETIRED)
Modified: 2013-08-16 17:34 UTC (History)
1 user (show)

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 Ian Stakenvicius (RETIRED) gentoo-dev 2013-08-16 16:08:02 UTC
In order to save users from themselves, old openrc ebuilds (0.11.8 and previous) used to copy /etc/conf.d/net from ${EROOT} into ${D} during pkg_preinst.

However, this has the nasty side-effect of making that config file be owned by openrc in the vdb CONTENTS, including user-customized versions of that file.

Openrc-0.12 no longer provides conf.d/net and related files, and so when users upgrade from 0.11.8 to 0.12, and they -haven't- modified their conf.d/net files since 0.11.8 was installed, the merge process removes conf.d/net along with the rest of 0.11.8

A new hack is needed to undo what the old hack did.
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2013-08-16 16:13:32 UTC
+  16 Aug 2013; Ian Stakenvicius <axs@gentoo.org> +files/net.confd.comment,
+  openrc-0.12.ebuild:
+  stop the removal of /etc/conf.d/net when upgrading from 0.11.8 and previous,
+  bug 481336
+
Comment 2 Nebojsa Trpkovic 2013-08-16 17:34:30 UTC
very unpleasant expeirence... :(