Hmm... I have unpacked autobuild stage (from distfiles.gentoo.org)
yesterday. This system is clean (installed paludis and ccache). The
part of output of find_unmanaged_files.rb:

...
/etc/cron.weekly
/etc/cron.weekly/.keep
/etc/modules.autoload.d/.keep
/etc/cron.monthly
/etc/cron.monthly/.keep
/etc/profile.env
/etc/cron.hourly
/etc/cron.hourly/.keep
/etc/env.d/gcc/config-x86_64-pc-linux-gnu
/etc/env.d/gcc/.NATIVE
/etc/env.d/05binutils
/etc/env.d/05gcc-x86_64-pc-linux-gnu
/etc/env.d/binutils/config-x86_64-pc-linux-gnu
/etc/env.d/.keep
/etc/group-
/etc/ssl/certs/RSA_Root_Certificate_1.pem
/etc/ssl/certs/4fbd6bfa.0
/etc/ssl/certs/ff783690.0
/etc/ssl/certs/d78a75c7.0
/etc/ssl/certs/cert_igca_rsa.pem
/etc/ssl/certs/6fcc125d.0
...

After installing a couple of packages this output will very large and
I will not know which files are unmanaged and which are created by
hand authors of stage. So find_unmanaged_files.rb is not panacea. :-/

It is interesting how this problem solved in Exherbo with Paludis? Or
Exherbo also contains tons of cruft in /etc?

On Tue, Apr 28, 2009 at 7:56 PM, Markus Rothe <[email protected]> wrote:
> Sergey Zolotorev wrote:
>> This script find ALL unmanaged - for example /etc/fstab. For example I
>> don not know is it /etc/cron.daily/foo was installed by some (already
>> uninstalled) package or was in stage archive (and needed by system).
>
> All files in /etc should either belong to a package or are installed by hand
> from you. And it does not matter if the file was delivered through a stage
> tarball or from an ordinary install (i.e. paludis -i foo). At the end all
> files from the stage tarball have been installed with the package manager!
> /etc/fstab for example should be part of the baselayout package. You should
> check your install if this is not the case. ;-)
>
> Regards,
>
> Markus
>
> _______________________________________________
> paludis-user mailing list
> [email protected]
> http://lists.pioto.org/mailman/listinfo/paludis-user
>
>



-- 
Sergey Zolotorev
_______________________________________________
paludis-user mailing list
[email protected]
http://lists.pioto.org/mailman/listinfo/paludis-user

Reply via email to