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

Bug#646824: marked as done (/lib/live/config/003-sudo: sudo configuration doesn't recheck for LIVE_USERNAME in /proc/cmdline)



Your message dated Thu, 27 Oct 2011 20:51:01 +0000
with message-id <E1RJWuj-0001rt-16@franck.debian.org>
and subject line Bug#646824: fixed in live-config 3.0~a29-1
has caused the Debian Bug report #646824,
regarding /lib/live/config/003-sudo: sudo configuration doesn't recheck for LIVE_USERNAME in /proc/cmdline
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.)


-- 
646824: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646824
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-config
Version: 3.0~a28-1
Severity: important
File: /lib/live/config/003-sudo

Hey,

the sudo configuration inside a live image doesn't re-check for the username
passed to the command line.

in /lib/live/config.sh the default is set to "user". 002-user-setup check
/proc/cmdline for username= and sets LIVE_USERNAME, so it creates correctly
the new account using the named passed on cmdline.

But 003-sudo doesn't do this, so it stays with the default LIVE_USERNAME,
which is user. That means sudo won't work and the rest of the boot doesn't go
well, and especially it's not possible to login.

Just adding the same check in 003-sudo should work, though there might be a
way to set the username in the top config.sh script in Cmdline() somehow..

Regards,
-- 
Yves-Alexis

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

Kernel: Linux 3.0.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-config depends on:
ii  live-config-sysvinit [live-config-backend]  3.0~a28-1

Versions of packages live-config recommends:
pn  live-config-doc  3.0~a28-1
pn  live-tools       <none>   
pn  sudo             1.8.3-1  
pn  user-setup       <none>   

Versions of packages live-config suggests:
ii  wget  1.13.4-1

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: live-config
Source-Version: 3.0~a29-1

We believe that the bug you reported is fixed in the latest version of
live-config, which is due to be installed in the Debian FTP archive:

live-config-doc_3.0~a29-1_all.deb
  to main/l/live-config/live-config-doc_3.0~a29-1_all.deb
live-config-runit_3.0~a29-1_all.deb
  to main/l/live-config/live-config-runit_3.0~a29-1_all.deb
live-config-systemd_3.0~a29-1_all.deb
  to main/l/live-config/live-config-systemd_3.0~a29-1_all.deb
live-config-sysvinit_3.0~a29-1_all.deb
  to main/l/live-config/live-config-sysvinit_3.0~a29-1_all.deb
live-config-upstart_3.0~a29-1_all.deb
  to main/l/live-config/live-config-upstart_3.0~a29-1_all.deb
live-config_3.0~a29-1.debian.tar.gz
  to main/l/live-config/live-config_3.0~a29-1.debian.tar.gz
live-config_3.0~a29-1.dsc
  to main/l/live-config/live-config_3.0~a29-1.dsc
live-config_3.0~a29-1_all.deb
  to main/l/live-config/live-config_3.0~a29-1_all.deb
live-config_3.0~a29.orig.tar.gz
  to main/l/live-config/live-config_3.0~a29.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 646824@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <daniel@debian.org> (supplier of updated live-config package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 27 Oct 2011 21:42:35 +0200
Source: live-config
Binary: live-config live-config-doc live-config-runit live-config-systemd live-config-sysvinit live-config-upstart
Architecture: source all
Version: 3.0~a29-1
Distribution: unstable
Urgency: low
Maintainer: Debian Live Project <debian-live@lists.debian.org>
Changed-By: Daniel Baumann <daniel@debian.org>
Description: 
 live-config - Debian Live - System Configuration Scripts
 live-config-doc - Debian Live - System Configuration Scripts (documentation)
 live-config-runit - Debian Live - System Configuration Scripts (runit backend)
 live-config-systemd - Debian Live - System Configuration Scripts (systemd backend)
 live-config-sysvinit - Debian Live - System Configuration Scripts (sysvinit backend)
 live-config-upstart - Debian Live - System Configuration Scripts (upstart backend)
Closes: 646824
Changes: 
 live-config (3.0~a29-1) unstable; urgency=low
 .
   * Using compression level 9 also for binary packages.
   * Adding example in live-config manpage for a suitable resolution when
     using xorg-resolution parameter.
   * Using compression level 9 also for binary packages in live-config
     example package.
   * Adding configuration script for locales-all.
   * Renumbering scripts.
   * Removing superfluous empty line in user-setup script.
   * Adding forgotten parsing of cmdline in sudo script to respect
     username boot parameter (Closes: #646824).
Checksums-Sha1: 
 8a1a46bc3fec3360b7b79fc6efa5fed106195b1c 1610 live-config_3.0~a29-1.dsc
 b4eca74aed1d9e790a785e95b9b88d910a6ad9e8 103119 live-config_3.0~a29.orig.tar.gz
 26ccfae894ff705b2cf55d1bd51d6bf965d09e65 9786 live-config_3.0~a29-1.debian.tar.gz
 f5c64266915437794dc316c1c2546a3fe0e48b3f 20852 live-config_3.0~a29-1_all.deb
 46315e48a5a615e933eb27b673d26bccbfe507b1 42042 live-config-doc_3.0~a29-1_all.deb
 4fcc16590420ee0239afa91276e017f031041d6f 9474 live-config-runit_3.0~a29-1_all.deb
 ec66e848b8c1cdaad43db8f81048f66ac7804c5b 9206 live-config-systemd_3.0~a29-1_all.deb
 ce458f8a918823ccc3ec26f682fc73d4ebe7d109 10306 live-config-sysvinit_3.0~a29-1_all.deb
 98eea5d1ce2c17b4e4a4f2ddef728a0b8da92758 10146 live-config-upstart_3.0~a29-1_all.deb
Checksums-Sha256: 
 604ca445d20c7b13117b6c3848bda0082b029cb90998902f1b2db09939a37c77 1610 live-config_3.0~a29-1.dsc
 86b086905b0b6f06ee50b7ddd0fc78bf0929281dc6c353b64871f323844dc4e5 103119 live-config_3.0~a29.orig.tar.gz
 002e7e928e5087864ee0dfb96a5f0f630818da7bb3fe8fc01b0b5fb16ad9cab1 9786 live-config_3.0~a29-1.debian.tar.gz
 5cf11d0063783f26d059a915774d0e4def3375191f1e34f1af1108f97eecd8a0 20852 live-config_3.0~a29-1_all.deb
 3dcadd0bb322d79e208f2154dcb2bea78686290a6d6d6283b0beb7d1115173d0 42042 live-config-doc_3.0~a29-1_all.deb
 f988cb525afa18d862abc8f6b0c66526713801be7fa148eb4ceaafcbc5549c11 9474 live-config-runit_3.0~a29-1_all.deb
 3d64e09402165e6ff349a0fb4853a24e8599d2a668f9adb4114d830b953f890c 9206 live-config-systemd_3.0~a29-1_all.deb
 79800d29c2fe8ec766cd7da42ed01122e18cdec0b35ba0a2aa3233e3b5551543 10306 live-config-sysvinit_3.0~a29-1_all.deb
 66c724c11010f176feca1a1570d210cf8e4efae7755001148035ff78410deb1b 10146 live-config-upstart_3.0~a29-1_all.deb
Files: 
 06398964bca27979d200bf92f00ddb09 1610 misc optional live-config_3.0~a29-1.dsc
 17dd79878edf9e160f3ca59fbe0b6b9c 103119 misc optional live-config_3.0~a29.orig.tar.gz
 fd703bb51468997e1850f65e0e40a795 9786 misc optional live-config_3.0~a29-1.debian.tar.gz
 cef6a160cffae9e8fa67f6403a3e24c1 20852 misc optional live-config_3.0~a29-1_all.deb
 71a290d9c5327399a50278f1e9317bf0 42042 doc optional live-config-doc_3.0~a29-1_all.deb
 7bcc7b49464946d05d30a71a7b49ab0c 9474 misc optional live-config-runit_3.0~a29-1_all.deb
 60a7e8b6a8ef6ba1a1649a8c1fec151b 9206 misc optional live-config-systemd_3.0~a29-1_all.deb
 c1280729cd49a8e5d421c33c5aed2d58 10306 misc optional live-config-sysvinit_3.0~a29-1_all.deb
 4c65e4a4e6f503341a95c843d94006d1 10146 misc optional live-config-upstart_3.0~a29-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk6ptmIACgkQ+C5cwEsrK55YEACeN/9eE9fpOhcF/FkFAmxlIN5F
U08AmwXtkjf/y6OFVRbQCkx0i6K7HOS0
=vsaM
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: