Unable to mount NTFS partition during system boot while having a separate /usr partition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ntfs-3g (Ubuntu) |
Fix Released
|
High
|
Dimitri John Ledkov |
Bug Description
I am using the beta version of 64 bit Ubuntu 13.04 with the latest updates as of today (mountall 2.47).
A few weeks ago, my Ubuntu started to experience mount issues during every boot (Press S to skip mounting ...). The problem is that mountall is unable to mount my NTFS partition during system boot. I don't know why is this happening, but I know that it was definitely possible earlier.
The issue is caused by the fact that I have a separate /usr partition. This partition is higher in /etc/fstab than my NTFS partition, so it should get mounted with a higher priority and preferably earlier. From what I have been able to find out, the boot order is correct and /usr partition gets mounted before NTFS partition, just like it should.
However, mountall somehow tries to mount the NTFS partition "without being aware" that /usr partition has already been mounted. The thing is that despite /usr is already mounted (or already being in the process of mounting, I don't know), I always get this error message that mount.ntfs-3g can not find the shared library libntfs-3g.so.84, which is obviously located in /usr/lib/
Maybe it is because mountall does some mounting parallelism and doesn't wait until /usr is mounted. But even if I set fs_passno of my /usr partition to 1, my NTFS partition still refuses to mount with the above mentioned error. If it makes any difference, my /usr partition and the NTFS partition in question are located on different physical drives.
So, I think it would be nice if mountall could be able to determine which mount points must be available and mounted before executing any particular mount command. This could be, in my opinion, easily determined using ldd on a fully running system. Once this information is available, it could be stored in some mountall-specific configuration file which would determine partial mount ordering of the mount points which are currently present in /etc/fstab. I suppose it sould be as easy as that.
Nothing so complicated. This is simply a regression in ntfs-3g, which shouldn't have its library in /usr/lib - it should be in /lib.