#4624: Defects found through ICA
-----------------------------+------------------------------
 Reporter:  pierre.labastie  |       Owner:  pierre.labastie
     Type:  enhancement      |      Status:  assigned
 Priority:  normal           |   Milestone:  9.2
Component:  Book             |     Version:  SVN
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by pierre.labastie):

 '''Some shadow programs incorrectly reference /bin/passwd after first
 build'''

 ''login'', ''expiry'', and ''su'' hardcode /bin/passwd insted of
 /usr/bin/passwd. This may lead to the impossibility of renewing a password
 when it is expired.

 '''Explanation'''
 Shadow's ''configure'' tests whether /usr/bin/passwd exists, and if not,
 hardcodes /bin/passwd. This is close to a bug: it should harcode
 $prefix/bin/passwd. Anyway...

 '''Solution'''
 ''touch /usr/bin/passwd'' before building shadow.

 '''Possible side effect'''
 None that I can think of: the empty file is almost immediately replaced
 when installing shadow.

--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/4624#comment:3>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to