Bug 126972 - spurious output from postinstall scriptlet
Summary: spurious output from postinstall scriptlet
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks: FC3Target FC4Target
TreeView+ depends on / blocked
 
Reported: 2004-06-29 21:58 UTC by Michal Jaegermann
Modified: 2015-01-04 22:07 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-01-14 05:36:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Jaegermann 2004-06-29 21:58:37 UTC
Description of problem:

Recent kernel versions during installation print messages like
/lib/modules/2.6.7-1.459/build /

Closer examination reveals that this come from a somewhat strange
in non-interactive shell invocation of pushd.  More precisely
the script fragment in question looks as follows:

if [ -x /usr/sbin/hardlink ] ; then
pushd /lib/modules/2.6.7-1.459/build  ; {
        find . -type f | while read f; do
          hardlink -c /lib/modules/*/build/$f $f ; done
}

While not simpler
[ -x /usr/sbin/hardlink ] && hardlink /lib/modules/
or, maybe a bit more circumspect
[ -x /usr/sbin/hardlink ] && hardlink /lib/modules/*/build/
which seems to really amount to the same? (It is hard to be
sure withough digging through sources as hardlink does not have
any documentation I can see).

In any case 'cd /lib/modules/2.6.7-1.459/build && { find ... }'
will not do anything else in the context beyond checking that
cd indeed succeeded.

Version-Release number of selected component (if applicable):
kernel-2.6.7-1.459

Comment 1 Dave Jones 2005-01-14 05:36:04 UTC
I don't see the output you mention on any of the current kernels,
so I'm assuming this got fixed some time ago.


Note You need to log in before you can comment on or make changes to this bug.