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.

| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |

Reply via email to