Current-Users archive

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

Re: Missing file after postisnstall?



On Tue, Feb 13, 2018 at 06:22:41 +0800, Paul Goyette wrote:

> On Tue, 13 Feb 2018, Paul Goyette wrote:
> 
> > On Tue, 13 Feb 2018, Valery Ushakov wrote:
> > 
> > > On Tue, Feb 13, 2018 at 05:40:22 +0800, Paul Goyette wrote:
> > > 
> > > > I recently updated from 8.99.7 to 8.99.12 and noticed that my
> > > > daily security
> > > > job reported a missing file:
> > > > 
> > > > 	Checking special files and directories.
> > > > 	./etc/rc.d/dhcpd6 missing
> > > > 
> > > > Shouldn't this have been found and fixed by postinstall?
> > > 
> > > Why it should be "fixed" if it ain't broken?  :) Your system still
> > > happily boots without DHCP6 server, isn't it?  If you want to update
> > > your configuration files to the new etc.tgz you run etcupdate.
> > > 
> > > postinstall only does minimal configuration tweaks that are necessary
> > > to keep the system working with the new userland, or at least that was
> > > its original design goal as I remember it.
> > 
> > I also ran `etcupdate -al -s etc.gz -s xetc.gz` and it does not find the
> > missing rc.d file, either.
> 
> The missing file is listed in an mtree specification file that was installed
> as part of the upgrade, so the file should exist.  But there doesn't seem to
> be any "sample" file anywhere in /usr/share so nothing that can be copied.
> 
> Since the postinstall/etcupdate process has previously found other missing
> rc.d files, and successfully fixed/installed them, I still consider this to
> be a bug in -current.  The mtree file says the file should exist, but it
> doesn't.

I guess is@ forgot to add it to etc/rc.d/Makefile and
distrib/sets/lists/etc/mi in

  http://mail-index.netbsd.org/source-changes/2017/12/29/msg090788.html

-uwe


Home | Main Index | Thread Index | Old Index