Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#36629 - [mkinitcpio] hangs in autodetect hook
Attached to Project:
Arch Linux
Opened by David Strobach (laloch) - Wednesday, 21 August 2013, 12:15 GMT
Last edited by Dave Reisner (falconindy) - Friday, 13 September 2013, 12:05 GMT
Opened by David Strobach (laloch) - Wednesday, 21 August 2013, 12:15 GMT
Last edited by Dave Reisner (falconindy) - Friday, 13 September 2013, 12:05 GMT
|
DetailsDescription:
mkinitcpio hangs in autodetect hook while invoking findmnt -snero fstype --tab-file '/etc/fstab' /usr on a system with stale NFS mount. In my case the stale mount was NFSv3 mounted under /mnt, not /usr, so this can affect even users without NFS-mounted /usr directory. Maybe the --timeout option could help. Additional info: mkinitcpio 0.15.0-1 |
This task depends upon
Closed by Dave Reisner (falconindy)
Friday, 13 September 2013, 12:05 GMT
Reason for closing: Works for me
Additional comments about closing: Committed https://projects.archlinux.org/mkinitcpi o.git/commit/?id=31e5439dd anyways, to be safe
Friday, 13 September 2013, 12:05 GMT
Reason for closing: Works for me
Additional comments about closing: Committed https://projects.archlinux.org/mkinitcpi o.git/commit/?id=31e5439dd anyways, to be safe
Can you paste an strace log of findmnt when it hangs? It makes absolutely no sense that the command you point out would access anything other than /usr
- if usrfstype=$(findmnt -snero fstype --tab-file '/etc/fstab' /usr); then
+ if usrfstype=$(findmnt -snero fstype --tab-file '/etc/fstab' -T /usr); then
But I still can't fathom that this is really at fault for accessing anything outside of /usr.
I'm not able to reproduce the stale mount which wouldn't be unmountable even by umount -lf so I can't provide any more info. I'll keep trying.