NetBSD-Bugs archive

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

bin/59574: running etcupdate -s $SRC generates cruft unter $SRC



>Number:         59574
>Category:       bin
>Synopsis:       running etcupdate -s $SRC generates cruft unter $SRC
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 05 15:15:00 +0000 2025
>Originator:     Harold Gutch
>Release:        current
>Organization:
The NetcupdateBSD Foundation
>Environment:
NetBSD dogfood 11.99.1 NetBSD 11.99.1 (GENERIC) #0: Tue Aug  5 04:03:05 CEST 2025  h@dogfood:/home/h/netbsd/git/obj-amd64/sys/arch/amd64/compile/GENERIC amd64
>Description:
Running etcupdate -s $SRCDIR wants to create a number of cat directories under /usr/share/man/ (and presumably will later try to populate them - I said "no" to all the questions here).  More worryingly, it creates a number of files in $SRCDIR:

  etc/MAKEDEV
  etc/defaults/rc_conf
  etc/motd
  etc/mtree/NetBSD.dist
  etc/mtree/NetBSD.dist.compat
  etc/mtree/NetBSD.dist.machine
  etc/mtree/NetBSD.dist.tmp
  etc/pam.d/display_manager
  etc/pam.d/ftpd
  etc/pam.d/sshd
  etc/pam.d/su
  etc/pam.d/system
  usr.sbin/certctl/etc-certs.conf


>How-To-Repeat:
On a current system with a checked out source tree under $SRCDIR, run

  etcupdate -s $SRCDIR
>Fix:
Fix?  Yes, please.

In the meanwhile, as a workaround, run etcupdate -s $OBJDIR/destdir.$ARCH after having run "build.sh distribution".



Home | Main Index | Thread Index | Old Index