[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: killing daemons on package removal?



On Wed, Jan 17, 2001 at 06:59:51PM +0100, Goswin Brederlow wrote:
> Consider the folowing:
> 
> ssh server -l root
> # dpkg --purge ssh
> Connection closed by foreign host
> 
> Purging ssh would kill shhd, which would kill the dpkg, which would
> leafe the system in a very inconsistent state.

No, it wont:

calista:~# ssh ecki@localhost
ecki@localhost's password: 
Last login: Sun Jan 14 17:36:03 2001 from darkover.inka.de on pts/1
Linux calista 2.4.0-test12 #2 Wed Dec 13 23:38:03 CET 2000 i686 unknown
Your Mail will be searched in /home/ecki/.maildir/
1ecki@calista:~> su
Password: 
calista:/home/ecki# /etc/init.d/ssh stop
Stopping OpenBSD Secure Shell server: sshd.
calista:/home/ecki#

 It will kill the accepting Server, not the connected Server.
But somebody who is doing that is living a bit risky anyway.. what do you do
if the network connection breaks while setup is running?

Greetings
Bernd
-- 
  (OO)      -- Bernd_Eckenfels@Wendelinusstrasse39.76646Bruchsal.de --
 ( .. )  ecki@{inka.de,linux.de,debian.org} http://home.pages.de/~eckes/
  o--o     *plush*  2048/93600EFD  eckes@irc  +497257930613  BE5-RIPE
(O____O)  When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!



Reply to: