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

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

 




----- Original Message -----
> > +++ 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.*.

It is not an error when we specify something in the template and the package is not installed. It is just a warning so the user/maintainer can go back and check the template if anything changed between releases, but it does not stop the compose. The packages and their dependencies change all the time. If this was an error the composes for every release would take a lot more work.

> 
> 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.

The difference here is /usr/ .

> 
> 
> 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* ?

This here looks like a bug.

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

_______________________________________________
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