Bug#652656: sslh: Cannot start sslh daemon - invalid .pid file directory

December 19th, 2011 - 11:50 am ET by skibbi | Report spam
Package: sslh
Version: 1.10-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,
After upgrade to latest sslh version, daemon cannot start anymore giving following error:
Starting ssl/ssh multiplexer: sslh/var/run/sslh.pid: Permission denied

/var/run/sslh/ directory is created, but according to error message, daemon tries to write to /var/run.
I've checked /etc/init.d/sslh but the pid direcroty there seems to be set correctly.

Regards

Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sslh depends on:
ii adduser 3.113
ii debconf 1.5.41
ii libc6 2.13-23
ii lsb-base 3.2-28
ii update-inetd 4.41

Versions of packages sslh recommends:
ii apache2-mpm-prefork [httpd] 2.2.21-3
ii openssh-server [ssh-server] 1:5.9p1-2

Versions of packages sslh suggests:
ii openbsd-inetd [inet-superserver] 0.20091229-1

/etc/default/sslh changed:
RUN=yes
DAEMON=/usr/sbin/sslh
DAEMON_OPTS="--user sslh --listen 1.2.3.4:443 --ssh 127.0.0.1:22 --ssl 127.0.0.1:443"


* sslh/inetd_or_standalone: standalone



To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 1 replyReplies Make a reply

Replies

#1 Guillaume Delacour
December 19th, 2011 - 02:30 pm ET | Report spam

merge 652656 652659
severity 652656 fixed
thanks

Le lundi 19 décembre 2011 à  17:37 +0100, skibbi a écrit :
Package: sslh
Version: 1.10-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,



Hi,

After upgrade to latest sslh version, daemon cannot start anymore giving following error:
Starting ssl/ssh multiplexer: sslh/var/run/sslh.pid: Permission denied

/var/run/sslh/ directory is created, but according to error message, daemon tries to write to /var/run.
I've checked /etc/init.d/sslh but the pid direcroty there seems to be set correctly.



Upstream has changed some ordrer in the code to write the pid (it is
written as sslh user and not as root), so i've changed the default
location of the pid. I think you've upgraded and kept your
previous /etc/default/sslh file from 1.9-1,
see /etc/default/sslh.dpkg-dist for newly integrated --pidfile option:

DAEMON_OPTS="--user sslh --listen 0.0.0.0:443 --ssh 127.0.0.1:22 --ssl
127.0.0.1:443 --pidfile /var/run/sslh/sslh.pid"

I close this bug and the #652659 one.


Regards

Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sslh depends on:
ii adduser 3.113
ii debconf 1.5.41
ii libc6 2.13-23
ii lsb-base 3.2-28
ii update-inetd 4.41

Versions of packages sslh recommends:
ii apache2-mpm-prefork [httpd] 2.2.21-3
ii openssh-server [ssh-server] 1:5.9p1-2

Versions of packages sslh suggests:
ii openbsd-inetd [inet-superserver] 0.20091229-1

/etc/default/sslh changed:
RUN=yes
DAEMON=/usr/sbin/sslh
DAEMON_OPTS="--user sslh --listen 1.2.3.4:443 --ssh 127.0.0.1:22 --ssl 127.0.0.1:443"


* sslh/inetd_or_standalone: standalone






Guillaume Delacour






To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics