Package: xen-tools
Version: 3.9-3
Severity: normal

*** Please type your report below this line ***

I used "xen-create-image --accounts" to copy the user database from dom0
to the new domU.  The resulting domU has incorrect entries in /etc/group.

(following output massaged with sed to conceal names.)

dom0# egrep 'a1|a2|s1' /etc/{passwd,group}
/etc/passwd:a1:x:1000:1000:a1,,,:/home/a1:/bin/zsh
/etc/passwd:s1:x:1001:1001:s1,,,:/home/s1:/bin/bash
/etc/passwd:a2:x:1002:1002:a2,,,:/home/a2:/bin/bash
...
/etc/group:a1:x:1000:
/etc/group:s1:x:1001:
/etc/group:a2:x:1002:
dom0# xen-create-image --accounts \
       --admin=.. --output=... --dir=... --size=50G --swap=4G \
       --dist=sid --hostname=... --ip=...

domU% egrep 'a1|a2|s1' /etc/{passwd,group}
/etc/passwd:a1:x:1000:1000:a1,,,:/home/a1:/bin/zsh
/etc/passwd:a2:x:1002:1002:a2,,:/home/a2:/bin/bash
/etc/passwd:s1:x:1001:1001:s1,,:/home/s1:/bin/bash
...
/etc/group:a1:x:1000:a1
/etc/group:a2:x:1001:a2
/etc/group:s1:x:1004:s1
domU% egrep :100 /etc/group
users:x:100:
a1:x:1000:a1
a2:x:1001:a2
ntpd:x:1002:ntpd
postfix:x:1003:postfix
s1:x:1004:s1

Note that a2 is in group 1002 according to /etc/passwd, but
that group is ntpd according to /etc/group.

(Also, a cosmetic nit:  the added entries in /etc/passwd are
sorted alphabetically rather than by numeric uid.)

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

Kernel: Linux 2.6.18-6-xen-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xen-tools depends on:
ii  debootstrap                   1.0.10     Bootstrap a basic Debian system
ii  libconfig-inifiles-perl       2.39-5     Read .ini-style configuration file
ii  libtext-template-perl         1.44-1.2   Text::Template perl module
ii  perl-modules                  5.10.0-13  Core Perl modules

Versions of packages xen-tools recommends:
ii  libexpect-perl                1.20-1     Expect.pm - Perl Expect interface
ii  reiserfsprogs                 1:3.6.19-6 User-level tools for ReiserFS file
ii  rinse                         1.3-2      RPM installation environment
ii  xen-hypervisor-3.0.3-1-amd64  3.0.3-0-4  The Xen Hypervisor on AMD64
ii  xen-shell                     1.8-3      Console based Xen administration u
ii  xfsprogs                      2.9.8-1    Utilities for managing the XFS fil

xen-tools suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to