Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458472 - media-gfx/sane-backends - (openrc compatible) init script for saned
Summary: media-gfx/sane-backends - (openrc compatible) init script for saned
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-20 15:01 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2013-03-15 08:19 UTC (History)
0 users

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


Attachments
sane-backends.ebuild.diff (sane-backends.ebuild.diff,1.69 KB, patch)
2013-02-20 15:01 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-02-20 15:01:27 UTC
Created attachment 339502 [details, diff]
sane-backends.ebuild.diff

Hi,

please find attached a patch to add an openrc compatible init script for saned to run in standalone mode.
The attached patch contains another patch for saned to alter pidfile location to a place where saned can write its pidfile even with dropped root privileges.

The attached patch consists of
  -the above mentioned patch for saned
  -an init script
  -a conf.d file
  -an ebuild patch for sane-backends-1.0.23.ebuild

The conf.d file can be used to define a user saned should run as.
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2013-03-15 08:19:37 UTC
Thank you.