diff --git a/openssh.changes b/openssh.changes index 58acdd6..933a37c 100644 --- a/openssh.changes +++ b/openssh.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 13 10:26:16 CET 2012 - kukuk@suse.de + +- Fix groupadd arguments +- Add LSB tag to sshd init script + ------------------------------------------------------------------- Fri Oct 26 15:01:21 UTC 2012 - coolo@suse.com diff --git a/openssh.spec b/openssh.spec index b9df6b1..2e4e94e 100644 --- a/openssh.spec +++ b/openssh.spec @@ -177,7 +177,7 @@ install -D -m 0644 %{SOURCE12} %{buildroot}%{_unitdir}/sshd.service %endif %pre -getent group sshd >/dev/null || %{_sbindir}/groupadd -o -r sshd +getent group sshd >/dev/null || %{_sbindir}/groupadd -r sshd getent passwd sshd >/dev/null || %{_sbindir}/useradd -r -g sshd -d /var/lib/sshd -s /bin/false -c "SSH daemon" sshd %if 0%{?has_systemd} %service_add_pre sshd.service diff --git a/sshd.init b/sshd.init index 86ce3ba..d5b5a1a 100644 --- a/sshd.init +++ b/sshd.init @@ -16,6 +16,7 @@ # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Description: Start the sshd daemon +# Short-Description: Start the sshd daemon ### END INIT INFO SSHD_BIN=/usr/sbin/sshd