Description of problem: I have 2 service files: ups-driver.service and ups-daemon.service Driver should start when starting daemon and should stop when stopping daemon. Right now, it is started automatically when starting daemon, but it does not stop after daemon is stopped. There is also unexpected systemd message about stopping driver when daemon is started. Version-Release number of selected component (if applicable): systemd-26-1.fc15.x86_64 How reproducible: always Steps to Reproduce: 1.you need configured nut and nut-client 2. cat /lib/systemd/system/ups-driver.service [Unit] Description=Network UPS Tools - driver After=local-fs.target network.target StopWhenUnneeded=yes [Service] ExecStart=/sbin/upsdrvctl start ExecStop=/sbin/upsdrvctl stop Type=forking 3.cat /lib/systemd/system/ups-daemon.service [Unit] Description=Network UPS Tools - daemon After=local-fs.target network.target ups-driver.service Requires=ups-driver.service [Service] EnvironmentFile=/etc/sysconfig/ups ExecStart=/usr/sbin/upsd $UPSD_OPTIONS Type=forking [Install] WantedBy=multi-user.target 4.systemctl --system daemon-reload 5.systemctl start ups-daemon.service -> both ups-driver and ups-daemon are running, but /var/log/messages contains odd messages from systemd: 14:08:42 systemd[1]: Service ups-driver.service is not needed anymore. Stopping. 14:08:42 krles systemd[1]: Requested transaction contradicts existing jobs: File exists 14:08:42 usbhid-ups[3903]: Startup successful 14:08:42 systemd[1]: Service ups-driver.service is not needed anymore. Stopping. 14:08:42 systemd[1]: Requested transaction contradicts existing jobs: File exists 14:08:42 upsd[3904]: listening on 127.0.0.1 port 3493 14:08:42 upsd[3904]: listening on ::1 port 3493 14:08:42 upsd[3904]: Connected to UPS [myups]: usbhid-ups-myups 14:08:42 upsd[3905]: Startup successful (usbhid-ups is started by upsdrvctl from usp-driver.service) 6.systemctl stop ups-daemon.service 7.systemctl status ups-driver.service Actual results: ups-driver running: ups-driver.service - Network UPS Tools - UPS information server Loaded: loaded (/lib/systemd/system/ups-driver.service) Active: active (running) since Thu, 12 May 2011 14:08:42 +0200; 2min 32s ago Process: 3901 ExecStart=/sbin/upsdrvctl start (code=exited, status=0/SUCCESS) Main PID: 3903 (usbhid-ups) CGroup: name=systemd:/system/ups-driver.service └ 3903 /sbin/usbhid-ups -a myup there are no extra messages in /var/log/messages, just ups-daemon messages about termination Expected results: ups-driver stopped Additional info:
ping, is additional info required?
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Fixed upstream: http://cgit.freedesktop.org/systemd/commit/?id=f60c2665f9ba1dd4a6b4a36b2e8195482ada9957 http://cgit.freedesktop.org/systemd/commit/?id=cd0504d0a13d8297b97c9238fd1b94b4141c5aa8
systemd-37-6.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/systemd-37-6.fc16
Package systemd-37-6.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing systemd-37-6.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-0409/systemd-37-6.fc16 then log in and leave karma (feedback).
Package systemd-37-7.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing systemd-37-7.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-0409/systemd-37-7.fc16 then log in and leave karma (feedback).
systemd-26-14.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/systemd-26-14.fc15
Package systemd-37-8.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing systemd-37-8.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-0409/systemd-37-8.fc16 then log in and leave karma (feedback).
systemd-37-11.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
systemd-26-14.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.