Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#31701 - [sslh] systemd sslh.service is missing dependencies

Attached to Project: Community Packages
Opened by higuita (higuita) - Wednesday, 26 September 2012, 23:38 GMT
Last edited by Sébastien Luttringer (seblu) - Thursday, 20 December 2012, 23:32 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: systemd sslh.service is missing dependencies, its trying to start sslh before there is a network configures and so it fails

just add this to the sslh.service
After=local-fs.target network.target

Steps to reproduce:
1. install systemd and sslh
2. enable systemd as the init (init=/bin/systemd)
3. reboot
4. see that sslh failled to start with the error
sslh[299]: servername:https:bind: Cannot assign requested address

attaching the corrected sslh.service
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Thursday, 20 December 2012, 23:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  sslh-1.14-1
Comment by Dave Reisner (falconindy) - Wednesday, 26 September 2012, 23:39 GMT
local-fs.target is a default dependency. it does not need to be explicltly added.
Comment by higuita (higuita) - Thursday, 27 September 2012, 01:00 GMT
Ok, didnt knew that, but look like a correct default :)

So tune the upload script to:

Requires=network.target
After=network.target

and add to the [Service] part this:

Type=forking

without it, it still fails on boot (but runs fine in the command line, dont know why)
Comment by Dave Reisner (falconindy) - Thursday, 27 September 2012, 01:02 GMT
Combining --foreground with Type=forking seems rather counteracting...

And no, you never Require network.target.
Comment by Sébastien Luttringer (seblu) - Thursday, 27 September 2012, 08:24 GMT
File was added upstream: http://rutschle.net/pipermail/sslh/2012-May/000215.html

2 improvments was added by contributor: http://rutschle.net/pipermail/sslh/2012-August/000239.html.

So this will be done on next release.
Comment by Sébastien Luttringer (seblu) - Friday, 07 December 2012, 02:05 GMT
Yves Rutschle, announced a new release for Christmas. So will be fixed soon.

Loading...