[Top][All Lists]

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

Re: [PATCH v2] osdep/linux: handle autofs entries in /proc/self/mountinf

From: Andrei Borzenkov
Subject: Re: [PATCH v2] osdep/linux: handle autofs entries in /proc/self/mountinfo
Date: Tue, 24 Jan 2017 20:06:27 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

19.01.2017 19:37, Andrei Borzenkov пишет:
> These entries have placeholder for device name and so are useless for our
> purpose. grub failed with something like
> grub-install: error: failed to get canonical path of `systemd-1'.
> When we see autofs entry, record it (to keep parent-child relationship) but
> continue to look for real mount. If it is found, we process it as usual. If
> only autofs entry exists, attempt to trigger mount by opening mount point
> and retry. Mount point itself is then kept open to avoid timeout.
> Recent systemd is by default using automount for /boot/efi so this should
> become more popular problem on EFI systems.
> Closes: 49942
> ---
> v2:
>   - remove bogus autofs check in main mountinfo read loop, it was result of
>     misunderstanding
>   - consolidate cleanup code to avoid memory leak on retry.
> If there are no objections in next days, I'll commit it. It was confirmed to
> fix the problem.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]