[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#657550: live-build: Using preseed to set user default groups fails



Package: live-build
Version: 3.0~a42-1
Severity: normal

Dear Maintainer,

   * What led up to the situation?

Attempting to add a default group for the live user as per section
494/5 of the manual

http://live.debian.net/manual/html/live-manual.en.html#494

fails


   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Adding a line to /usr/share/live/build/scripts/build/lb_chroot_preseed
confirms that my file is considered for copying to the chroot directory
correctly.

The contents of the preseed file are shown below:

root@ingrid:~# cat smrg-live/config/preseed/my.preseed.chroot 
user-setup passwd/user-default-groups string audio cdrom dip floppy video plugdev netdev powerdev scanner bluetooth iocard

(the group iocard, created by the installed package libcomedi0, has
been added to the default list).

Invoking debconf-show user-setup within the live system shows a different
set of default groups, including debian-tor.

It is possible to add a script in /lib/live/config using the
includes.chroot mechanism to check whether user is in group iocard and
add user to that group if required, but the method described in the
manual does not work.

   * What was the outcome of this action?

The default group of user was not set correctly

   * What outcome did you expect instead?

That the groups to which user belonged were as listed in the preseed file.



-- Package-specific info:

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (750, 'testing'), (600, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-build depends on:
ii  debootstrap  1.0.38

Versions of packages live-build recommends:
ii  cpio                            2.11-7
ii  gettext-base                    0.18.1.1-5
ii  gnu-fdisk                       1.2.4-3
ii  live-boot-doc                   3.0~a24-1
ii  live-config-doc                 3.0~a31-1
ii  live-manual-html [live-manual]  1:3.0~a9-1
ii  live-manual-pdf [live-manual]   1:3.0~a9-1

Versions of packages live-build suggests:
pn  dosfstools                  3.0.12-1
pn  genisoimage                 9:1.1.11-2
pn  memtest86+                  4.20-1.1
pn  mtools                      4.0.12-1
pn  parted                      <none>
pn  squashfs-tools | mtd-tools  <none>
pn  sudo                        1.8.3p1-2
pn  syslinux | grub             <none>
pn  uuid-runtime                <none>
pn  win32-loader                <none>

-- no debconf information




Reply to: