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

Bug#657550: marked as done (live-build: Using preseed to set user default groups fails)



Your message dated Tue, 07 Feb 2012 00:11:52 +0100
with message-id <4F305E38.6080306@progress-technologies.net>
and subject line Re: Bug#657550: live-build: Using preseed to set user default groups fails
has caused the Debian Bug report #657550,
regarding live-build: Using preseed to set user default groups fails
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
657550: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657550
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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




--- End Message ---
--- Begin Message ---
On 01/26/2012 11:52 PM, Nick Bailey wrote:
> Attempting to add a default group for the live user as per section
> 494/5 of the manual

please use LIVE_USER_DEFAULT_GROUPS resp. user-default-groups= in
live-config, see live-config manpage; in that specific case you can't
really preseed user-setup the way you intend to do it.


--- End Message ---

Reply to: