Re: [lorax] Add ntfs-3g to initrd (#804302)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +++ b/share/runtime-install.tmpl

> -installpkg btrfs-progs jfsutils xfsprogs reiserfs-utils gfs2-utils ntfsprogs
> +installpkg btrfs-progs jfsutils xfsprogs reiserfs-utils gfs2-utils ntfs-3g ntfsprogs

Explicitly installing package ntfs-3g does fix bz#804302,
but closer inspection raises more questions.

The removals say:
-----$ grep ntfs-3g /usr/share/lorax/runtime-cleanup.tmpl
removefrom ntfs-3g --allbut /usr/sbin/mount.ntfs* /${libdir}/*
-----
and after applying the patch and running pungi, then the logfile indicates:
-----$ grep ntfs-3g work/x86_64/log/pylorax.log
template line 23: installpkg btrfs-progs jfsutils xfsprogs reiserfs-utils gfs2-utils ntfs-3g ntfsprogs
2:ntfs-3g-2012.1.15-1.fc17.x86_64 installed successfully
template line 786: removefrom ntfs-3g --allbut /usr/sbin/mount.ntfs* /lib64/*
removefrom ntfs-3g /lib64/*: no files matched!
ntfs-3g --allbut /usr/sbin/mount.ntfs* /lib64/*: removed 22/25 files, 1074kb/1454kb
-----

So, before "ntfs-3g" is added to the 'installpkg' line, why was there
no Error for "removefrom ntfs-3g ..."?  Explicitly naming a [then] non-existing
package ntfs-3g should be an Error, not just a note in pylorax.log.
That would have caught the original problem of initrd omitting libntfs-3g.so.*.

Also, the log says "removefrom ntfs-3g /lib64/*: no files matched!"
but /usr/lib64/libntfs-3g.so.83* definitely is present [see below].
This confuses me.


Another problem: the package ntfs-3g does have some files that match mount.ntfs*:
-----$ rpm -ql ntfs-3g | grep mount.ntfs
/usr/sbin/mount.ntfs
/usr/sbin/mount.ntfs-3g
/usr/sbin/mount.ntfs-fuse
/usr/share/man/man8/mount.ntfs-3g.8.gz
-----

However, the initrd does not contain them:
-----$ xz -d  < x86_64/os/isolinux/initrd.img  |  cpio --list  |  grep ntfs
run/initramfs/usr/sbin/fsck.ntfs
run/initramfs/usr/lib64/libntfs-3g.so.83
run/initramfs/usr/lib64/libntfs-3g.so.83.0.0
run/initramfs/usr/bin/ntfsck
-----
So why does the initrd.img not contain /usr/sbin/mount.ntfs* ?

-- 

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux