Re: HEADS UP: r185435 multi-IPv4/v6/no-IP jails in HEAD
On Thu, 11 Dec 2008, Philipp Wuensche wrote: Hi, ok, after another round of private mails I got it; I had been living with jail patches for too long; the jls output (without -v) should be on one line and not on two. That wasn't intended. Unfortunately noone had complained the months before.. I'll look at this. /bz -- Bjoern A. Zeeb The greatest risk is not taking one. ___ freebsd-jail@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
Re: HEADS UP: r185435 multi-IPv4/v6/no-IP jails in HEAD
I patched my jls to output the list of jails in XML & CSV format. makes things alot nicer to script with. Might be worth doing for everyone. - Andrew ___ freebsd-jail@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
Re: HEADS UP: r185435 multi-IPv4/v6/no-IP jails in HEAD
Bjoern A. Zeeb wrote: > On Thu, 11 Dec 2008, Philipp Wuensche wrote: > > Hi, > Not entirely true, the jls output is totaly different than before and breaks third-party applications like jailaudit and ezjail. >>> >>> This is only true if you use any of the new features. In case you use >>> single-IPv4 jails as before there should be absoultely no change in the >>> output format. >> >> Why do I get the new jls output then when I only use one ipaddr. for a >> jail and none of the new features at all? > > What are you using? The version from HEAD or are you running a patch > on either HEAD or 7 and if so from when? The version from HEAD without any patches. * $FreeBSD: src/usr.sbin/jls/jls.c,v 1.7 2008/12/11 01:04:25 bz Exp $ greetings, philipp ___ freebsd-jail@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
Re: HEADS UP: r185435 multi-IPv4/v6/no-IP jails in HEAD
On Thu, 11 Dec 2008, Philipp Wuensche wrote: Hi, Not entirely true, the jls output is totaly different than before and breaks third-party applications like jailaudit and ezjail. This is only true if you use any of the new features. In case you use single-IPv4 jails as before there should be absoultely no change in the output format. Why do I get the new jls output then when I only use one ipaddr. for a jail and none of the new features at all? What are you using? The version from HEAD or are you running a patch on either HEAD or 7 and if so from when? /bz -- Bjoern A. Zeeb The greatest risk is not taking one. ___ freebsd-jail@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
Re: HEADS UP: r185435 multi-IPv4/v6/no-IP jails in HEAD
Philipp Wuensche writes: > Not entirely true, the jls output is totaly different than before and > breaks third-party applications like jailaudit and ezjail. > > It is uneasy to parse too. jls | tail +3 | while read line ; do set $line if [ $# = 3 ] ; then echo "jail $1 (name $2 root $3) IPs:" elif [ $# = 1 ] ; then echo "$1" else echo "huh?" fi done DES -- Dag-Erling Smørgrav - d...@des.no ___ freebsd-jail@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
Re: HEADS UP: r185435 multi-IPv4/v6/no-IP jails in HEAD
Bjoern A. Zeeb wrote: > On Thu, 11 Dec 2008, Philipp Wuensche wrote: > > Hi, > >> Brian A. Seklecki wrote: >>> On Fri, 2008-12-05 at 20:47 +0100, Dag-Erling Smørgrav wrote: The question is, does it change existing behavior, or just add new functionality? >>> >>> The syntax semantics should be backward compatible, so likely the >>> latter. >> >> Not entirely true, the jls output is totaly different than before and >> breaks third-party applications like jailaudit and ezjail. > > This is only true if you use any of the new features. In case you use > single-IPv4 jails as before there should be absoultely no change in the > output format. Why do I get the new jls output then when I only use one ipaddr. for a jail and none of the new features at all? > PS: I trimmed the CC: list as noone was able to adhere to Reply-To. freebsd-current should be in the CC as the discussion is if it is MFCd and let loose to 7.2R greetings, Philipp ___ freebsd-jail@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
Re: HEADS UP: r185435 multi-IPv4/v6/no-IP jails in HEAD
Brian A. Seklecki wrote: > On Fri, 2008-12-05 at 20:47 +0100, Dag-Erling Smørgrav wrote: >> The question is, does it change existing behavior, or just add new >> functionality? > > The syntax semantics should be backward compatible, so likely the > latter. Not entirely true, the jls output is totaly different than before and breaks third-party applications like jailaudit and ezjail. It is uneasy to parse too. greetings, Philipp ___ freebsd-jail@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"
Re: HEADS UP: r185435 multi-IPv4/v6/no-IP jails in HEAD
On Thu, 11 Dec 2008, Philipp Wuensche wrote: Hi, Brian A. Seklecki wrote: On Fri, 2008-12-05 at 20:47 +0100, Dag-Erling Smørgrav wrote: The question is, does it change existing behavior, or just add new functionality? The syntax semantics should be backward compatible, so likely the latter. Not entirely true, the jls output is totaly different than before and breaks third-party applications like jailaudit and ezjail. This is only true if you use any of the new features. In case you use single-IPv4 jails as before there should be absoultely no change in the output format. /bz PS: I trimmed the CC: list as noone was able to adhere to Reply-To. -- Bjoern A. Zeeb The greatest risk is not taking one.___ freebsd-jail@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"