Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4033 - /etc/env.d/30sane file (in sane-backends)
Summary: /etc/env.d/30sane file (in sane-backends)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-22 12:37 UTC by Arcady Genkin (RETIRED)
Modified: 2003-02-04 19:42 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 Arcady Genkin (RETIRED) gentoo-dev 2002-06-22 12:37:52 UTC
sane-backends ebuild installs /etc/env.d/30sane from pkg_postins().  As a
result, this file is not accounted for, and will not be removed when
uninstalling the package.

IMO we should move its installation into src_install().
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-23 18:19:32 UTC
Actually, no files in /etc are ever uninstalled because of the
CONFIG_PROTECT_MASK thingy.  That means, even installing them from src_install
won't remove them when uninstalled..
Comment 2 Arcady Genkin (RETIRED) gentoo-dev 2002-06-24 01:15:21 UTC
But isn't there a way to override the protection thingy?  Besides, even if the
files are never uninstalled, then at least they are accounted for.  E.g.:

  tea:/etc/sane.d$ qpkg -f /etc/sane.d/net.conf 
  media-gfx/sane-backends-1.0.8 *

but

  tea:/etc/sane.d$ qpkg -f /etc/env.d/30sane

comes up with no accounting info.  I think that, unless there was a good reason
not to do it this way, the file in env.d should be installed normally from
src_install().
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-24 04:22:24 UTC
touche :)
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-24 07:06:07 UTC
done