Description of problem: I have the following units in /etc/systemd/system: # cat sock1.socket [Unit] Description=sock1 [Socket] ListenStream=20000 Backlog=128 # cat sock2.socket [Unit] Description=sock2 [Socket] ListenStream=20001 Backlog=128 Service=foo.service # cat foo.service [Unit] Description=Storage Requires=sock1.socket sock2.socket [Service] Type=simple ExecStart=/bin/env StandardInput=null StandardOutput=syslog StandardError=inherit #Sockets=sock1.socket Sockets=sock1.socket sock2.socket Starting foo.service fails. Version-Release number of selected component (if applicable): systemd-22-1.fc15.x86_64 How reproducible: Always Steps to Reproduce: 1. Create units in /etc/systemd/system. 2. systemctl --system daemon-reload 3. systemctl start sock1.socket 4. systemctl start sock2.socket 5. systemctl start foo.service Actual results: foo.service: main process exited, code=exited, status=202 Expected results: Service should start. Additional info: It works fine if I use either sock1 or sock2, but not both.
Fixed in systemd git. Thanks!
systemd-24-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/systemd-24-1.fc15
systemd-24-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.