Gentoo Archives: gentoo-user

From: Gevisz <gevisz@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Do I really need a sshd?
Date: Sat, 04 Jan 2014 13:42:08
Message-Id: 52c80fa6.83b30e0a.1d01.ffffea4b@mx.google.com
In Reply to: Re: [gentoo-user] [gentoo user] Do I really need a sshd? by the
1 On Sat, 04 Jan 2014 14:45:33 +0400
2 the <the.guard@××××.ru> wrote:
3 >
4 > On 01/04/14 14:24, Gevisz wrote:
5 > >
6 > > After today's update of the world, emerge printed the following
7 > > message:
8 > >
9 > > * Messages for package net-misc/openssh-6.4_p1-r1: *
10 > > dev-libs/openssl was built with 'bindist' - disabling ecdsa
11 > > support * Remember to merge your config files in /etc/ssh/ and
12 > > then * reload sshd: '/etc/init.d/sshd reload'.
13 > >
14 > > That was quite a surprise for me, as I never installed (open)ssh
15 > > and it is not in my world.
16 > >
17 > > After the following query:
18 > >
19 > > # equery depends --indirect openssh
20 > >
21 > > I have got the following:
22 > >
23 > > * These packages depend on openssh: gnome-base/gvfs-1.16.4
24 > > (net-misc/openssh) app-cdr/brasero-3.8.0 (gnome-base/gvfs)
25 > > media-gfx/gthumb-3.2.4 (cdr ? >=app-cdr/brasero-3.2)
26 > > app-editors/gedit-3.8.3 (gnome-base/gvfs) gnome-base/nautilus-3.8.2
27 > > (>=gnome-base/gvfs-1.14[gtk]) app-cdr/brasero-3.8.0 (nautilus ?
28 > > >=gnome-base/nautilus-2.91.90) app-text/evince-3.8.3 (nautilus ?
29 > >> =gnome-base/nautilus-2.91.4[introspection?])
30 > > gnome-extra/sushi-3.8.1 (>=app-text/evince-3.0[introspection])
31 > > gnome-base/nautilus-3.8.2 (previewer ? >=gnome-extra/sushi-0.1.9)
32 > > gnome-extra/sushi-3.8.1 (>=gnome-base/nautilus-3.1.90)
33 > > media-gfx/gimp-2.8.6 (gnome ? gnome-base/gvfs)
34 > > app-doc/gimp-help-2.6.1 (>=media-gfx/gimp-2.4)
35 > > media-gfx/dcraw-9.10 (gimp ? media-gfx/gimp) media-gfx/gthumb-3.2.4
36 > > (!raw ? media-gfx/dcraw) xfce-base/thunar-1.6.2 (dbus ?
37 > >> =gnome-base/gvfs-1.10.1) (udev ?
38 > >> =gnome-base/gvfs-1.10.1[udisks,udev]) (udev ?
39 > >> =gnome-base/gvfs-1.10.1[gdu,udev]) (xfce_plugins_trash ?
40 > >> =gnome-base/gvfs-1.10.1) xfce-base/xfdesktop-4.10.2 (thunar ?
41 > >> =xfce-base/thunar-1.6[dbus]) xfce-base/xfce4-meta-4.10
42 > > (>=xfce-base/xfdesktop-4.10) virtual/ssh-0 (minimal ?
43 > > net-misc/openssh) (!minimal ? net-misc/openssh)
44 > >
45 > > Inspecting my /etc/conf.d and /etc/init.d directories, I have found
46 > > sshd files in both of them.
47 > >
48 > > So, my main question is as follows:
49 > >
50 > > Do I really need (open)sshd and, if no, how can I properly disable
51 > > (open)sshd in my Gentoo box?
52 > >
53 > > I guess that one of the ways to disable (open)sshd is to make
54 > > /etc/init.d/sshd file unexacutable, but is it a clean way to do
55 > > so?
56 >
57 > Why not reconfigure your init system. For example in the case of
58 > openrc: rc-update delete sshd
59
60 Thank you for pointing out to the right command.
61
62 The "rc-update show" shows that sshd does not run.
63
64 So, in this respect, everything is ok. :-)
65
66 > > The additional my question is as follows:
67 > >
68 > > What I am supposed to do in response to the "merge your config
69 > > files in /etc/ssh/" message above?
70 >
71 > Run dispatch-conf i guess.
72
73 Thank you, but dispatch-conf does not see any problems at /etc/ssh,
74 which have only the following three files: moduli, ssh_config,
75 sshd_config (though I have added /etc/ssh to CONFIG_PROTECT_MASK).
76
77 Actually, I also do not see any problems with this and do not understand
78 how I can "merge" them.
79
80 Why, on Earth, I have got that "merge your config files in /etc/ssh/"
81 message from net-misc/openssh-6.4_p1-r1, then?