The package users hint
(http://www.linuxfromscratch.org/hints/downloads/files/more_control_and_pkg_man.txt)
says:

In case you were wondering if you should create
/etc/nsswitch.conf and /etc/ld.so.conf as root or glibc, I
recommend to assign all files that you manually create or
manually edit to the root account. That way you can distinguish
between those files that can be regenerated automatically and
those that can not. Assigning even automatically generated files
to root once you make the first manual edit, ensures that a later
reinstallation of a package won't silently do away with your
manual tweaks.



With regard to the management of configuration files, I suggest
that on systems, where the package users system is used:

1) initially, any configuration file be owned by the package user
who has installed the package that this configuratino file is
part of or used by;
2) a config user (possibly with primary group config) be used to
change (either manually or automatically) any configuration file;
the rationale behind this proposal is to avoid the possibility
that root forgets to change the owner and/or the group of any
configuration file that they change;
3) when using the approach proposed above, either the owner or
the group of a modified file be changed so that one can tell
which package the file is part of (or used by) by looking at the
other attribute;

--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to