Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321473 - media-gfx/sane-backends: add xinetd support via USE flag
Summary: media-gfx/sane-backends: add xinetd support via USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-25 17:52 UTC by Richard F. Ostrow Jr.
Modified: 2012-10-06 22:17 UTC (History)
1 user (show)

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


Attachments
ebuild patch against media-gfx/sane-backends-1.0.19-r2 to add xinetd support (sane-backends-1.0.19-r2.ebuild.patch,1.13 KB, patch)
2010-05-25 17:54 UTC, Richard F. Ostrow Jr.
Details | Diff
xinetd config file (sane-port,150 bytes, text/plain)
2010-05-25 17:55 UTC, Richard F. Ostrow Jr.
Details

Note You need to log in before you can comment on or make changes to this bug.
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!