Modify

Opened 12 years ago

Closed 12 years ago

Last modified 9 years ago

#100 closed defect (fixed)

severals errors in openssh-server in RC4

Reported by: anonymous Owned by: nico
Priority: normal Milestone: 1.0-rc5
Component: packages Version: 1.0
Keywords: Cc: bruno@…

Description

Problem 1

in /etc/init.d/S50sshd, line 6:

key=/etc/ssh/ssh_${type}_host_key

must be:

key=/etc/ssh/ssh_host_${type}_key

or openssh-server compiled to use ssh_${type}_host_key instead


Problem 2

openssh-server require a sshd user and group to run
the ipkg install script need something like this:

echo 'sshd:!:99:99:sshd:/var/empty:/bin/false' >> /etc/passwd
echo 'sshd:x:99:' >> /etc/group

Problem 3

When starting, openssh need an empty directory to drop privilege, by default it's /var/empty
but /var is a ramdisk, then this directory need to be created at startup
so, the file /etc/init.d/S50sshd must have at line 3:

mkdir /var/empty 2> /dev/null

Attachments (0)

Change History (2)

comment:1 Changed 12 years ago by nico

  • Milestone set to 1.0
  • Owner changed from developers to nico
  • Status changed from new to assigned
  • Version set to 1.0

comment:2 Changed 12 years ago by florian

  • Resolution set to fixed
  • Status changed from assigned to closed

Corrected in r2810, thanks !

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.