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

Bug#516914: marked as done (live-initramfs: should check if /var/log is writable before copying)



Your message dated Sat, 21 Mar 2009 13:32:03 +0000
with message-id <E1Ll1Ix-0005Ai-Om@ries.debian.org>
and subject line Bug#516914: fixed in live-initramfs 1.157.1-1
has caused the Debian Bug report #516914,
regarding live-initramfs: should check if /var/log is writable before copying
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.)


-- 
516914: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516914
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-initramfs                                                                 
Severity: wishlist                                                                      
Tags: patch
Justification: cosmetical

The attached patch just adds a check before trying to copy live.log to the 
newly mounted root filesystem. When using the "exposedroot skipunion" options, 
then /var/log may not be writable at this time, resulting in an error message 
during bootup. The patch fixed this.

-- System Information:
Debian Release: 5.0   
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing'), (500, 
'stable')
Architecture: i386 (i686)                                                             

Kernel: Linux 2.6.27-12-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash                            

Versions of packages live-initramfs depends on:
ii  busybox                       1:1.10.2-2 Tiny utilities for small and 
embed
ii  file                          4.26-2     Determines file type using "magic"
pn  initramfs-tools               <none>     (no description available)
ii  sudo                          1.6.9p17-2 Provide limited super user 
privile
pn  udev                          <none>     (no description available)
pn  user-setup                    <none>     (no description available)

Versions of packages live-initramfs recommends:
pn  eject                         <none>     (no description available)
ii  uuid-runtime                  1.41.3-1   universally unique id library
ii  wget                          1.11.4-2   retrieves files from the web

Versions of packages live-initramfs suggests:
pn  curlftpfs                     <none>     (no description available)
pn  genext2fs                     <none>     (no description available)
pn  httpfs2                       <none>     (no description available)
pn  loop-aes-utils                <none>     (no description available)
pn  mtd-tools                     <none>     (no description available)
ii  squashfs-tools                1:3.3-7    Tool to create and append to 
squas
--- usr/share/initramfs-tools/scripts/live~     2009-02-08 15:09:09.000000000 +0100
+++ usr/share/initramfs-tools/scripts/live      2009-02-24 10:41:29.000000000 +0100
@@ -1585,5 +1585,5 @@
        exec 1>&6 6>&-
        exec 2>&7 7>&-
        kill ${tailpid}
-       cp live.log "${rootmnt}/var/log/"
+       [ -w "${rootmnt}/var/log/" ] && cp live.log "${rootmnt}/var/log/" 2>/dev/null
 }

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---
--- Begin Message ---
Source: live-initramfs
Source-Version: 1.157.1-1

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

live-initramfs_1.157.1-1.diff.gz
  to pool/main/l/live-initramfs/live-initramfs_1.157.1-1.diff.gz
live-initramfs_1.157.1-1.dsc
  to pool/main/l/live-initramfs/live-initramfs_1.157.1-1.dsc
live-initramfs_1.157.1-1_all.deb
  to pool/main/l/live-initramfs/live-initramfs_1.157.1-1_all.deb
live-initramfs_1.157.1.orig.tar.gz
  to pool/main/l/live-initramfs/live-initramfs_1.157.1.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 516914@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-initramfs 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: Sat, 21 Mar 2009 14:00:00 +0100
Source: live-initramfs
Binary: live-initramfs
Architecture: source all
Version: 1.157.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Live <debian-live@lists.debian.org>
Changed-By: Daniel Baumann <daniel@debian.org>
Description: 
 live-initramfs - Debian Live initramfs hook
Closes: 506410 515718 516914 517153
Changes: 
 live-initramfs (1.157.1-1) unstable; urgency=medium
 .
   [ Daniel Baumann ]
   * Only snapshotting in initscript when we actually run with persistence.
 .
   [ Rene Mayrhofer ]
   * Checking if /var/log is writable before trying to copy live.log to the newly
     mounted root filesystem (Closes: #516914).
 .
   [ Daniel Baumann ]
   * Improving check in 21xdriver when we don't do anything.
   * Adding hack to remove live specific filesystems from umounfs initscript
     (Closes: #506410, #515718).
   * Adding comsetic line wrapping for output of local-gen messages during boot.
   * Merging casper 1.157.
   * Only calling install-keymap if it's actually installed, which is always but
     in minimal images the case though (Closes: #517153).
   * Adding silent boot parameter.
   * Respecting media timeout even when specificing media device manually.
   * Also allowing to use the removable keyword for specifying a live media.
   * Correcting accidental syntax error in one of the previous commits in
     19keyboard bottom script.
   * Adding removable-usb keyword to further restrict live media selection.
   * Correcting check for usb when using removable-usb keyword.
   * Correcting typo in locale bottom script.
Checksums-Sha1: 
 cfade38f96fec76923121be35e9693445a14e459 1301 live-initramfs_1.157.1-1.dsc
 bd7e777325c22e46b781b0c44c6162e3ddce613b 82029 live-initramfs_1.157.1.orig.tar.gz
 dc09620d3d2fe9ceec896922c056dde5f2d0bbc4 11386 live-initramfs_1.157.1-1.diff.gz
 5dc536ad3f9e6e9106595b9842dc6846075d4b38 90486 live-initramfs_1.157.1-1_all.deb
Checksums-Sha256: 
 f8b267ff18e770c1530dc7c4dbd4a7327a7304990d1f7f0038f7782fbc7c1507 1301 live-initramfs_1.157.1-1.dsc
 bbc7a115c87f70e3b0b7b200159d932ee2bc1bb583da746469f57cbdb240e97e 82029 live-initramfs_1.157.1.orig.tar.gz
 cb5ece7f7cfaafd84fd0df822bdbdc9c480d1ff9dec90b07fa2c54604410a5d5 11386 live-initramfs_1.157.1-1.diff.gz
 46e82da6e7bf694ee194b9d6083f85a3ae6b658c865407fcf6a603cdf20f7bb8 90486 live-initramfs_1.157.1-1_all.deb
Files: 
 a7fe5921be034e65625bbb162296e0b7 1301 misc optional live-initramfs_1.157.1-1.dsc
 8c24ca5bc39a62ffb9e9f20be115b2ca 82029 misc optional live-initramfs_1.157.1.orig.tar.gz
 9618dc2f179476f81ef889ac7259fcd6 11386 misc optional live-initramfs_1.157.1-1.diff.gz
 601a562ffd040d7ad4cc2bf45b379137 90486 misc optional live-initramfs_1.157.1-1_all.deb

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

iEYEARECAAYFAknE6KwACgkQ+C5cwEsrK55wVwCg4PdMiJZijMpHsur8Sxj8Nieq
u3kAoN9KpPsPUg87RXQLmDaEfD84iasP
=gHnD
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: