[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: install/38571: sysinst runs "postinstall fix"
The following reply was made to PR install/38571; it has been noted by GNATS.
From: Julian Djamil Fagir <gnrp%komkon2.de@localhost>
Subject: Re: install/38571: sysinst runs "postinstall fix"
Date: Wed, 29 Feb 2012 12:43:38 +0100
> > but what is a better one-line description of `postinstall fix`?
> > Btw, it should be named postinstall anyway (just now occurred to me).
> Is that the actual execution of postinstall? If so, in my experience
> it generally doesn't break /etc/, but it'll do things like delete
> obsolete files, report if some users or groups must be added (as
> postinstall cannot add those automatically yet), etc. It'll also
> occasionally warn that some directories or files should be moved by the
> "Execute the post-installation/post-upgrade script"?
but that's not a clear distinction from etcupdate(8) imho.
> However, that also won't really fix /etc/ like adding new configuration
> files or applying changes to them, for which etcupate is used.
> In the current state of postinstall, the output has to also be
> preserved so that the user can view it, perform any manual fixes
> needed, and rerun the check/fix phases to verify that all is clean.
> Of course, it'd probably be nice if the fix option could really
> autonomously perform any fix including merging user and group
Currently, there's a postinstall(8) run when `postinstall check` fails after
an upgrade. According to its manpage, it replaces existing files with the new
one and does not attempt to merge them.
Doesn't the documentation match the actual program?
Main Index |
Thread Index |