UFS journal error on 10.0-CURRENT

2012-08-30 Thread René Ladan
Hi, after a power dip (don't ask how!) my 10.0-amd64 laptop running r239793 decided to check its file systems. On /usr it fixed some errors but I am stuck with: # fsck -y /usr ** /dev/ada0s1f USE JOURNAL? yes ** SU+J Recovering /dev/ada0s1f ** Reading 33554432 byte journal from inode 5 RECOVER?

Re: [CFT] Some updates to libc/rpc (second try)

2012-08-30 Thread Andrey Simonenko
On Wed, Aug 29, 2012 at 09:57:37PM -0500, Pedro Giffuni wrote: This is rather critical stuff (libc) so I have no hurry and would like extensive testing before considering it for head. Please give it a try and report any issue. Looks like that their getnetconfig.c and getnetpath.c have

Re: [CFT] Some updates to libc/rpc (second try)

2012-08-30 Thread Garrett Cooper
On Thu, Aug 30, 2012 at 2:21 AM, Andrey Simonenko si...@comsys.ntu-kpi.kiev.ua wrote: On Wed, Aug 29, 2012 at 09:57:37PM -0500, Pedro Giffuni wrote: This is rather critical stuff (libc) so I have no hurry and would like extensive testing before considering it for head. Please give it a try

Re: UFS journal error on 10.0-CURRENT

2012-08-30 Thread Jakub Lach
If I were you, I would try regular fsck, as here (9-STABLE) using journal has left me with fs inconsistencies. -- View this message in context: http://freebsd.1045724.n5.nabble.com/UFS-journal-error-on-10-0-CURRENT-tp5739231p5739274.html Sent from the freebsd-current mailing list archive

Re: UFS journal error on 10.0-CURRENT

2012-08-30 Thread René Ladan
2012/8/30 Jakub Lach jakub_l...@mailplus.pl: If I were you, I would try regular fsck, as here (9-STABLE) using journal has left me with fs inconsistencies. I could do that, but I wonder why fsck_ufs is not able to figure that out by itself. René ___

Re: make package fails in chroot: tar: getvfsbyname failed: No such file or directory

2012-08-30 Thread Bernhard Fröhlich
On Mon, Aug 20, 2012 at 2:31 PM, Konstantin Belousov kostik...@gmail.com wrote: On Mon, Aug 20, 2012 at 01:42:31PM +0200, Bernhard Fr?hlich wrote: On Sun, Aug 19, 2012 at 10:01 PM, Tim Kientzle t...@kientzle.com wrote: On Aug 19, 2012, at 12:17 PM, Garrett Cooper wrote: On Sun, Aug 19,

pkg (aka pkgng) 1.0 released

2012-08-30 Thread Baptiste Daroussin
Hi all, Since Julien Laffaye and I started pkgng lots of things has happened and here we are now. After 2 years of development (first commit Tue Sep 7 2010), more than 2000 commits, 43 different contibutors. The pkgng team is proud to release pkg-1.0! Before going further I would like to

Re: make package fails in chroot: tar: getvfsbyname failed: No such file or directory

2012-08-30 Thread Konstantin Belousov
On Thu, Aug 30, 2012 at 04:07:48PM +0200, Bernhard Fr?hlich wrote: On Mon, Aug 20, 2012 at 2:31 PM, Konstantin Belousov kostik...@gmail.com wrote: On Mon, Aug 20, 2012 at 01:42:31PM +0200, Bernhard Fr?hlich wrote: On Sun, Aug 19, 2012 at 10:01 PM, Tim Kientzle t...@kientzle.com wrote:

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-30 Thread Tijl Coosemans
On 27-08-2012 18:24, John Baldwin wrote: On Sunday, August 26, 2012 4:37:53 pm Doug Barton wrote: The problem is that we don't really support the idea of things in the base magically deleting themselves. As I have said in previous messages, the bootstrapping problem is being overblown by

Re: pkg (aka pkgng) 1.0 released

2012-08-30 Thread John Nielsen
Thanks to everyone involved. I've been lightly testing pkg for a little while, but I still mainly use ports. This announcement prompted me to switch from portupgrade to portupgrade-devel (20120827 version) to see how it works with PKGNG. I encountered a couple issues: Portupgrade doesn't

Re: pkg (aka pkgng) 1.0 released

2012-08-30 Thread John Nielsen
On Aug 30, 2012, at 9:43 AM, John Nielsen li...@jnielsen.net wrote: Thanks to everyone involved. I've been lightly testing pkg for a little while, but I still mainly use ports. This announcement prompted me to switch from portupgrade to portupgrade-devel (20120827 version) to see how it

Re: pkg (aka pkgng) 1.0 released

2012-08-30 Thread Olivier Smedts
2012/8/30 John Nielsen li...@jnielsen.net: Running ps in another terminal shows pkg query %n-%v. Since the actual pkg is now gone, I suspect this is really /usr/sbin/pkg. I further suspect that it's waiting for y/n input (whether to install the binary pkg) on its nonexistent stdin

Re: Can't build FreeBSD-head with CLANG

2012-08-30 Thread Dimitry Andric
On 2012-08-29 10:41, Eir Nym wrote: ... /usr/head/src/sys/gnu/fs/xfs/xfs_alloc.c:1449:11: error: variable 'fbno' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] else if (args-minlen == 1 args-alignment == 1 !args-isfl

Re: Can't build FreeBSD-head with CLANG

2012-08-30 Thread Eir Nym
-- Eir Nym On 30 August 2012 20:16, Dimitry Andric d...@freebsd.org wrote: On 2012-08-29 10:41, Eir Nym wrote: ... /usr/head/src/sys/gnu/fs/xfs/xfs_alloc.c:1449:11: error: variable 'fbno' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]

[PATCH] make it possible for yp_mkdb to send YPPROC_CLEAR to arbitrary host

2012-08-30 Thread Niclas Zeising
I have a patch that makes it possible to send an YPPROC_CLEAR to any host, not just localhost. YPPROC_CLEAR is basically used to flush NIS connections, so that clients pick up changes done in the NIS maps right away. Currently yp_mkdb can send this to localhost, but if the NIS-server is in a

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-30 Thread John Baldwin
On Thursday, August 30, 2012 10:39:17 am Tijl Coosemans wrote: On 27-08-2012 18:24, John Baldwin wrote: On Sunday, August 26, 2012 4:37:53 pm Doug Barton wrote: The problem is that we don't really support the idea of things in the base magically deleting themselves. As I have said in

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-30 Thread Chris Rees
On 30 Aug 2012 18:03, John Baldwin j...@freebsd.org wrote: On Thursday, August 30, 2012 10:39:17 am Tijl Coosemans wrote: On 27-08-2012 18:24, John Baldwin wrote: On Sunday, August 26, 2012 4:37:53 pm Doug Barton wrote: The problem is that we don't really support the idea of things in

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-30 Thread John Baldwin
On Thursday, August 30, 2012 1:10:24 pm Chris Rees wrote: On 30 Aug 2012 18:03, John Baldwin j...@freebsd.org wrote: On Thursday, August 30, 2012 10:39:17 am Tijl Coosemans wrote: On 27-08-2012 18:24, John Baldwin wrote: On Sunday, August 26, 2012 4:37:53 pm Doug Barton wrote: The

Re: UFS journal error on 10.0-CURRENT

2012-08-30 Thread Marco Steinbach
On Thu, 30 Aug 2012, Jakub Lach wrote: If I were you, I would try regular fsck, as here (9-STABLE) using journal has left me with fs inconsistencies. Could you elaborate on the inconsistencies you encountered ? MfG CoCo ___

Re: pkg (aka pkgng) 1.0 released

2012-08-30 Thread John Nielsen
On Aug 30, 2012, at 10:06 AM, Olivier Smedts oliv...@gid0.org wrote: 2012/8/30 John Nielsen li...@jnielsen.net: Running ps in another terminal shows pkg query %n-%v. Since the actual pkg is now gone, I suspect this is really /usr/sbin/pkg. I further suspect that it's waiting for y/n input

Re: UFS journal error on 10.0-CURRENT

2012-08-30 Thread Jakub Lach
Yes, if I would answer 'yes' to using journal, there would be unexpected free inodes (?) or something like that in syslog and inconsistencies if full fsck would be performed. Basically if I have answered 'yes' to using journal, fs would always be marked 'clean' regardless of state. -- View

Script to set/unset automatic status in PKGNG database

2012-08-30 Thread John Nielsen
I today noticed the pkg autoremove command for the first time, which does much the same thing as pkg_cutleaves but relies on the automatic flag in the pkgng database rather than user input to determine which leaf ports can be removed. Unfortunately, the pkg2ng utility has no way of knowing

Re: Script to set/unset automatic status in PKGNG database

2012-08-30 Thread Julien Laffaye
On 8/30/2012 11:19 PM, John Nielsen wrote: I today noticed the pkg autoremove command for the first time, which does much the same thing as pkg_cutleaves but relies on the automatic flag in the pkgng database rather than user input to determine which leaf ports can be removed. Unfortunately,

Re: Script to set/unset automatic status in PKGNG database

2012-08-30 Thread Baptiste Daroussin
Thank you, Would you mind adding create a patch against the git tree of pkgng so that we can include your script into the scripts subdirectory, so that we provide your script along with the next pkg 1.0.1 as a contributed script? regards, Bapt On Thu, Aug 30, 2012 at 03:19:59PM -0600, John

Re: Script to set/unset automatic status in PKGNG database

2012-08-30 Thread Baptiste Daroussin
On Thu, Aug 30, 2012 at 11:29:14PM +0200, Julien Laffaye wrote: On 8/30/2012 11:19 PM, John Nielsen wrote: I today noticed the pkg autoremove command for the first time, which does much the same thing as pkg_cutleaves but relies on the automatic flag in the pkgng database rather than user

Re: Script to set/unset automatic status in PKGNG database

2012-08-30 Thread John Nielsen
On Aug 30, 2012, at 3:29 PM, Julien Laffaye jlaff...@freebsd.org wrote: On 8/30/2012 11:19 PM, John Nielsen wrote: I today noticed the pkg autoremove command for the first time, which does much the same thing as pkg_cutleaves but relies on the automatic flag in the pkgng database rather

Re: Script to set/unset automatic status in PKGNG database

2012-08-30 Thread John Nielsen
On Aug 30, 2012, at 3:28 PM, Baptiste Daroussin b...@freebsd.org wrote: On Thu, Aug 30, 2012 at 03:19:59PM -0600, John Nielsen wrote: I today noticed the pkg autoremove command for the first time, which does much the same thing as pkg_cutleaves but relies on the automatic flag in the pkgng

Re: Script to set/unset automatic status in PKGNG database

2012-08-30 Thread Baptiste Daroussin
On Thu, Aug 30, 2012 at 04:33:09PM -0600, John Nielsen wrote: On Aug 30, 2012, at 3:28 PM, Baptiste Daroussin b...@freebsd.org wrote: On Thu, Aug 30, 2012 at 03:19:59PM -0600, John Nielsen wrote: I today noticed the pkg autoremove command for the first time, which does much the same

Re: Script to set/unset automatic status in PKGNG database

2012-08-30 Thread John Nielsen
On Aug 30, 2012, at 4:40 PM, Baptiste Daroussin b...@freebsd.org wrote: Thanks you should be enough, can you provide a git format-patch patch so that you get your name in the logs :D Here you go. 0001-Add-script-to-interactively-set-un-set-automatic-sta.patch Description: Binary data

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-30 Thread Doug Barton
On 08/30/2012 07:32 AM, John Baldwin wrote: On Thursday, August 30, 2012 1:10:24 pm Chris Rees wrote: On 30 Aug 2012 18:03, John Baldwin j...@freebsd.org wrote: On Thursday, August 30, 2012 10:39:17 am Tijl Coosemans wrote: On 27-08-2012 18:24, John Baldwin wrote: On Sunday, August 26, 2012

Re: Script to set/unset automatic status in PKGNG database

2012-08-30 Thread Matthew Seaman
On 30/08/2012 22:44, John Nielsen wrote: After dialog(1) exits the script has a list of packages to mark as automatic. Is there a non-SQL way to efficiently get the inverse? I.e. the set { all_packages - new_automatic_package_list } ? Use pkg query - it is really quite powerful. This shows