From owner-freebsd-jail@freebsd.org Sun Jun 11 17:21:30 2017 Return-Path: Delivered-To: freebsd-jail@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1D7ECD8B143 for ; Sun, 11 Jun 2017 17:21:30 +0000 (UTC) (envelope-from erdgeist@erdgeist.org) Received: from elektropost.org (elektropost.org [217.115.13.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6E89D702EC for ; Sun, 11 Jun 2017 17:21:28 +0000 (UTC) (envelope-from erdgeist@erdgeist.org) Received: (qmail 34352 invoked from network); 11 Jun 2017 17:14:43 -0000 Received: from elektropost.org (HELO elektropost.org) (erdgeist@erdgeist.org) by elektropost.org with ESMTPS (DHE-RSA-AES256-GCM-SHA384 encrypted); 11 Jun 2017 17:14:43 -0000 Date: Sun, 11 Jun 2017 19:12:58 +0200 User-Agent: K-9 Mail for Android In-Reply-To: <167834c1-48f8-2584-4f17-daf21dce788f@nosheep.fr> References: <167834c1-48f8-2584-4f17-daf21dce788f@nosheep.fr> MIME-Version: 1.0 Subject: Re: Cannot delete jail folder To: freebsd-jail@freebsd.org, =?ISO-8859-1?Q?Gr=E9gory_Reinbold?= From: Dirk Engling Message-ID: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 17:21:30 -0000 Currently on the road=2E But FAQ answers your question=2E Look for noschg h= ttps://erdgeist=2Eorg/arts/software/ezjail/#faq Best erdgeist Am 11=2E Juni 2017 17:13:00 MESZ schrieb "Gr=C3=A9gory Reinbold" : >Hi, > >I have installed a jail using ezjail-admin for testing the solution=2E=20 >After testing, I want to delete the jail using: > ># ezjail-admin delete jailname > >I see in the man page, the elete argument: only deletes ezjail's >control=20 >file for the selected jail as well as /etc/fstab=2Ejailname=2E > >So, I tried to delete the folder manually using: > ># rm -rf /usr/jails/jailname > >Result: /usr/jailname/test/var/empty > >My root are not able to delete this directory, so how I can it? > > >Regards > >--=20 >Gr=C3=A9gory Reinbold > >_______________________________________________ >freebsd-jail@freebsd=2Eorg mailing list >https://lists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-jail >To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd=2Eorg" --=20 Diese Nachricht wurde von meinem Android-Ger=C3=A4t mit K-9 Mail gesendet= =2E From owner-freebsd-jail@freebsd.org Sun Jun 11 17:26:13 2017 Return-Path: Delivered-To: freebsd-jail@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 100EDD8B44E for ; Sun, 11 Jun 2017 17:26:13 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yb0-f180.google.com (mail-yb0-f180.google.com [209.85.213.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C90F57084B for ; Sun, 11 Jun 2017 17:26:12 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yb0-f180.google.com with SMTP id 202so23136560ybd.0 for ; Sun, 11 Jun 2017 10:26:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=dcMAkTzCPkARU5EC3vFesN0BwJQGV2uSIbWKdgEIuBA=; b=CXdFon6+BO8YJs1peug6OnvaklC/LVC23Sx1eE2lInZrdRrE+46Ws2KOQpMew1x/Tu Fe7efFLLhCiGhBHpMfrZ1r+HhSYpoBCd6kyoiOmTborJbB43Mv/3mrRGmYPuDLFUAXYO FlPzTrfmYZSY5yr3ImQTaltIBcDQub8Vp+QpCRlwIEUVp/yZDCdeCxXSEua40SLOOVsp gxO5HjIs/kqn6TYWYS2iJQoQ+z5xjpOOkh9nVpTlc8zua9tHT88TXWYOXUjsv/dXXzAF vGA/MG3LdPBlt3m/Yu4Pc4EfXwjRuOZ85Ze2bh0Tbt+bfOWqy9Do05mPy4uIgkcXwu2J OyEg== X-Gm-Message-State: AODbwcBIih1sEhoR/UONH66NLyKznLOrZHsPnorMaunAomJ/3NIuzZwR Ny8nO3nk87aqo43/VA0= X-Received: by 10.37.80.68 with SMTP id e65mr22416545ybb.148.1497200382279; Sun, 11 Jun 2017 09:59:42 -0700 (PDT) Received: from mail-yb0-f182.google.com (mail-yb0-f182.google.com. [209.85.213.182]) by smtp.gmail.com with ESMTPSA id i128sm2863549ywf.17.2017.06.11.09.59.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Jun 2017 09:59:42 -0700 (PDT) Received: by mail-yb0-f182.google.com with SMTP id o9so23051994yba.3 for ; Sun, 11 Jun 2017 09:59:41 -0700 (PDT) X-Received: by 10.37.68.87 with SMTP id r84mr22208529yba.229.1497200381721; Sun, 11 Jun 2017 09:59:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.6.146 with HTTP; Sun, 11 Jun 2017 09:59:41 -0700 (PDT) In-Reply-To: <167834c1-48f8-2584-4f17-daf21dce788f@nosheep.fr> References: <167834c1-48f8-2584-4f17-daf21dce788f@nosheep.fr> From: Richard Gallamore Date: Sun, 11 Jun 2017 09:59:41 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Cannot delete jail folder To: =?UTF-8?Q?Gr=C3=A9gory_Reinbold?= Cc: freebsd-jail@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 17:26:13 -0000 chflags -R 0 will remove any system flags that may causing issues deleting. Hope this helps Richard Gallamore On Sun, Jun 11, 2017 at 8:13 AM, Gr=C3=A9gory Reinbold wrote: > Hi, > > I have installed a jail using ezjail-admin for testing the solution. Afte= r > testing, I want to delete the jail using: > > # ezjail-admin delete jailname > > I see in the man page, the elete argument: only deletes ezjail's control > file for the selected jail as well as /etc/fstab.jailname. > > So, I tried to delete the folder manually using: > > # rm -rf /usr/jails/jailname > > Result: /usr/jailname/test/var/empty > > My root are not able to delete this directory, so how I can it? > > > Regards > > -- > Gr=C3=A9gory Reinbold > > _______________________________________________ > freebsd-jail@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org"