[Swan-dev] disabling services - ssh?
antony at phenome.org
Wed Aug 12 05:59:25 UTC 2020
I started with this e-mail before Paul's request to stop this attemept.
I guess for this round sshd will survive in default install!
However, I post the e-mail to explictly document usecase of ssh for the
On Mon, Aug 10, 2020 at 10:16:53PM -0400, Paul Wouters wrote:
> On Aug 10, 2020, at 21:19, Andrew Cagney <andrew.cagney at gmail.com> wrote:
> > I've been trimming the services installed/running from the KVM tests
> > (zapping plymouth saved 30 minutes). I've so far cut things down to:
> > https://libreswan.org/wiki/Test_Suite_-_Performance#Boot_the_VMs
> > One on my hit list is SSHD. I don't use it.
I can imagine disabling ssh would save few minutes from in a test run. No
ssh would be ok for testing.libreswan.org which is just a testrunner host.
However, other use cases it does not sound ideal.
When I am interacting with the guest ssh is way more responsive than serial.
Also fits work flow better than kvmsh.
> I use it a lot. It works much better than serial ports which I always need
> to stty sane/reset
My workflow depend on ssh. And would be sad to see it disabled.
If it is disabled, I would make an attempt to enable ssh in some optional
way. Testing should support work flows too not just optize for speed!
on test vm ssh is useful for opening multiple sessions. One session running
tcpdump, another one runnign gdb ... and ping. serial is not comparable to
ssh when ssh is possible.
as I recollect tcpdump would not write over 9pfs and have to be written to
/tmp and copy over ssh.
./testing/utils/kvmsh.py does not support multiple sessions to guest.
I ssh to swandefault(now and then) to install new kernel, just copy over
vmlinuz file to /boot/... or specific changes to compile install new
iproute2. And then create the test vms.
In short please leave the ssh alone! And celiberate getting down to < 2.5
hours from 13 hours! while the number of tests increased from when it took
PS: I am all for adding optional hook to disable ssh, may be in
f32-transmorgify. An optional hook to copy .bashrc, .vimrc.. from host,
aspecified location would be useful.
More information about the Swan-dev