NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

install/38571: sysinst runs "postinstall fix"



>Number:         38571
>Category:       install
>Synopsis:       sysinst runs "postinstall fix"
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 03 21:20:00 +0000 2008
>Originator:     Alan Barrett
>Release:        NetBSD 4.99.60
>Organization:
Not much
>Environment:
System: NetBSD 4.99.60 i386
>Description:
If you use sysinst to upgrade to a new vesion of NetBSD, then sysinst
will "/usr/sbin/postinstall -s /.sysinst -d / fix".  This will overwrite
any local changes to files in several parts of /etc, leading to data
loss if there are inadequate backups.

>How-To-Repeat:
Code inspection

>Fix:
Run "postinstall check" instead of "postinstall fix"; display the results,
and obtain permission from the user before running "postinstall fix".
Alternatively, offer to run "etcupdate" instead of "postinstall fix".



Home | Main Index | Thread Index | Old Index