On Tue, Jul 13, 2010 at 4:26 PM, Maciej (Matchek) Blizinski <[email protected]> wrote: > I've found an interesting issue and I can't decide whether it's a > problem or not. If you look at the list of files here: > http://www.opencsw.org/search/vsftpd/ -- there is a directory named > /opt/csw/var/empty/vsftpd, but the directory /opt/csw/var/empty is > provided by neither vsftpd nor any of its dependencies. During > installation, /opt/csw/var/empty gets created. On uninstallation, the > /opt/csw/var/empty/vsftpd directory is removed, but /opt/csw/var/empty > is not. > > Is not providing the parent directory a bug?
Sun recommends putting all needed directories in the none class so they will be created first (of course also before files in the none class). However, I think pkgadd is smart enough to create missing directories on the fly which is what happened here. Since there's no entry in the pkgmap for this directory (and pkgadd doesn't use installf for missing dirs?) pkgrm will not clean it up. This is probably only a problem when using CAS. With a simple "cp src dest" we will get in trouble with missing dirs like in the case of nrpe. -- /peter _______________________________________________ maintainers mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/maintainers .:: This mailing list's archive is public. ::.
