Re: [Thinstation-general] chroot exit leaves mounts mounted
Brought to you by:
doncuppjr
From: Don C. <don...@ya...> - 2022-05-03 00:29:19
|
I use fedora. It’s not the code, just how the distro is handling umount. You can see me calling it. On Ubuntu, if I don’t use lazy umount, it hangs the exit. Sent from Yahoo Mail for iPhone On Monday, May 2, 2022, 5:21 PM, Todd Pfaff <pf...@rh...> wrote: It's trivial. I just run the following command several times after I exit the setup-chroot shell. It has become as quick as a !for in my build shell. for f in `mount|grep thinstation | awk '{print $3}'`; do echo $f; umount $f; done So, no big deal, just unexpected. If we're blaming this on the distro, that really suprises me since you're basically saying that there are either very few ThinStation users who are building on a RHEL/CentOS 7 platform, or all the other TS users who do use the same distro as me are just suffering in silence. Maybe, who knows. I'd also find it hard to believe this is distro related given that setup-chroot is just bash code, and not terribly complex bash code at that. I'm curious now though: on what distro(s) does this all work flawlessly? Maybe I'll spin one of those up just to ease my pain. Todd On Mon, 2 May 2022, Don Cupp via Thinstation-general wrote: > Oh the sadness of the various distro peculiarities. How long does it take to try and unmount everything? > > > > > > > On Sunday, May 1, 2022, 07:39:07 AM PDT, Todd Pfaff <pf...@rh...> wrote: > > > > > > I'm using thinstation 6.2-Stable, git cloned 2022-04-01. > > I'm doing builds on a CentOS 7 host. > > Something with setup-chroot is faulty. When I exit from setup-chroot, it > does not unmount things like it's supposed to. I can clearly see the code > in setup-chroot in function do_unmounts() that is supposed to do > the unmount, and I can see from where this is called, but it's not doing > its job. > > This is then somehow leading to various problems. We've seen both /dev/ > and /dev/pts/ go empty while I've been working with ts6.2 recently. > > Todd > > > _______________________________________________ > Thinstation-general mailing list > Thi...@li... > https://lists.sourceforge.net/lists/listinfo/thinstation-general > > > _______________________________________________ > Thinstation-general mailing list > Thi...@li... > https://lists.sourceforge.net/lists/listinfo/thinstation-general |