From: Marius Bakke <mbakke@fastmail.com>
To: 宋文武 <iyzsong@member.fsf.org>, 27682@debbugs.gnu.org
Subject: [bug#27682] [PATCH 2/2] gnu: Add lxc.
Date: Fri, 14 Jul 2017 19:09:54 +0200 [thread overview]
Message-ID: <87zic7hrml.fsf@fastmail.com> (raw)
In-Reply-To: <20170713113157.1565-2-iyzsong@member.fsf.org>
[-- Attachment #1: Type: text/plain, Size: 1205 bytes --]
宋文武 <iyzsong@member.fsf.org> writes:
> * gnu/packages/virtualization.scm (lxc): New package.
Thanks!
[...]
> + (arguments
> + '(#:configure-flags
> + '("--sysconfdir=/etc"
> + "--localstatedir=/var")
> + #:phases
> + (modify-phases %standard-phases
> + (replace 'install
> + (lambda* (#:key outputs #:allow-other-keys)
> + (let* ((out (assoc-ref outputs "out"))
> + (bashcompdir (string-append out "/etc/bash_completion.d")))
> + (zero? (system*
> + "make" "install"
> + (string-append "bashcompdir=" bashcompdir)
> + ;; Thoses files will be handled by system services.
> + "LXCPATH=/tmp/var/lib/lxc"
> + "localstatedir=/tmp/var"
> + "sysconfdir=/tmp/etc"
> + "sysconfigdir=/tmp/etc/default"))))))))
If these are not important, why not set them to $out/etc, $out/var and
so on? /tmp seems like a dangerous default to me, since any unprivileged
user can populate these directories.
LGTM apart from that.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2017-07-14 17:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-13 11:31 [bug#27688] [PATCH 1/2] gnu: Rename (gnu packages qemu) to (gnu packages virtualization) 宋文武
2017-07-13 11:31 ` [bug#27682] [PATCH 2/2] gnu: Add lxc 宋文武
2017-07-14 17:09 ` Marius Bakke [this message]
2017-07-15 10:58 ` 宋文武
2017-07-15 11:20 ` bug#27682: " 宋文武
2017-07-14 17:01 ` [bug#27688] [PATCH 1/2] gnu: Rename (gnu packages qemu) to (gnu packages virtualization) Marius Bakke
2017-07-15 11:28 ` bug#27688: " 宋文武
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=87zic7hrml.fsf@fastmail.com \
--to=mbakke@fastmail.com \
--cc=27682@debbugs.gnu.org \
--cc=iyzsong@member.fsf.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.