Re: [PATCH v2] Introduce a version6 of autofs interface, to fix design error.

H. Peter Anvin
2012-04-27T20:45:53Z

On 04/27/2012 12:08 PM, David Miller wrote:
>>
>> Umm. The thing is, those broken binaries *work* on 32-bit. They were
>> *tested* on 32-bit. They were *shipped* on 32-bit.
>
> As were the automount binaries.
>
> systemd coded to an interface which did not exist in reality, and if
> they had used the automountd sources as a reference (the only other
> user of this interface) they would have seen this.
>
> Look, I can almost guarantee that whoever wrote the automountd
> workaround code looked at this situation and said "yeah, it's
> impossible to get this right in the kernel for all cases for v5, so
> let's just do it where we _can_ be absolutely certain and that's here
> in this userland routine doing the autofs stuff"
>
> And you know what, whoever that guy was, he was right.

The workaround in automount is a mistake too, though. The better
solution would have been to swallow the extra zero field; data driven.

-hpa