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

Bug#653673: marked as done (the live-config init.d script should depend on mountkernfs)



Your message dated Sun, 18 Mar 2012 13:48:58 +0000
with message-id <E1S9GTi-0006tk-Ba@franck.debian.org>
and subject line Bug#653673: fixed in live-config 3.0~a33-1
has caused the Debian Bug report #653673,
regarding the live-config init.d script should depend on mountkernfs
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.)


-- 
653673: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653673
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-config
Version: 3.0~a31-1

There is a race condition between mountkernfs and user-setup

When RAMTMP=yes in /etc/default/rcS, then the
mountkernfs init.d script mounts /tmp as a tmpfs.

The 002-user-setup script first writes some data into a temporary file,
and then reads it back, and deletes it.

The race condition happens when the new /tmp partition is mounted
before the temporary data is read back. This doesn't happen always,
but the problem can be reproduced by adding sleep statements
artificially to the two scripts (add a small sleep statement to the start
of mountkernfs, and a bigger sleep statement on line 71 of user-setup
(between write and read).

Temporary quick fix:
make a hook in config/hooks , called fix_live_config_boot.sh.chroot, containing:
#!/bin/sh
sed -i -e 's|^# Required-Start:\(.*\)$|# Required-Start: mountkernfs
\1|' /etc/init.d/live-config
insserv


-- 
Purdea Andrei
http://purdea.ro
student at the “Politehnica” University of Timisoara
Faculty of Automation and Computers (AC)
Master's Degree Program - Computer Engineering (MCE)
2nd year



--- End Message ---
--- Begin Message ---
Source: live-config
Source-Version: 3.0~a33-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~a33-1_all.deb
  to main/l/live-config/live-config-doc_3.0~a33-1_all.deb
live-config-runit_3.0~a33-1_all.deb
  to main/l/live-config/live-config-runit_3.0~a33-1_all.deb
live-config-systemd_3.0~a33-1_all.deb
  to main/l/live-config/live-config-systemd_3.0~a33-1_all.deb
live-config-sysvinit_3.0~a33-1_all.deb
  to main/l/live-config/live-config-sysvinit_3.0~a33-1_all.deb
live-config-upstart_3.0~a33-1_all.deb
  to main/l/live-config/live-config-upstart_3.0~a33-1_all.deb
live-config_3.0~a33-1.debian.tar.gz
  to main/l/live-config/live-config_3.0~a33-1.debian.tar.gz
live-config_3.0~a33-1.dsc
  to main/l/live-config/live-config_3.0~a33-1.dsc
live-config_3.0~a33-1_all.deb
  to main/l/live-config/live-config_3.0~a33-1_all.deb
live-config_3.0~a33.orig.tar.gz
  to main/l/live-config/live-config_3.0~a33.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 653673@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: Sun, 18 Mar 2012 14:25:20 +0100
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~a33-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: 653673
Changes: 
 live-config (3.0~a33-1) unstable; urgency=low
 .
   * Making sure live-config gets started before mountkernfs in order to
     prevent a race condition with /tmp (Closes: #653673).
   * Also creating ecdsa host keys in openssh-server script on wheezy.
   * Redirecting startx output in xinit script to /dev/null when booting
     with quiet.
   * Simplifing live-config-update script.
   * Adding default user groups in live-config-update for ubuntu.
   * Updating copyright file machine-readable format version 1.0.
   * Updating to standards version 3.9.3.
   * Updating packaging files for included live-config-foobar example
     package.
   * Adding copyright header to remaining files.
   * Adding source lintian-overrides.
   * Updating Brazilian Portuguese manpage translation.
Checksums-Sha1: 
 13f722ad79be9851f6e69e6e7f3b7f22dcf464b6 1613 live-config_3.0~a33-1.dsc
 af89a42b9e5abf7791c7970ad6fecdbeaff03bad 106013 live-config_3.0~a33.orig.tar.gz
 49ec5c722437d199ac91cf10fa31d868ef2011ea 10798 live-config_3.0~a33-1.debian.tar.gz
 3990f0dea862dae2711d31b78cfbf2c9c01b7013 22072 live-config_3.0~a33-1_all.deb
 cd50a1b48f239c59635c65b783f3ca0e15b75b87 43682 live-config-doc_3.0~a33-1_all.deb
 bdaaac414215569c9e15fad2c5f767ac1414f4c0 10268 live-config-runit_3.0~a33-1_all.deb
 50c00108b9687e0a619922c76010919eee1fd782 9982 live-config-systemd_3.0~a33-1_all.deb
 6c7296569d00a0ff0e5c59dd7f2b46246ba68537 11216 live-config-sysvinit_3.0~a33-1_all.deb
 66b4bcae57cb210e539de6195992ab62b33db3de 11080 live-config-upstart_3.0~a33-1_all.deb
Checksums-Sha256: 
 c12c5f69f326abebe3fc3f170f0405dc4d5408eb5b389ee188416f7dccaef8c2 1613 live-config_3.0~a33-1.dsc
 c8cad3edb891f096e744aece02c22a8f5741a18e1e9dab4cdaac56d95d2aa0c5 106013 live-config_3.0~a33.orig.tar.gz
 ebc8a08c29e084bbcfd346b7cb00a4b4443e117d8d2bb914412e2909ba3342e8 10798 live-config_3.0~a33-1.debian.tar.gz
 07532fc6566e2247dce8b8e3e3ffbb5ea0115ff21ee570c116991f429edd6804 22072 live-config_3.0~a33-1_all.deb
 e88dc19a075b20f9fdcfdaa682a8818e269dd3e171f07386a06e209922053296 43682 live-config-doc_3.0~a33-1_all.deb
 867e9cdfa4b562255ec922fe0d306123870a1d133e7f503c769ee64a965bb52b 10268 live-config-runit_3.0~a33-1_all.deb
 4275949d52bfb0032b617bfa7148a70ebd32a2eef568723351c639d985524288 9982 live-config-systemd_3.0~a33-1_all.deb
 90e8718042f6f3d9f695a4832c11b19f58414b709129ceb161c0bcc1149f7c91 11216 live-config-sysvinit_3.0~a33-1_all.deb
 4652742e15d5013114851ff412834a3195e604e2050f76d5a3aab319d00324d9 11080 live-config-upstart_3.0~a33-1_all.deb
Files: 
 874736940f9aba274e4d3b5653992942 1613 misc optional live-config_3.0~a33-1.dsc
 8971bb55d8c2f1f69a4a3009aa8fa476 106013 misc optional live-config_3.0~a33.orig.tar.gz
 84f6089e28adc903be4250dbda892766 10798 misc optional live-config_3.0~a33-1.debian.tar.gz
 29de29b6d29fe98a1a8490ae59b3bd36 22072 misc optional live-config_3.0~a33-1_all.deb
 8cbc00254add146643525714affd8d49 43682 doc optional live-config-doc_3.0~a33-1_all.deb
 37eb8cc57612021d8638e91ad61e8389 10268 misc optional live-config-runit_3.0~a33-1_all.deb
 597470bfb3dacefb5820326b321949fd 9982 misc optional live-config-systemd_3.0~a33-1_all.deb
 a123095a95321468a55209702175b9d3 11216 misc optional live-config-sysvinit_3.0~a33-1_all.deb
 35d828cce12cdfe5d5f491d223c54b72 11080 misc optional live-config-upstart_3.0~a33-1_all.deb

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

iEYEARECAAYFAk9l5gIACgkQ+C5cwEsrK57x2QCgnuhaKqy/QnyUAxmp1cq7qJAE
m9EAn2uzlODuly0f++GLdsP9jkFopwzc
=3v0w
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: