NetBSD Problem Report #53018

From paul@whooppee.com  Mon Feb 12 22:36:54 2018
Return-Path: <paul@whooppee.com>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id B9D0F7A1BA
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 12 Feb 2018 22:36:54 +0000 (UTC)
Message-Id: <20180212223621.4CA3B16E44@speedy.whooppee.com>
Date: Tue, 13 Feb 2018 06:36:21 +0800 (+08)
From: paul@whooppee.com
Reply-To: paul@whooppee.com
To: gnats-bugs@NetBSD.org
Subject: missing /etc/rc.d/dhcpd6 file after upgrade
X-Send-Pr-Version: 3.95

>Number:         53018
>Category:       install
>Synopsis:       missing /etc/rc.d/dhcpd6 file after upgrade
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 12 22:40:00 +0000 2018
>Closed-Date:    Sat Feb 17 10:48:46 +0000 2018
>Last-Modified:  Sat Feb 17 10:48:46 +0000 2018
>Originator:     Paul Goyette
>Release:        NetBSD 8.99.12
>Organization:
+------------------+--------------------------+----------------------------+
| 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 |
+------------------+--------------------------+----------------------------+
>Environment:


System: NetBSD speedy.whooppee.com 8.99.12 NetBSD 8.99.12 (SPEEDY 2018-02-12 00:00:12 UTC) #3: Mon Feb 12 06:57:12 UTC 2018 paul@speedy.whooppee.com:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/SPEEDY amd64
Architecture: x86_64
Machine: amd64
>Description:
After a recent upgrade from 8.99.7 --> 8.99.12, the /etc/security
script is reporting a missing file:

	...
	Checking special files and directories.
	./etc/rc.d/dhcpd6 missing
	...

I have succcessfully run both postinstall and etcupdate, neither of
which complains about this file.  The file is listed in the
/etc/mtree/special file, but without the optional flag that other
related files (such as /etc/dhcpcd.{duid,hook} and /etc/dhcpcd6.conf)
have.  Therefore, even though the file is not installed, the daily
/etc/security script expects the file to exist.

>How-To-Repeat:
See above - upgrade to 8.99.12 and run the daily /etc/security script.

>Fix:
Perhaps it is as simple as adding the "optional" flag to the entry in
/etc/mtree/special specification file?  Or perhaps the file should be
properly installed, and its absence detected (and fixed) by either
postinstall or etcupdate?


>Release-Note:

>Audit-Trail:
From: "Valeriy E. Ushakov" <uwe@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53018 CVS commit: src
Date: Sat, 17 Feb 2018 03:02:04 +0000

 Module Name:	src
 Committed By:	uwe
 Date:		Sat Feb 17 03:02:04 UTC 2018

 Modified Files:
 	src/distrib/sets/lists/etc: mi
 	src/etc/rc.d: Makefile

 Log Message:
 Actually install dhcpd6 rc script.  Organize CONFIGFILES
 alphabetically again while where.

 PR 53018


 To generate a diff of this commit:
 cvs rdiff -u -r1.250 -r1.251 src/distrib/sets/lists/etc/mi
 cvs rdiff -u -r1.96 -r1.97 src/etc/rc.d/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: uwe@NetBSD.org
State-Changed-When: Sat, 17 Feb 2018 10:48:46 +0000
State-Changed-Why:
Should be fixed now.  No pull-ups are necessary.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.