Mail Archives: cygwin/2001/07/12/07:27:23
On Thu, Jul 12, 2001 at 12:50:03PM +0200, Michael Schaap wrote:
> Hi Corinna,
>
> At 10:22 12-7-2001, Corinna Vinschen wrote:
> >I've updated the version of OpenSSH in cygwin/latest to 2.9p2-1.
>
> Updating OpenSSH using setup destroys /etc/ssh_config and
> /etc/sshd_config. It would be nice it if didn't do that, or if at least
> the announcement would warn about that.
Sorry 'bout that. That happens after upgrading from 2.9p1-2
since I had packed the 2.9p1-2 tar archive wrong :-(
The new 2.9p2-1 package is correct again so the next update
will not destroy these files.
Corinna
> Also, a small bug in ssh-host-config. I ran it to regenerate
> /etc/ssh*_config, but said no to the "install as a service" question (since
> I had the service already).
> In this case, the line "chown system /etc/ssh*" didn't run, so my
> /etc/ssh*_config files were still owned by me. Therefore, sshd still
> didn't start.
> I think the "chown" should be moved two "fi"'s down. :-)
No, only if the script knows that sshd is started under system
account the automated chown makes sense, IMO.
> (Also, I think "chown system:system /etc/ssh*" is slightly more elegant.)
Slightly. The group membership is never checked, though.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin AT cygwin DOT com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -