From: "Amy Winston" <amynka@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/util-vserver/
Date: Mon, 6 Jun 2016 16:05:37 +0000 (UTC) [thread overview]
Message-ID: <1465229032.1a5da76efe78891df3fac92e70142c2460f260d1.amynka@gentoo> (raw)
commit: 1a5da76efe78891df3fac92e70142c2460f260d1
Author: Amy Winston <amynka <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 6 15:58:55 2016 +0000
Commit: Amy Winston <amynka <AT> gentoo <DOT> org>
CommitDate: Mon Jun 6 16:03:52 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a5da76e
sys-cluster/util-vserver: setattr repaired bug #583892
Package-Manager: portage-2.2.28
.../util-vserver/util-vserver-0.30.216_pre3120.ebuild | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/sys-cluster/util-vserver/util-vserver-0.30.216_pre3120.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.216_pre3120.ebuild
index fab02ae..e78a7f4 100644
--- a/sys-cluster/util-vserver/util-vserver-0.30.216_pre3120.ebuild
+++ b/sys-cluster/util-vserver/util-vserver-0.30.216_pre3120.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -87,7 +87,15 @@ pkg_postinst() {
# present when merging.
mkdir -p "${VDIRBASE}" || die
- setattr --barrier "${VDIRBASE}" || die
+ if ! setattr --barrier "${VDIRBASE}"; then
+ ewarn "Filesystem on ${VDIRBASE} does not support chroot barriers."
+ ewarn "Chroot barrier is additional security measure that is used"
+ ewarn "when two vservers or the host system share the same filesystem."
+ ewarn "If you intend to use separate filesystem for every vserver"
+ ewarn "you can safely ignore this warning."
+ ewarn "To manually apply a barrier use: setattr --barrier ${VDIRBASE}"
+ ewarn "For details see: http://linux-vserver.org/Secure_chroot_Barrier"
+ fi
rm /etc/vservers/.defaults/vdirbase || die
ln -sf "${VDIRBASE}" /etc/vservers/.defaults/vdirbase || die
next reply other threads:[~2016-06-06 16:05 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-06 16:05 Amy Winston [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-03-25 21:41 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/util-vserver/ Patrice Clement
2019-02-19 22:52 Patrice Clement
2018-11-11 13:07 Pacho Ramos
2018-08-05 18:45 Jonas Stein
2017-10-30 23:41 Patrice Clement
2017-01-23 8:36 Patrice Clement
2017-01-23 0:20 Patrice Clement
2017-01-23 0:20 Patrice Clement
2017-01-23 0:20 Patrice Clement
2016-06-06 16:05 Amy Winston
2016-03-03 9:44 Patrice Clement
2015-10-10 18:23 Mike Frysinger
2015-09-05 18:37 Agostino Sarubbo
2015-09-05 18:36 Agostino Sarubbo
2015-08-24 11:33 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1465229032.1a5da76efe78891df3fac92e70142c2460f260d1.amynka@gentoo \
--to=amynka@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox