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

Bug#658996: marked as done (disable tmpfs on /tmp)



Your message dated Tue, 03 Apr 2012 07:36:25 +0000
with message-id <E1SEyHx-000774-Ld@franck.debian.org>
and subject line Bug#658996: fixed in live-config 3.0~a35-1
has caused the Debian Bug report #658996,
regarding disable tmpfs on /tmp
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.)


-- 
658996: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658996
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~a35-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~a35-1_all.deb
  to main/l/live-config/live-config-doc_3.0~a35-1_all.deb
live-config-systemd_3.0~a35-1_all.deb
  to main/l/live-config/live-config-systemd_3.0~a35-1_all.deb
live-config-sysvinit_3.0~a35-1_all.deb
  to main/l/live-config/live-config-sysvinit_3.0~a35-1_all.deb
live-config-upstart_3.0~a35-1_all.deb
  to main/l/live-config/live-config-upstart_3.0~a35-1_all.deb
live-config_3.0~a35-1.debian.tar.gz
  to main/l/live-config/live-config_3.0~a35-1.debian.tar.gz
live-config_3.0~a35-1.dsc
  to main/l/live-config/live-config_3.0~a35-1.dsc
live-config_3.0~a35-1_all.deb
  to main/l/live-config/live-config_3.0~a35-1_all.deb
live-config_3.0~a35.orig.tar.gz
  to main/l/live-config/live-config_3.0~a35.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 658996@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: Tue, 03 Apr 2012 09:09:30 +0200
Source: live-config
Binary: live-config live-config-doc live-config-systemd live-config-sysvinit live-config-upstart
Architecture: source all
Version: 3.0~a35-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-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: 658996
Changes: 
 live-config (3.0~a35-1) unstable; urgency=low
 .
   * Disabling tmpfs on /tmp in sysvinit script (Closes: #658996).
Checksums-Sha1: 
 91cb075c61595c5faa1a08070ca029794a4b81c3 1557 live-config_3.0~a35-1.dsc
 7baa10b8ac1b0276c3f7b7a41a1fd782458c2aff 106066 live-config_3.0~a35.orig.tar.gz
 9aa2c6bf33f88d60474ce82fb5c725dd54c01265 10804 live-config_3.0~a35-1.debian.tar.gz
 a9c26a8b407d59d46bd03a70fa8b1f3668c6dec7 22222 live-config_3.0~a35-1_all.deb
 e7ad6d3587a8ecbc3544738a516b14692af274e2 43786 live-config-doc_3.0~a35-1_all.deb
 e7f51ad00315c29a1134fa050e286ae5a96b88ab 10098 live-config-systemd_3.0~a35-1_all.deb
 69cc284912006427b12e939b164f2c8e674771bb 11390 live-config-sysvinit_3.0~a35-1_all.deb
 f41eaaa7c3e95c547061368b06b4bf41ab186e40 11184 live-config-upstart_3.0~a35-1_all.deb
Checksums-Sha256: 
 c2fe148db14aa40c49e28f919bee39fcbf737d7e6a028cc969d9448e76be17a7 1557 live-config_3.0~a35-1.dsc
 f657fda2651dd33d672437e5fa2b7739c790ad4056d670dff92d0f687789161f 106066 live-config_3.0~a35.orig.tar.gz
 e20fd6746b3c16d08b3303cbfcf283a5bb2208c13a996b5e3097cc801c25972f 10804 live-config_3.0~a35-1.debian.tar.gz
 6d0069e683c652608cec211d9b1c769630c48ec16ae1c254c383e24de097851b 22222 live-config_3.0~a35-1_all.deb
 4e9c2f19c42ec6a60687ba0e77227218efb43cebd745269a6d9e9317ff1baaea 43786 live-config-doc_3.0~a35-1_all.deb
 0c305be07dce30264da368065e886c2a61a6d0e6a6aaa56c3084b6859fb8399f 10098 live-config-systemd_3.0~a35-1_all.deb
 e460e4cbd6550cac9c518e91d810d86215f8e294816801e386b724fe4b7d137f 11390 live-config-sysvinit_3.0~a35-1_all.deb
 34d32ba48734fa1828ce74fd83df358d23050e07a6a80c7bcde5ec4a6fb18321 11184 live-config-upstart_3.0~a35-1_all.deb
Files: 
 4fac721f8d158f463e07c622e3afe3b3 1557 misc optional live-config_3.0~a35-1.dsc
 bc5cc89aff69a8d891759d37314ec28d 106066 misc optional live-config_3.0~a35.orig.tar.gz
 e083cc6b57bfe052d6fa7afe8edad617 10804 misc optional live-config_3.0~a35-1.debian.tar.gz
 b2aa3fbeacd3ab070b0ce56927d99721 22222 misc optional live-config_3.0~a35-1_all.deb
 a57d0026f3e09d8bdcedfc4681d9ebb4 43786 doc optional live-config-doc_3.0~a35-1_all.deb
 c6eab9cb5718235abf26e07e3e8adebd 10098 misc optional live-config-systemd_3.0~a35-1_all.deb
 18de13973d840ef6d20cec83ef1e3f38 11390 misc optional live-config-sysvinit_3.0~a35-1_all.deb
 68d1c933e24c0567824d4018ebdb3e96 11184 misc optional live-config-upstart_3.0~a35-1_all.deb

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

iEYEARECAAYFAk96ov0ACgkQ+C5cwEsrK55rGACeNrNYWqsPcatg9+iKlnjA82Dy
W0UAmgLteUB8uHruODvHTveioIY3eMWo
=G6uz
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: