Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582496 - media-gfx/sane-backends[systemd] missing installation of saned systemd service unit files
Summary: media-gfx/sane-backends[systemd] missing installation of saned systemd servic...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: install-systemd-unit
  Show dependency tree
 
Reported: 2016-05-09 01:40 UTC by Rick Harris
Modified: 2017-09-27 10:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
saned@.service (saned@.service,107 bytes, text/plain)
2016-05-09 01:41 UTC, Rick Harris
Details
saned.socket (saned.socket,115 bytes, text/plain)
2016-05-09 01:42 UTC, Rick Harris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Harris 2016-05-09 01:40:01 UTC
Attached are saned service unit files for starting saned using systemd.

If media-gfx/sane-backends[-ipv6] then in saned.socket line:
  ListenStream=6566
should be changed to read:
  ListenStream=0.0.0.0:6566
to support ipv4 only.

To start/enable, use the saned.socket service unit.
eg. systemctl enable saned.socket

Have attached these as working with current systemd as the examples shown in 'man saned' are known to not work (and not just in Gentoo).

Used in this way it simulates the same functionality as the old (x)inetd.
ie. Listens on a port, only starts the daemon once something connects to the port and exits daemon when client disconnects.

Thanks :)
Comment 1 Rick Harris 2016-05-09 01:41:31 UTC
Created attachment 433700 [details]
saned@.service
Comment 2 Rick Harris 2016-05-09 01:42:06 UTC
Created attachment 433702 [details]
saned.socket
Comment 3 Pacho Ramos gentoo-dev 2017-09-27 10:49:52 UTC
I have imported those from Fedora adapted to Gentoo