Hi, Alan, On Wed, Dec 09, 2009 at 09:42:56PM +0200, Alan McKinnon wrote: > On Wednesday 09 December 2009 18:46:11 Alan Mackenzie wrote: > > > The supported method is to ssh into the "LiveCD" environment then > > > chroot from that shell. It's hard to imagine a scenario where you > > > would have more than one user doing that at the same time, so why > > > run sshd in the chroot at all?
> > If you run sshd in the bare installation (as suggested), the ssh > > client has to update his ~/.ssh/known_hosts every time the system is > > booted (what? There are people who only boot it once before getting > > Gentoo completely installed? ;-). When sshd'ing from within the > > chrooted environment, the ssh client has to add an entry to > > known_hosts just once, and this entry will persist even when the > > embryonic gentoo has been fully installed and configured. > > More to the point, though, is that the manual doesn't explicitly > > state that sshd must be started from outside the chroot. It sort of > > implies it, but doesn't emphasise it. Reading the manual, it was > > clear to me that it didn't matter (turns out I was wrong). Also, > > people are going to be running sshd on their own initiative, and it > > seems perverse knowingly to leave a hindrance on one of the two ways > > they'll choose to do it. > > This situation cost me around 10 hours of frustration. Looks like > > I'll not be the last victim. > All I can add is that if I were the maintainer, I wouldn't support what > you are asking either. What you seem to be missing is that this change COSTS NOTHING, bar the time it takes to change a few bytes of source code, recompile and commit. Nothing which previously worked would cease to work, and the amount of support required would decrease or stay the same. > Installation is supposed to be an atomic operation - it starts then > continues till it ends. It either fully completes or is considered to > not have happened, meaning that persistence is diametrically opposed to > what an install is. OK, we don't live on the same planet. I have never completed a Linux installation in a single sitting, and don't expect ever to do so. Particularly on a distribution like Gentoo where so much has to be done by hand. (That's not a criticism, by the way. It's one of the things which has attracted me to Gentoo.) You and others around this list might be supermen, I'm not, and I feel no shame about it. > It's analogous to a compile - terminating compilation at some arbitrary > point then picking up from where it ended at some later point is just > not supported. That analogy is so week as to be meaningless. Installation, unlike compilation, consists of a large number of discrete manual steps, and it is silly to suggest that if you don't finish by bedtime you should wipe the hard drive and start again from scratch when you get up in the morning. > Possible yes, but not supported by default. The manual neither states nor implies that you've got to finish at one sitting. The only difficulty, and it's not much of one, is working out how to restart in the middle. Hey, even I managed that. > But it's easy to get what you want: take what is there, modify it and > create a fork. You become the maintainer of the fork and can accept or > decline suggestions as you see fit. Oh, that old stuff. No thanks, Alan, I've got quite enough to do supporting my own project (Emacs CC Mode). I'll just carry on with my own way of doing things, "supported" or not. I'll keep my bright ideas and "customer feedback" to myself from now on, since nobody here seems to want them. But I'll ask for help when I need it - you guys are great at helping, and that's most appreciated. Thanks for the chat, and good night for now! > -- > alan dot mckinnon at gmail dot com -- Alan Mackenzie (Nuremberg, Germany).