Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 321473

Summary: media-gfx/sane-backends: add xinetd support via USE flag
Product: Gentoo Linux Reporter: Richard F. Ostrow Jr. <kshots>
Component: Current packagesAssignee: Patrick Kursawe (RETIRED) <phosphan>
Status: RESOLVED FIXED    
Severity: enhancement CC: pacho
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild patch against media-gfx/sane-backends-1.0.19-r2 to add xinetd support
xinetd config file

Description Richard F. Ostrow Jr. 2010-05-25 17:52:40 UTC
sane-backends saned daemon is run via inetd (or xinetd). This ebuild patch adds support for xinetd by adding an appropriate config to /etc/xinetd.d, as well as reminding the administrator to configure /etc/sane.d/saned.conf to allow for remote access (the whole point of having an xinetd config).

Reproducible: Always
Comment 1 Richard F. Ostrow Jr. 2010-05-25 17:54:24 UTC
Created attachment 232901 [details, diff]
ebuild patch against media-gfx/sane-backends-1.0.19-r2 to add xinetd support

Adds xinetd support to the media-gfx/sane-backends-1.0.19-r2 ebuild
Comment 2 Richard F. Ostrow Jr. 2010-05-25 17:55:46 UTC
Created attachment 232903 [details]
xinetd config file

xinetd.d config file for the ebuild
Comment 3 Maxime de Roucy 2010-08-03 01:04:05 UTC
with xinetd USE flags the ebuild should also create a new "saned" user, member of the "scanner" group.

And pkg_postinst should talk about adding the saned daemon in /etc/hosts.allow and add the "saned" user in the "usb" group if the scanner is usb.
Comment 4 Patrick Kursawe (RETIRED) gentoo-dev 2012-10-06 22:17:21 UTC
Better late than never. Done in .23, thank you!