On Wed, Mar 22, 2017 at 06:15:42PM -0600, Chris Murphy wrote: > On Wed, Mar 22, 2017 at 4:19 PM, Dave Chinner <david@xxxxxxxxxxxxx> wrote: > > On Wed, Mar 22, 2017 at 09:36:21AM -0600, Chris Murphy wrote: > > >> OK. It looks to me like systemd eventually gives up on the remount-ro, > >> and then just reboots. That strikes me as a flawed design. Systemd > >> needs to wait longer (which is vague advice), or maybe after the 3rd > >> failed remount-ro, insert a freeze/unfreeze, then reboot. How does > >> that sound? > > > > Sounds supremely fragile and fucked up. Sure, lets add another > > layers of hacks to systemd to work around the problem that systemd > > can't remount-ro the root filesystem because systemd holds open ^^^^^^^ Meant to say "something" here, not "systemd". > > write fds on the root fs. Fix the problem that causes open write fds > > on the root fs at the end of shutdown? Nah, that's stupid talk - > > just hack a bandaid over the top.... <snip misdirected rant about it not being systemd's fault> > > Really, the bootloader needs fixing, then we can go back to > > blissfully ignoring all the stupid bugs in the steaming pile we know > > as systemd... > > If I thought that bitching about the deplorable state of bootloaders > on Linux, the total lack of cooperation among the distributions when > it comes to the basic task of booting a fucking computer in 2017, when > this shit was solved fucking 25 goddamn years ago by Microsoft and > Apple, and they don't have the myriad problems and bugs I'm constantly > finding on just Fedora release to release? I would have done it a long > time ago. We solved reliable booting 20 years ago - it's a simple as "set up separate boot partition and use Lilo". Been working reliably for me and all the systems I've installed and managed since 1995.... :/ <feel free to insert you own "rocking chairs and lawn" comments :P> > But I sincerely doubt anyone on this list gives a flying fuck about > bootloader problems. Nobody should care, because in future we should be replacing the bootloader with "copy kernels into EFI partition and boot from EFI". i.e. bypassing the need for a bootloader altogether. Worked perfectly well for booting ia64 machines 10-15 years ago.... > Actually, characterizing the distros as > uncooperative is too polite. They actively sabotage each other. It's > so bad, they even sabotage themselves (try doing back to back side by > side installations of Fedora). Each distro's grub is effectively a > fork. Fedora ostensibly uses mostly upstream stuff, but with grub the > upstream copy has 200+ hacks that are Fedora specific, SUSE has more > and more invasive hacks, both of them are mutually incompatible. The > distros don't agree. They're different operating systems that just so > happen to share a kernel (or an init service). This fact isn't going > to get solved on this list. Yup, that's exactly what I was implying is the problem - everyone has their own special snowflake rather than working together to produce one simple, robust, reliable solution to a well known problem... > So if you have something else for me to actually act on, I'm happy to > try and push this forward so a teeny tiny handful of users can > actually do single volume XFS booting and not end up face planted when > they do offline updates. Thanks. *As I always say*: fix the root cause of the problem, don't hack around it because that almost always makes things worse in the long run. Hacking code into systemd to work around a distro-specific and/or bootloader bug is simply not a viable long term solution to the collaboration problems that have been pointed out here... Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html