From owner-freebsd-rc@FreeBSD.ORG Sun Nov 4 12:10:59 2012 Return-Path: Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9CF3D8A8; Sun, 4 Nov 2012 12:10:59 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 6B36D8FC0A; Sun, 4 Nov 2012 12:10:59 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qA4CAxAe098978; Sun, 4 Nov 2012 12:10:59 GMT (envelope-from crees@freefall.freebsd.org) Received: (from crees@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qA4CAx9W098974; Sun, 4 Nov 2012 12:10:59 GMT (envelope-from crees) Date: Sun, 4 Nov 2012 12:10:59 GMT Message-Id: <201211041210.qA4CAx9W098974@freefall.freebsd.org> To: crees@FreeBSD.org, freebsd-rc@FreeBSD.org, freebsd-bugs@FreeBSD.org From: crees@FreeBSD.org Subject: Re: bin/173133: moused sometimes fails to reinitialise after suspend X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2012 12:10:59 -0000 Old Synopsis: [patch] rc.resume doesn't always restore moused to sane state; mouse freaks out in X11 New Synopsis: moused sometimes fails to reinitialise after suspend Responsible-Changed-From-To: freebsd-rc->freebsd-bugs Responsible-Changed-By: crees Responsible-Changed-When: Sun Nov 4 12:08:19 UTC 2012 Responsible-Changed-Why: Remove [patch] tag from Synopsis and reassign, this is a bug with moused. Reading the man page, it should exhibit the correct behaviour when sent SIGHUP. http://www.freebsd.org/cgi/query-pr.cgi?pr=173133 From owner-freebsd-rc@FreeBSD.ORG Sun Nov 4 12:30:01 2012 Return-Path: Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 85011E22 for ; Sun, 4 Nov 2012 12:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 6B81F8FC08 for ; Sun, 4 Nov 2012 12:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qA4CU150000867 for ; Sun, 4 Nov 2012 12:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qA4CU1fT000866; Sun, 4 Nov 2012 12:30:01 GMT (envelope-from gnats) Date: Sun, 4 Nov 2012 12:30:01 GMT Message-Id: <201211041230.qA4CU1fT000866@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org Cc: From: Chris Rees Subject: Re: conf/166484: [rc] [patch] rc.initdiskless patch for different major versions living together X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Chris Rees List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2012 12:30:01 -0000 The following reply was made to PR conf/166484; it has been noted by GNATS. From: Chris Rees To: "bug-followup@freebsd.org" Cc: Subject: Re: conf/166484: [rc] [patch] rc.initdiskless patch for different major versions living together Date: Sun, 4 Nov 2012 12:21:22 +0000 I think this is a great idea. My only concern is the backslashitis in the finding of $rel, and also the fact that it won't catch 10 properly :) Instead of: rel=`expr \`uname -r\` : '\(.\)'` try: rel=$(expr `uname -r` : '\([0-9][0-9]*\)') Does anyone else have any opinions? Chris From owner-freebsd-rc@FreeBSD.ORG Sun Nov 4 12:56:05 2012 Return-Path: Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 93BE2833; Sun, 4 Nov 2012 12:56:05 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 619FB8FC18; Sun, 4 Nov 2012 12:56:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qA4Cu50a001685; Sun, 4 Nov 2012 12:56:05 GMT (envelope-from crees@freefall.freebsd.org) Received: (from crees@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qA4Cu5W4001681; Sun, 4 Nov 2012 12:56:05 GMT (envelope-from crees) Date: Sun, 4 Nov 2012 12:56:05 GMT Message-Id: <201211041256.qA4Cu5W4001681@freefall.freebsd.org> To: yanegomi@gmail.com, crees@FreeBSD.org, freebsd-rc@FreeBSD.org From: crees@FreeBSD.org Subject: Re: conf/172521: [rc] service netif restart doesn't delete old IPv6 addresses X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2012 12:56:05 -0000 Synopsis: [rc] service netif restart doesn't delete old IPv6 addresses State-Changed-From-To: open->closed State-Changed-By: crees State-Changed-When: Sun Nov 4 12:56:05 UTC 2012 State-Changed-Why: The correct approach is to netif stop, edit the file, then netif start, as with most rc.conf changes. http://www.freebsd.org/cgi/query-pr.cgi?pr=172521 From owner-freebsd-rc@FreeBSD.ORG Sun Nov 4 13:40:11 2012 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6B39CDD1 for ; Sun, 4 Nov 2012 13:40:11 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (unknown [IPv6:2001:610:1108:5012::107]) by mx1.freebsd.org (Postfix) with ESMTP id 028958FC0A for ; Sun, 4 Nov 2012 13:40:11 +0000 (UTC) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mx1.stack.nl (Postfix) with ESMTP id 8A5851203C3; Sun, 4 Nov 2012 14:40:06 +0100 (CET) Received: by snail.stack.nl (Postfix, from userid 1677) id 72EF82848C; Sun, 4 Nov 2012 14:40:06 +0100 (CET) Date: Sun, 4 Nov 2012 14:40:06 +0100 From: Jilles Tjoelker To: Chris Rees Subject: Re: conf/166484: [rc] [patch] rc.initdiskless patch for different major versions living together Message-ID: <20121104134006.GA35520@stack.nl> References: <201211041230.qA4CU1fT000866@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201211041230.qA4CU1fT000866@freefall.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2012 13:40:11 -0000 On Sun, Nov 04, 2012 at 12:30:01PM +0000, Chris Rees wrote: > The following reply was made to PR conf/166484; it has been noted by GNATS. > From: Chris Rees > To: "bug-followup@freebsd.org" > Cc: > Subject: Re: conf/166484: [rc] [patch] rc.initdiskless patch for different > major versions living together > Date: Sun, 4 Nov 2012 12:21:22 +0000 > I think this is a great idea. > My only concern is the backslashitis in the finding of $rel, and also > the fact that it won't catch 10 properly :) > Instead of: > rel=`expr \`uname -r\` : '\(.\)'` > try: > rel=$(expr `uname -r` : '\([0-9][0-9]*\)') > Does anyone else have any opinions? The shell command should be: rel=$(uname -r) rel=${rel%%.*} Is it deliberate that the major release replaces base while the other items like bcast/${ipba} and ip/${ip} add to it? I think so, with the assumption that base.${rel} will be a straight copy of the results of make installworld and make distribution with a DESTDIR, all local changes living in the source tree or the other directories rc.initdiskless uses. -- Jilles Tjoelker From owner-freebsd-rc@FreeBSD.ORG Mon Nov 5 11:06:38 2012 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6A1B8CF9 for ; Mon, 5 Nov 2012 11:06:38 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 4E5528FC17 for ; Mon, 5 Nov 2012 11:06:38 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qA5B6cxO001275 for ; Mon, 5 Nov 2012 11:06:38 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qA5B6bux001273 for freebsd-rc@FreeBSD.org; Mon, 5 Nov 2012 11:06:37 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 5 Nov 2012 11:06:37 GMT Message-Id: <201211051106.qA5B6bux001273@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-rc@FreeBSD.org Subject: Current problem reports assigned to freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2012 11:06:38 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/173153 rc [rc.d] [patch] $netwait_ip should be more parallel o conf/173088 rc [PATCH] rc.subr breaks with spaces in ${name}_chroot o conf/172532 rc [rc] [patch] service routing restart always fails o conf/169373 rc mountd starts too early when exporting fs marked as la o conf/169047 rc [rc.subr] [patch] /etc/rc.subr not checking some scrip o bin/168544 rc [patch] [rc]: addswap-mounted swapfiles cause panic on o conf/167566 rc [rc.d] [patch] ipdivert module loading vs. ipfw rc.d o o conf/166484 rc [rc] [patch] rc.initdiskless patch for different major o conf/165769 rc [rc][jai][ipv6] IPv6 Initialization on external iface f bin/165477 rc [rc] dhclient is run twice o conf/164393 rc [rc.d] restarting netif with static addresses doesn't o conf/163508 rc [rc.subr] [patch] Add "enable" and "disable" commands o conf/163488 rc Confusing explanation in defaults/rc.conf o conf/163321 rc [rc.conf] [patch] allow _fib syntax in rc.conf o conf/162642 rc .sh scripts in /usr/local/etc/rc.d get executed, not s p kern/161899 rc [route] ntpd(8): Repeating RTM_MISS packets causing hi o conf/161107 rc [rc] stop_boot in mountcritlocal usage is incorrect. o conf/160403 rc [rc] [patch] concurrently running rc-scripts during bo o conf/160240 rc rc.d/mdconfig and mdconfig2 should autoset $_type to v o conf/159846 rc [rc.conf] routing_stop_inet6() logic doesn't handle ip o conf/158557 rc [patch] /etc/rc.d/pf broken messages o conf/158127 rc [patch] remount_optional option in rc.initdiskless doe o conf/153666 rc [rc.d][patch] mount filesystems from fstab over zfs da o conf/153200 rc post-boot /etc/rc.d/network_ipv6 start can miss neighb o conf/153123 rc [rc] [patch] add gsched rc file to automatically inser o conf/150474 rc [patch] rc.d/accounting: Add ability to set location o o conf/149867 rc [PATCH] rc.d script to manage multiple FIBS (kern opti o conf/149831 rc [PATCH] add support to /etc/rc.d/jail for delegating Z o conf/148656 rc rc.firewall(8): {oip} and {iip} variables in rc.firewa o conf/147685 rc [rc.d] [patch] new feature for /etc/rc.d/fsck o conf/147444 rc [rc.d] [patch] /etc/rc.d/zfs stop not called on reboot o conf/146053 rc [patch] [request] shutdown of jails breaks inter-jail o conf/145399 rc [patch] rc.d scripts are unable to start/stop programs o conf/145009 rc [patch] rc.subr(8): rc.conf should allow mac label con o conf/143637 rc [patch] ntpdate(8) support for ntp-servers supplied by o conf/143085 rc [patch] ftp-proxy(8) rc(8) with multiple instances a conf/142973 rc [jail] [patch] Strange counter init value in jail rc o conf/142434 rc [patch] Add cpuset(1) support to rc.subr(8) o conf/142304 rc rc.conf(5): mdconfig and mdconfig2 rc.d scripts lack e o conf/141909 rc rc.subr(8): [patch] add rc.conf.d support to /usr/loca o conf/141678 rc [patch] A minor enhancement to how /etc/rc.d/jail dete o conf/140440 rc [patch] allow local command files in rc.{suspend,resum o conf/140261 rc [patch] Improve flexibility of mdconfig2 startup scrip p conf/138208 rc [rc.d] [patch] Making rc.firewall (workstation) IPv6 a o conf/137271 rc [rc.d] Cannot update /etc/host.conf when root filesyst o conf/136624 rc [rc.d] sysctl variables for ipnat are not applied on b o conf/134918 rc [patch] rc.subr fails to detect perl daemons o conf/134660 rc [patch] rc-script for initializing ng_netflow+ng_ipfw o conf/134333 rc PPP configuration problem in the rc.d scripts in combi o conf/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o conf/132483 rc rc.subr(8) [patch] setfib(1) support for rc.subr o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o conf/126392 rc [patch] rc.conf ifconfig_xx keywords cannot be escaped o conf/124747 rc [patch] savecore can't create dump from encrypted swap o conf/124248 rc [jail] [patch] add support for nice value for rc.d/jai o conf/123734 rc [patch] Chipset VIA CX700 requires extra initializatio o conf/123222 rc [patch] Add rtprio(1)/idprio(1) support to rc.subr(8). p conf/123119 rc [patch] rc script for ipfw does not handle IPv6 o conf/122968 rc [rc.d] /etc/rc.d/addswap: md swapfile multiplication a o conf/122477 rc [patch] /etc/rc.d/mdconfig and mdconfig2 are ignoring o conf/122170 rc [patch] [request] New feature: notify admin via page o o kern/121566 rc [nfs] [request] [patch] ethernet iface should be broug a conf/119874 rc [patch] "/etc/rc.d/pf reload" fails if there are macro o conf/119076 rc [patch] [rc.d] /etc/rc.d/netif tries to remove alias a o bin/118325 rc [patch] [request] new periodic script to test statuses f conf/118255 rc savecore never finding kernel core dumps (rcorder prob f conf/117935 rc [patch] ppp fails to start at boot because of missing f conf/113915 rc [patch] ndis wireless driver fails to associate when i o conf/108589 rc rtsol(8) fails due to default ipfw rules o conf/106009 rc [ppp] [patch] [request] Fix pppoed startup script to p f conf/105689 rc [ppp] [request] syslogd starts too late at boot f conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp f conf/104549 rc [patch] rc.d/nfsd needs special _find_processes functi o conf/102700 rc [geli] [patch] Add encrypted /tmp support to GELI/GBDE f conf/99721 rc [patch] /etc/rc.initdiskless problem copy dotfile in s o conf/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d f conf/92523 rc [patch] allow rc scripts to kill process after a timeo o conf/89870 rc [patch] [request] make netif verbose rc.conf toggle a conf/88913 rc [patch] wrapper support for rc.subr o conf/85819 rc [patch] script allowing multiuser mode in spite of fsc o kern/81006 rc ipnat not working with tunnel interfaces on startup o conf/77663 rc Suggestion: add /etc/rc.d/addnetswap after addcritremo o conf/73677 rc [patch] add support for powernow states to power_profi a conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} f conf/56934 rc [patch] rc.firewall rules for natd expect an interface 85 problems total. From owner-freebsd-rc@FreeBSD.ORG Thu Nov 8 19:31:13 2012 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B5D79BB2 for ; Thu, 8 Nov 2012 19:31:13 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1AF948FC13 for ; Thu, 8 Nov 2012 19:31:12 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id e12so3053102lag.13 for ; Thu, 08 Nov 2012 11:31:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=DEPcydrVY/B/sw/EJ86swbfr0iWk7eVEMgll3Q5SHOI=; b=ig95KyDXozuM5cAK2l2AYKb+7OGmOaG9zYpNoHwohz7fqlqcB521f/z7o+0IdcE+Ys FI9E+Khv2LKy7F1mYr99VIR/TyS0oPueiZsYdVPfcd/f3I/3p1AjTkLjmXvw0tg3BAhZ e73Yji3h+ujRoD+kNXCjyi5exKrNy9rPJt098= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=DEPcydrVY/B/sw/EJ86swbfr0iWk7eVEMgll3Q5SHOI=; b=iWZleSMsidXsdm8h7/ZpRJewxjCXduntYrX1r67MCSrT+WMcaOnS9F8XFyjyXg6Sav cdFGrntDwaQWDp6bppDXzyVEJukGpB+iOFS9fVw0SUtlrtCcApwzRFpfFLLC/Rgt3JSW YIXYq28hyKg6RC0WfXcCHKhFL23tXTBPFXnUWYj3c2mPIGd7PHmLlSbqJvawWGe70EF9 KLJxepxBujUXdn/8m7qP78ZqHxevm4dx6JYigwxk79Y/vO58pI30E2PfN5oZHhyY+NYn wYDVH83oOkG0MJJG16WOcTSWoQdYXUnwp2kAssrR/WcrWVY8bCXYBGKcUe83jRxFd+9Z bTXQ== Received: by 10.152.104.115 with SMTP id gd19mr8623868lab.13.1352402713169; Thu, 08 Nov 2012 11:25:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.25.166 with HTTP; Thu, 8 Nov 2012 11:24:42 -0800 (PST) In-Reply-To: <20121108012722.GA18649@dft-labs.eu> References: <1352320766.1820.9.camel@mjakubik.localdomain> <20121108012722.GA18649@dft-labs.eu> From: Eitan Adler Date: Thu, 8 Nov 2012 14:24:42 -0500 Message-ID: Subject: Fwd: jail: unknown parameter: ip6.addr To: freebsd-rc@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQnCw4TTG9eEJkNBh23Jx5UkvHNiO7qcWbi4ezX+ESjxhhIJC2QtX5Oq4AHrsdX2X/gx1q3K Cc: Mateusz Guzik , Mike Jakubik , freebsd-jail@freebsd.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2012 19:31:13 -0000 someone on this list may want to take a look On 7 November 2012 20:27, Mateusz Guzik wrote: > On Wed, Nov 07, 2012 at 03:39:26PM -0500, Mike Jakubik wrote: >> Hello, >> >> I just updated a server to latest stable and my jails no longer start, >> troubleshooting the startup script shows us that the parameter ip6.addr >> is unknown, this system is compiled without INET6. > [..] >> + tail +2 /tmp/jail.PJ5ji3QH/jail.8101 >> jail: unknown parameter: ip6.addr > > Try this (lightly tested): > http://people.freebsd.org/~mjg/patches/rc-jail-ip-arg.diff > > Basically the idea is to pass ip4.addr and ip6.addr only when respective > addresses are specified in configuration. > > -- > Mateusz Guzik > _______________________________________________ > freebsd-jail@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org" -- Eitan Adler From owner-freebsd-rc@FreeBSD.ORG Sat Nov 10 10:38:25 2012 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C30D765E; Sat, 10 Nov 2012 10:38:25 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2C37A8FC13; Sat, 10 Nov 2012 10:38:24 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jm19so891308bkc.13 for ; Sat, 10 Nov 2012 02:38:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=uYbU6Ru69t/DeoIrsrMdSX8CcQe6qBpqeR9EuCSoZ8M=; b=bBg2Mz8qrbi9oaW8X8qrc9VTd56pK9ChUViSfgqs0Iq1+0mDAFr6D+20vGM/Kg+gZs 4oH00Y6k4XD54Kqegg5SPuRAxtDcn8x/yDSMoeZiwTtptW8y7PHLwq6rETwXa1w6BO6l IzDCSZz73yPiYBLu/nhWw3EQcWhayJkpumheiM6659rmyVin4oZDNKvnVR41vYbStKxW LI29yqhfUqmZKZW69EFn+VpmVxi5mdkGgRV3tnQLiRQefsc3zIbzAXsf4KC8h0uyvc3E OjEiUXZJiWl/Eh331HYo26VjDpEfRUD2LF6XSkdnpRK08imzw8V9Ehg19v0fgGKsMx+F GlLA== Received: by 10.204.128.201 with SMTP id l9mr4692263bks.66.1352543904236; Sat, 10 Nov 2012 02:38:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.50.197 with HTTP; Sat, 10 Nov 2012 02:37:53 -0800 (PST) From: Chris Rees Date: Sat, 10 Nov 2012 10:37:53 +0000 Message-ID: Subject: Re: jail: unknown parameter: ip6.addr To: jail@freebsd.org, "freebsd-rc@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Nov 2012 10:38:25 -0000 [adding rc@, please keep me CCd as I'm not in jail@] On Thu, 2012-11-08 at 02:27 +0100, Mateusz Guzik wrote: > On Wed, Nov 07, 2012 at 03:39:26PM -0500, Mike Jakubik wrote: > > Hello, > > > > I just updated a server to latest stable and my jails no longer start, > > troubleshooting the startup script shows us that the parameter ip6.addr > > is unknown, this system is compiled without INET6. > [..] > > + tail +2 /tmp/jail.PJ5ji3QH/jail.8101 > > jail: unknown parameter: ip6.addr > > Try this (lightly tested): > http://people.freebsd.org/~mjg/patches/rc-jail-ip-arg.diff > > Basically the idea is to pass ip4.addr and ip6.addr only when respective > addresses are specified in configuration. Since we've had confirmation that the patch works, a much faster way is to use sh's variable substitution magic, which also means a much smaller change: - ip4.addr=\"${_addrl}\" ip6.addr=\"${_addr6l}\" ${_parameters} command=${_exec_start} > ${_tmp_jail} 2>&1 \ + ${_addrl:+ip4.addr=\"${_addrl}\"} ${_addr6l:+ip6.addr=\"${_addr6l}\"} ${_parameters} command=${_exec_start} > ${_tmp_jail} 2>&1 \ I'll get a patch together later Chris From owner-freebsd-rc@FreeBSD.ORG Sat Nov 10 17:54:29 2012 Return-Path: Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 70C1FBFC; Sat, 10 Nov 2012 17:54:29 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 3E1DF8FC08; Sat, 10 Nov 2012 17:54:29 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qAAHsT4X031315; Sat, 10 Nov 2012 17:54:29 GMT (envelope-from crees@freefall.freebsd.org) Received: (from crees@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qAAHsTqt031311; Sat, 10 Nov 2012 17:54:29 GMT (envelope-from crees) Date: Sat, 10 Nov 2012 17:54:29 GMT Message-Id: <201211101754.qAAHsTqt031311@freefall.freebsd.org> To: sem@FreeBSD.org, crees@FreeBSD.org, freebsd-rc@FreeBSD.org, hrs@FreeBSD.org From: crees@FreeBSD.org Subject: Re: conf/132483: rc.subr(8) [patch] setfib(1) support for rc.subr X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Nov 2012 17:54:29 -0000 Synopsis: rc.subr(8) [patch] setfib(1) support for rc.subr State-Changed-From-To: open->patched State-Changed-By: crees State-Changed-When: Sat Nov 10 17:54:05 UTC 2012 State-Changed-Why: Committed to head in r242184 Responsible-Changed-From-To: freebsd-rc->hrs Responsible-Changed-By: crees Responsible-Changed-When: Sat Nov 10 17:54:05 UTC 2012 Responsible-Changed-Why: Committed by you http://www.freebsd.org/cgi/query-pr.cgi?pr=132483 From owner-freebsd-rc@FreeBSD.ORG Sat Nov 10 17:55:55 2012 Return-Path: Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5E271C2C; Sat, 10 Nov 2012 17:55:55 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 234DF8FC0A; Sat, 10 Nov 2012 17:55:55 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qAAHttUr031441; Sat, 10 Nov 2012 17:55:55 GMT (envelope-from crees@freefall.freebsd.org) Received: (from crees@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qAAHts9w031437; Sat, 10 Nov 2012 17:55:54 GMT (envelope-from crees) Date: Sat, 10 Nov 2012 17:55:54 GMT Message-Id: <201211101755.qAAHts9w031437@freefall.freebsd.org> To: crees@FreeBSD.org, crees@FreeBSD.org, freebsd-rc@FreeBSD.org, crees@FreeBSD.org From: crees@FreeBSD.org Subject: Re: conf/173088: [PATCH] rc.subr breaks with spaces in ${name}_chroot X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Nov 2012 17:55:55 -0000 Synopsis: [PATCH] rc.subr breaks with spaces in ${name}_chroot State-Changed-From-To: open->patched State-Changed-By: crees State-Changed-When: Sat Nov 10 17:55:33 UTC 2012 State-Changed-Why: Committed to head as r242183 Responsible-Changed-From-To: freebsd-rc->crees Responsible-Changed-By: crees Responsible-Changed-When: Sat Nov 10 17:55:33 UTC 2012 Responsible-Changed-Why: Committed by me http://www.freebsd.org/cgi/query-pr.cgi?pr=173088