Source-Changes-D archive

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

Re: CVS commit: src/usr.sbin/pwd_mkdb



On Thu, Jun 18, 2009 at 06:13:56PM -0400, Christos Zoulas wrote:
> Module Name:  src
> Committed By: christos
> Date:         Thu Jun 18 22:13:56 UTC 2009
> 
> Modified Files:
>       src/usr.sbin/pwd_mkdb: pwd_mkdb.c
> 
> Log Message:
> allow overwriting the version record.

This change or one of the two previous ones breaks unprivileged builds:

--- install-etc-files ---
#   install  /export/scratch/tron/obj/destdir.i386/etc/master.passwd
cd /src/NetBSD-current/src/etc && /src/tools/bin/i486--netbsdelf-install -U -M 
/export/scratch/tron/obj/destdir.i386/METALOG -D 
/export/scratch/tron/obj/destdir.i386 -h sha256 -N /src/NetBSD-current/src/etc 
-c -p -r -T etc_pkg -o root -g wheel -m 600  master.passwd 
/export/scratch/tron/obj/destdir.i386/etc
/src/tools/bin/nbpwd_mkdb -p -L -d /export/scratch/tron/obj/destdir.i386/  
/export/scratch/tron/obj/destdir.i386/etc/master.passwd
nbpwd_mkdb: Database /etc/pwd.db has no version info
nbpwd_mkdb: Cannot open database /etc/spwd.db: Permission denied
*** [install-etc-files] Error code 1
1 error

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index