On 23/12/2010 5:29 PM, Michal Jaegermann wrote:
On Thu, Dec 23, 2010 at 04:57:11PM +1100, Steven Haigh wrote:
> On 23/12/2010 3:44 PM, Michal Jaegermann wrote:
>>
>> $ file /sbin/new-kernel-pkg
>> /sbin/new-kernel-pkg: Bourne-Again shell script text executable
>>
>
> The relevant part of it seems to be as follows:
>
> + mkinitrd
> + '[' -n --dracut ']'
> + tool='/sbin/dracut -f /boot/initramfs-2.6.35.9-64.fc14.i686.img
> 2.6.35.9-64.fc14.i686'
> + '[' -n '' ']'
> + /sbin/dracut -f /boot/initramfs-2.6.35.9-64.fc14.i686.img
> 2.6.35.9-64.fc14.i686
> W: Cannot load dracut module "plymouth", dependencies failed.
Something is fishy as /usr/share/dracut/modules.d/50plymouth
is a part of dracut. Does 'rpm -V dracut' has anything to say?
No clues there.
# rpm -V dracut
#
/sbin/dracut is also a "Bourne-Again shell script" so you
can try
the same approach on the next level.
Hmmm - this looks promising, but I know nothing about dracut and what it
is supposed to do:
+ should_source_module /usr/share/dracut/modules.d/50plymouth
+ local dep
+ [[ '' = yes ]]
+ [[ -x /usr/share/dracut/modules.d/50plymouth/install ]]
+ [[ -x /usr/share/dracut/modules.d/50plymouth/check ]]
+ /usr/share/dracut/modules.d/50plymouth/check
++ /usr/share/dracut/modules.d/50plymouth/check -d
+ for dep in '$("$1/check" -d)'
+ check_module_deps crypt
+ local moddir dep ret
+ strstr ' dash redhat-i18n rpmversion ' ' crypt '
+ [[ dash redhat-i18n rpmversion =~ crypt ]]
++ echo /usr/share/dracut/modules.d/90crypt
+ moddir=/usr/share/dracut/modules.d/90crypt
+ [[ -d /usr/share/dracut/modules.d/90crypt ]]
+ [[ -x /usr/share/dracut/modules.d/90crypt/install ]]
+ [[ -x /usr/share/dracut/modules.d/90crypt/check ]]
+ /usr/share/dracut/modules.d/90crypt/check
+ ret=1
+ (( ret==0||ret==255 ))
+ return 1
+ dwarning 'Cannot load dracut module "plymouth", dependencies failed.'
+ echo 'W: Cannot load dracut module "plymouth", dependencies failed.'
W: Cannot load dracut module "plymouth", dependencies failed.
+ [[ -w /var/log/dracut.log ]]
+ return 1
+ continue
Looking at this further:
# sh -x /usr/share/dracut/modules.d/90crypt/check
+ which cryptsetup
+ exit 1
# which cryptsetup
/usr/bin/which: no cryptsetup in
(/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
This looks to be failing as I no package supplying cryptsetup is
installed. If I understand the output correctly, it is saying cryptsetup
doesn't exist, therefore plymouth is failing?
--
Steven Haigh
Email: netwiz(a)crc.id.au
Web:
http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299