Bug 97079 - How to use jail_fstab is wrong in /etc/rc.d/jail
Summary: How to use jail_fstab is wrong in /etc/rc.d/jail
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 6.1-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: Florent Thoumie
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-10 10:00 UTC by Yamagami Yoshiyuki
Modified: 2006-09-26 00:00 UTC (History)
0 users

See Also:


Attachments
file.diff (655 bytes, patch)
2006-05-10 10:00 UTC, Yamagami Yoshiyuki
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yamagami Yoshiyuki 2006-05-10 10:00:32 UTC
The first jail_fstab enters jail_fstab since the second when jail_hoge_example_com_fstab is not set when two jail or more is prepared.

How-To-Repeat: Two jail or more is prepared.
Comment 1 Matteo Riondato freebsd_committer freebsd_triage 2006-05-10 13:45:46 UTC
Can you please elaborate a bit on this problem and, if possible, send
us your settings so I can try to reproduce this problem?
Thank you
Best Regards
-- 
Matteo Riondato
FreeBSD Committer (http://www.freebsd.org)
G.U.F.I. Staff Member (http://www.gufi.org)
FreeSBIE Developer (http://www.freesbie.org)
Comment 2 Maxim Konovalov 2006-05-12 10:40:48 UTC
Hello,

Could you please help Florent to test his patch?  Thanks!

-- 
Maxim Konovalov

---------- Forwarded message ----------
Date: Fri, 12 May 2006 10:21:41 +0100
From: Florent Thoumie <flz@freebsd.org>
To: freebsd-current@freebsd.org
Cc: freebsd-stable@freebsd.org
Subject: Jail testers needed (rc.d/jail)

Hey lists,

Two or three days before the CVS tree has been tagged for FreeBSD
6.1-RELEASE, I've committed a broken version of the jail rc.d script.

The symptoms are:

- an ifconfig error message if you don't define a jail_interface and
have at least one jail configured, this one is harmless.
- a problem with one of the following variable: jail_exec,
jail_exec_start, jail_exec_stop, jail_flags and especially jail_fstab;
if you have at least two jails configured.

I committed yesterday a fix that should supposedly fix both of these
issues so I'd need all jail users running either FreeBSD 6.1-RELEASE or
6-STABLE (older than two days) to try the new script [1] and report the
result, either successful or not. Once I'll get enough successful
reports, I'll contact the Release Engineering team to make sure the
patch makes it to the RELENG_6_1 branch.

Sorry for the inconvenience.

Note: Keep me CC'ed as I'm not (yet) subscribed to these lists.

[1] http://cvsweb.freebsd.org/src/etc/rc.d/jail?rev=1.32

-- 
Florent Thoumie
flz@FreeBSD.org
FreeBSD Committer
Comment 3 Maxim Konovalov freebsd_committer freebsd_triage 2006-05-12 18:58:09 UTC
State Changed
From-To: open->patched

Should be fixed in HEAD. 


Comment 4 Maxim Konovalov freebsd_committer freebsd_triage 2006-05-12 18:58:09 UTC
Responsible Changed
From-To: freebsd-bugs->flz

Over to Florent.
Comment 5 Maxim Konovalov 2006-05-15 10:00:02 UTC
---------- Forwarded message ----------
Date: Mon, 15 May 2006 17:57:00 +0900
From: Yamagami Yoshiyuki <yamagami@netsystems.co.jp>
To: Maxim Konovalov <maxim@macomnet.ru>
Cc: yamagami@netsystems.co.jp
Subject: Re: kern/97079

Hello,

Maxim Konovalov wrote:
> Hello,
>
> Could you please help Florent to test his patch?  Thanks!
>
>
It operated without trouble by /etc/rc.d/jail rev 1.32.
Thank you.
-- 
Yamagami Yoshiyuki
Comment 6 Florent Thoumie freebsd_committer freebsd_triage 2006-09-25 23:59:51 UTC
State Changed
From-To: patched->closed

Bug has been fixed some time ago.