Package: lxc
Version: 0.9.0~alpha2-7
Severity: normal

Hi, today I noticed that my containers created using `lxc-create -t debian`
had too restrictive permissions (-rw-------) in normal files like
`/etc/{motd,profile,hosts,hostname}`.  It looks like the current umask of my
root user (0077) is being used by lxc (and by extension live-debconfig)
scripts instead of something more fit for system installations like 0022.
Running `lxc-create` with umask 0022 works around the problem, but it may make
sense to set the appropriate umask inside the relevant lxc scripts.

Thanks!

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lxc depends on:
ii  debconf [debconf-2.0]  1.5.49
ii  libapparmor1           2.7.103-4
ii  libc6                  2.13-38
ii  libcap2                1:2.22-1.2
ii  multiarch-support      2.13-38

Versions of packages lxc recommends:
ii  debootstrap  1.0.46
ii  libcap2-bin  1:2.22-1.2

Versions of packages lxc suggests:
pn  debian-keyring      <none>
ii  gpgv                1.4.12-7
ii  live-debconfig-doc  4.0~a17-1
ii  rsync               3.0.9-4

-- debconf information:
* lxc/directory: /var/lib/lxc
  lxc/title:
  lxc/auto: true


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to