Bug 872872

Summary: systemd unit file is strange
Product: [Fedora] Fedora Reporter: Tomasz Torcz <tomek>
Component: polipoAssignee: Bernard Johnson <bjohnson>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: bjohnson, grawity
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-12 00:31:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
new polipo.service
none
polip unit diff none

Description Tomasz Torcz 2012-11-03 21:23:54 UTC
Created attachment 637699 [details]
new polipo.service

Description of problem:
Arch people noticed that polipo's unit file shipped by Fedora is quite peculiar. It launches daemon, but with type=oneshot and RemainAfterExit=true; this combination is not for long running daemons and may stop working in the future.

Proper solution is to declare Type=forking; then you can drop RemainAfterExit.

While we are at it, why not add one line for graceful reload?

And some lines with pointers to documentation?

And finally, syslog is always available, drop it too.

Attached is new unit file and diff against shipped one.


Version-Release number of selected component (if applicable):
polipo-1.0.4.1-8.fc18.x86_64

Comment 1 Tomasz Torcz 2012-11-03 21:24:24 UTC
Created attachment 637700 [details]
polip unit diff

Comment 2 Fedora Update System 2012-12-03 02:24:57 UTC
polipo-1.0.4.1-9.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/polipo-1.0.4.1-9.fc18

Comment 3 Fedora Update System 2012-12-03 21:39:49 UTC
Package polipo-1.0.4.1-9.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing polipo-1.0.4.1-9.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-19595/polipo-1.0.4.1-9.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-12-12 00:31:24 UTC
polipo-1.0.4.1-9.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.