pkgsrc-Bugs archive

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

Re: pkg/42256: check-files with /usr/pkgsrc mounted read-only



The following reply was made to PR pkg/42256; it has been noted by GNATS.

From: Steven Drake <sdrake%xnet.co.nz@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/42256: check-files with /usr/pkgsrc mounted read-only
Date: Mon, 2 Nov 2009 13:34:06 +1300 (NZDT)

 On Sun, 1 Nov 2009, Joerg Sonnenberger wrote:
 
 >  On Sun, Nov 01, 2009 at 11:45:01PM +0000, Steven Drake wrote:
 >  > Running /usr/pkg/sbin/pkg_delete -K /var/pkg/db/pkg  python25-2.5.4nb1
 >  > pkg_delete: Couldn't remove /usr/pkg/lib/python2.5/lib-dynload/dbm.so
 >  > /bin/rm: cannot remove `check-files-pre-message': Read-only file system
 >  > /bin/rm: cannot remove `check-files-post-message': Read-only file system
 >  
 >  Why is rm -f returning an error? That sounds more like a coreutils bug
 >  than anything else.
 
 Your suggesting that rm -f treats unlink(2) failures that return an EROFS 
 errno value specially, and by looking at the source's nether the coreutils
 rm or the netbsd rm do.
 
 -- 
 Steven
 


Home | Main Index | Thread Index | Old Index