Bug 126972

Summary: spurious output from postinstall scriptlet
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal>
Component: kernelAssignee: Dave Jones <davej>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: low Docs Contact:
Priority: medium    
Version: rawhideCC: pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-14 05:36:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 123268, 136451    

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.