Bug 872872 - systemd unit file is strange
Summary: systemd unit file is strange
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: polipo
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bernard Johnson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-03 21:23 UTC by Tomasz Torcz
Modified: 2012-12-12 00:31 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-12 00:31:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
new polipo.service (292 bytes, text/plain)
2012-11-03 21:23 UTC, Tomasz Torcz
no flags Details
polip unit diff (519 bytes, patch)
2012-11-03 21:24 UTC, Tomasz Torcz
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.