From: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> Date: Fri, 27 Apr 2012 11:42:58 -0700 > On Fri, Apr 27, 2012 at 11:34 AM, David Miller <davem@xxxxxxxxxxxxx> wrote: >> >> If systemd wants to use version 5 of this thing, it has to have the >> same workaround code automountd has. It is systemd (and now the >> kernel) which is broken. > > There's no question that systemd is broken. > > But those broken binaries are out in the wild. End of story. And my point is that automountd was out there longer, and encoded the "broken" structure size into the resulting binaries. >> We should have never touched version 5 of the data-structure. Having >> 5 years of workaround precedence in userspace proves this. > > 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. -- To unsubscribe from this list: send the line "unsubscribe autofs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html