First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 170586
Alias:
Product:
Component:
Status: RESOLVED
Resolution: INVALID
Assigned To: Portage team <dev-portage@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Timo Gurr <tgurr@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 170586 depends on: Show dependency tree
Bug 170586 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-03-12 15:48 0000
I'm running several machines with the standard sshd config file and never
touched it manually since they're in a trusted internal LAN so root login was
always possible. Now after updating to openssh-4.6_p1 and running etc-update
afterwards it automerged the config files:

Scanning Configuration files...
Automerging trivial changes in: /etc/ssh/sshd_config

And commented out
#PermitRootLogin yes
and set
PasswordAuthentication no

so after restarting sshd I was not able to login anymore.

On another machine with a heavily edited sshd_config the problem didn't occur
since etc-update asked to manually review the config file(s).

Reproducible: Sometimes

Steps to Reproduce:

------- Comment #1 From Jakub Moc (RETIRED) 2007-03-12 16:00:07 0000 -------
/etc/etc-update.conf

<snip>
# Whether trivial/comment changes should be automerged
eu_automerge="yes"
</snip>

^^^ Hint: change to "no"

------- Comment #2 From Timo Gurr 2007-03-12 16:04:38 0000 -------
Hm well shouldn't this be the default then? I mean I've never had any problem
with it before but this is a really bad behaviour which can cause a lot of
trouble (like in my case here).

------- Comment #3 From Wulf Krueger (RETIRED) 2007-03-12 18:27:22 0000 -------
(In reply to comment #1)
> # Whether trivial/comment changes should be automerged

While this might be a "comment change" if you take the words literally, it
hardly  is a trivial change. At the very least, this behaviour leaves much to
be desired.

------- Comment #4 From SpanKY 2007-03-12 18:44:35 0000 -------
PermitRootLogin is always enabled by default so i dont see how commenting out
it set to "yes" breaks anything

as for PasswordAuthentication, that is dependent upon USE=pam, so if you have
that enabled, that implies you want:
UsePAM yes
PasswordAuthentication no

------- Comment #5 From Timo Gurr 2007-03-12 18:56:04 0000 -------
Thanks for the clarification. I do have one remaining question, since when is
this the default behaviour in gentoo?

------- Comment #6 From SpanKY 2007-03-12 19:56:49 0000 -------
which default behavior ?  the sshd_config defaults have been this way forever
(seriously, a quick check shows it hasnt changed in over two years)

First Last Prev Next    No search results available      Search page      Enter new bug