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

Bug#646824: marked as done (missing LIVE_USERNAME lookup in CMDLINE in various scripts)



Your message dated Fri, 28 Oct 2011 10:48:42 +0000
with message-id <E1RJjzO-0005nE-2p@franck.debian.org>
and subject line Bug#646824: fixed in live-config 3.0~a30-1
has caused the Debian Bug report #646824,
regarding missing LIVE_USERNAME lookup in CMDLINE in various scripts
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~a30-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~a30-1_all.deb
  to main/l/live-config/live-config-doc_3.0~a30-1_all.deb
live-config-runit_3.0~a30-1_all.deb
  to main/l/live-config/live-config-runit_3.0~a30-1_all.deb
live-config-systemd_3.0~a30-1_all.deb
  to main/l/live-config/live-config-systemd_3.0~a30-1_all.deb
live-config-sysvinit_3.0~a30-1_all.deb
  to main/l/live-config/live-config-sysvinit_3.0~a30-1_all.deb
live-config-upstart_3.0~a30-1_all.deb
  to main/l/live-config/live-config-upstart_3.0~a30-1_all.deb
live-config_3.0~a30-1.debian.tar.gz
  to main/l/live-config/live-config_3.0~a30-1.debian.tar.gz
live-config_3.0~a30-1.dsc
  to main/l/live-config/live-config_3.0~a30-1.dsc
live-config_3.0~a30-1_all.deb
  to main/l/live-config/live-config_3.0~a30-1_all.deb
live-config_3.0~a30.orig.tar.gz
  to main/l/live-config/live-config_3.0~a30.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: Fri, 28 Oct 2011 12:29:13 +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~a30-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~a30-1) unstable; urgency=low
 .
   * Adding required parsing for the respective boot parameters in all
     config scripts so that every script is self-contained (Closes:
     #646824).
   * Adding forgotten underline prefix to show that the service variable
     in sysv-rc script is a local variable.
   * Moving comment about mingetty to the actual executed code for
     consistency.
   * Sorting parameter handling alphabetically in each script.
Checksums-Sha1: 
 98c4622900a506261720d9ac5627a610bfd0f70d 1613 live-config_3.0~a30-1.dsc
 087ebd279b22ba6ef097e56f601ff3af3c74ba51 103193 live-config_3.0~a30.orig.tar.gz
 8385e6251a0d8ecc1321fbb2496c4924d1c74427 10013 live-config_3.0~a30-1.debian.tar.gz
 ce85256ba237c1ca12f5736c905fb6e87125ce1b 21088 live-config_3.0~a30-1_all.deb
 fc3e0ebc870acbb51eed426f53cfacba89d55873 42208 live-config-doc_3.0~a30-1_all.deb
 46cade34cd1a71183526193abb17f9096074fdb0 9630 live-config-runit_3.0~a30-1_all.deb
 da573b55c7103e7a76df4f22ce20ba3913f53388 9354 live-config-systemd_3.0~a30-1_all.deb
 4bcf816f7bc802b9ed4e2ed940af5f1a64951c3d 10568 live-config-sysvinit_3.0~a30-1_all.deb
 3c7fb24d69a6aa52ea7c98dcb6b5e6796eacc2d2 10402 live-config-upstart_3.0~a30-1_all.deb
Checksums-Sha256: 
 f1d8acb3f55b415e832190758bc6b545c1b1a43fc61059c71900f8509c5b1b3d 1613 live-config_3.0~a30-1.dsc
 2b92b41a0d24d6e4430ea8b96f9876399c69f9fcccdb82fdfd61d5c9e4fbe74b 103193 live-config_3.0~a30.orig.tar.gz
 2501c547899ecdd560c331054c80c7e3f81cdf48ee7eebf51b298418b3292fde 10013 live-config_3.0~a30-1.debian.tar.gz
 74e356927769a6ffc174f3480121bcd5571f7546f746137818bd4a635440be2b 21088 live-config_3.0~a30-1_all.deb
 96393f9a4524cfffbaaa2ca634bbe5e9bc90420f04795f5235d216436d1836ae 42208 live-config-doc_3.0~a30-1_all.deb
 2f19f7a3b89d73aee09451a9b4ac05a402931244ffd21aeb19523ffc22d8eb96 9630 live-config-runit_3.0~a30-1_all.deb
 df2e507fa22d603b023e73076f5a114b52d1aac178c9183e93fa5307fbb91e4a 9354 live-config-systemd_3.0~a30-1_all.deb
 0dec30e17c7318f472531c1bb737c102a7bd6bb2c1c47b03b2e4b8da0dea0661 10568 live-config-sysvinit_3.0~a30-1_all.deb
 bd9341f949819f77278e72f9959e9b511ce8e6b4fc12c72a7ed7970ff59f7d80 10402 live-config-upstart_3.0~a30-1_all.deb
Files: 
 170482e226375f1c5a28340646c55deb 1613 misc optional live-config_3.0~a30-1.dsc
 8ba2e8702300b0e9502afcac08e1f543 103193 misc optional live-config_3.0~a30.orig.tar.gz
 b9b4e05bd867b9c5a33152d1b9d5ee49 10013 misc optional live-config_3.0~a30-1.debian.tar.gz
 8ec79e0f92a0ae28f0081f0971ef2000 21088 misc optional live-config_3.0~a30-1_all.deb
 cea6fdafc884e54b2852962878e1a98d 42208 doc optional live-config-doc_3.0~a30-1_all.deb
 8487a444443a02c52a07b79d8dd42082 9630 misc optional live-config-runit_3.0~a30-1_all.deb
 b77423250021cc37d004d2f7815ab3d2 9354 misc optional live-config-systemd_3.0~a30-1_all.deb
 84eb4608ab5041289cfabf0b10db0345 10568 misc optional live-config-sysvinit_3.0~a30-1_all.deb
 2b07f986664a7b64e0f938a0ada45f92 10402 misc optional live-config-upstart_3.0~a30-1_all.deb

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

iEYEARECAAYFAk6qhggACgkQ+C5cwEsrK55VEwCeMqEh5ZgMXh4a82L8tZPWbuH9
dCAAniRR3u2bawmTbmXHqEuwHLoA7Ptr
=lVDy
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: