Your message dated Sat, 12 Sep 2009 00:02:05 +0000
with message-id <e1mmg45-0004st...@ries.debian.org>
and subject line Bug#546255: fixed in readahead-fedora 1.5.0-5
has caused the Debian Bug report #546255,
regarding readahead-fedora: init script fails to profile without existing files 
lists
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 ow...@bugs.debian.org
immediately.)


-- 
546255: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546255
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Subject: readahead-fedora: Fails to create file lists in /var/lib/readahead/
Package: readahead-fedora
Version: 1.5.0-4
Severity: important

Hi Raphael!

> On Friday 11 September 2009 11:20:51 Nelson A. de Oliveira wrote:
>> After installing readahead-fedora (1.5.0-4) and doing a
>> "touch /.readahead_collect" I see both early-readahead and later-readahead
>> failing at boot time. Nothing is created in /var/lib/readahead/ nor
>> /sbin/readahead is started.
>>
>> Taking a look at the script files I saw that doing these modifications:
>>
>> # diff -u early-readahead /etc/init.d/early-readahead
>> --- early-readahead   2009-09-11 11:29:55.000000000 -0300
>> +++ /etc/init.d/early-readahead       2009-09-11 11:40:28.000000000 -0300
>> @@ -87,7 +87,7 @@
>>           else
>>               log_end_msg $?
>>           fi
>> -     else
>> +     elif [ $SHOULD_COLLECT -eq 0 ]; then
>>           splash_start_indefinite
>>           log_begin_msg "Reading $LTYPE boot files..."
>>           if /sbin/start-stop-daemon --start --quiet \
>>
>> # diff -u later-readahead /etc/init.d/later-readahead
>> --- later-readahead   2009-09-11 11:29:55.000000000 -0300
>> +++ /etc/init.d/later-readahead       2009-09-11 11:30:28.000000000 -0300
>> @@ -87,7 +87,7 @@
>>           else
>>               log_end_msg $?
>>           fi
>> -     else
>> +     elif [ $SHOULD_COLLECT -eq 0 ]; then
>>           splash_start_indefinite
>>           log_begin_msg "Reading $LTYPE boot files..."
>>           if /sbin/start-stop-daemon --start --quiet \
>>
>> it doesn't fail anymore and I can see "Preparing to profile boot
>> sequence..." It also starts /sbin/readahead-collector
>> If I didn't understand it wrongly, my patch makes some sense (because if
>> it's an else only, without checking for $SHOULD_COLLECT, it will try to
>> read the boot files for the first time (and they don't exist yet)).
>
> Actually, the non-backgrounded readahead is intended to be done even when
> profiling (so that the boot is not slowed down very much). I'll workaround
> the bug directly in get_lists()

Good.

>> But again, nothing appears inside /var/lib/readahead
>> What could be wrong, please?
>
> Are you using a stock Debian kernel? insserv? dash? does any error message
> show up?

It's my own kernel, 2.6.31. From what I saw, it needs CONFIG_AUDIT and
I have it:

$ grep CONFIG_AUDIT .config
# CONFIG_AUDIT_ARCH is not set
CONFIG_AUDIT=y
# CONFIG_AUDITSYSCALL is not set
CONFIG_AUDIT_GENERIC=y

Maybe CONFIG_AUDITSYSCALL is also needed?

Booting it with RAC_DEBUG="on" in /etc/readahead.conf I have:

$ cat /dev/.readahead-rac.debug
***DEBUG:

HAVE SIGNAL 15

***DEBUG: deleting audit rule
readahead-collector: ERROR: deleting rule (Invalid argument)
***DEBUG: starting reordering data
***DEBUG: done: success

No messages while booting however, except the "failed" one (when using
the original init scripts; with my patched version I get no "failed"
messages but still gets the same result: nothing).

Using insserv and dash as sh.
In /etc/default/rcS I have "CONCURRENCY=makefile"

What else can I use to debug this, please?

> Anyway, they are both bugs and you should better file their respective bug
> report :).

;-)

Thank you!

Best regards,
Nelson

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.31.naoliv1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages readahead-fedora depends on:
ii  e2fslibs                      1.41.9-1   ext2/ext3/ext4 file system librari
ii  libaudit0                     1.7.13-1   Dynamic library for security audit
ii  libblkid1                     2.16-3     block device id library
ii  libc6                         2.9-26     GNU C Library: Shared libraries

readahead-fedora recommends no packages.

readahead-fedora suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: readahead-fedora
Source-Version: 1.5.0-5

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

readahead-fedora_1.5.0-5.diff.gz
  to pool/main/r/readahead-fedora/readahead-fedora_1.5.0-5.diff.gz
readahead-fedora_1.5.0-5.dsc
  to pool/main/r/readahead-fedora/readahead-fedora_1.5.0-5.dsc
readahead-fedora_1.5.0-5_i386.deb
  to pool/main/r/readahead-fedora/readahead-fedora_1.5.0-5_i386.deb



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 546...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Raphael Geissert <geiss...@debian.org> (supplier of updated readahead-fedora 
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 ftpmas...@debian.org)


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

Format: 1.8
Date: Fri, 11 Sep 2009 18:34:27 -0500
Source: readahead-fedora
Binary: readahead-fedora
Architecture: source i386
Version: 1.5.0-5
Distribution: unstable
Urgency: low
Maintainer: Raphael Geissert <geiss...@debian.org>
Changed-By: Raphael Geissert <geiss...@debian.org>
Description: 
 readahead-fedora - Fedora's implementation of readahead to preload boot 
process file
Closes: 546250 546255
Changes: 
 readahead-fedora (1.5.0-5) unstable; urgency=low
 .
   * Add a workaround for init script when no list exists (Closes: #546255)
   * Document that CONFIG_AUDITSYSCALL is also required (Closes: #546250)
Checksums-Sha1: 
 735b8a8af4dd31ce8bf58073827c4e4c50587e5b 1153 readahead-fedora_1.5.0-5.dsc
 44daf36bf8e676bbd0ff5b6ba22775567fadd71d 14381 readahead-fedora_1.5.0-5.diff.gz
 d57a2dbcc5860548949f3dcb0d27f2e1a866f91e 33042 
readahead-fedora_1.5.0-5_i386.deb
Checksums-Sha256: 
 da52c9ef6eade52d6a5cea4e7ab3bc69c7ab2796f675b3db0793a95a6db4028d 1153 
readahead-fedora_1.5.0-5.dsc
 94f31587d49a47a99b31446527ed203a0eb4f11974c67d16d3832f6084ded2ae 14381 
readahead-fedora_1.5.0-5.diff.gz
 0429078f9d1b1ee9138635cc0effc7d519a84adf06041141f19af25300de4cae 33042 
readahead-fedora_1.5.0-5_i386.deb
Files: 
 7094d6d6d0128d04c07385108f6e80a5 1153 admin optional 
readahead-fedora_1.5.0-5.dsc
 24d601f36b8b76d9a8135b3e4365574f 14381 admin optional 
readahead-fedora_1.5.0-5.diff.gz
 9f127e469ee92380a01caa1ad14d0278 33042 admin optional 
readahead-fedora_1.5.0-5_i386.deb

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

iEYEARECAAYFAkqq4WQACgkQYy49rUbZzlrV4gCglvm/JPnXNd975cb1EE6sQofz
4UMAoI9zre+dK/+7ANqepMMMfyuSguIc
=j3/J
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to