[Bug 938663] New: systemctl --user Failed to issue method call: Process org.freedesktop.systemd1 exited with status 1
http://bugzilla.opensuse.org/show_bug.cgi?id=938663 Bug ID: 938663 Summary: systemctl --user Failed to issue method call: Process org.freedesktop.systemd1 exited with status 1 Classification: openSUSE Product: openSUSE 13.1 Version: Final Hardware: x86-64 OS: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: surf3r0@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 641340 --> http://bugzilla.opensuse.org/attachment.cgi?id=641340&action=edit Dmesg after a fresh boot w/ the older systemd package The last upgrade of the openSUSE 13.1, the systemd package was update from systemd-208-32.1.x86_64 to systemd-208-35.1.x86_64. After it I wasn't able to start a custom made script to start syncthing application (the script is attached to this bug report). I was getting: $ systemctl --user start syncthing Failed to issue method call: Process org.freedesktop.systemd1 exited with status 1 Then I've downgraded the systemd package back to systemd-208-32.1.x86_64 and then I was able to use systemctl --user again. I had attached to this message a fresh boot dmesg, using the older systemd package. If more information are necessary please let me know. Happy bug hunting! The systemd user script: [Unit] Description=Syncthing service for %i After=network.target [Service] User=%i Environment=STNORESTART=yes GOCG=25 ExecStart=/usr/bin/nice -18 /usr/bin/ionice -c3 /opt/syncthing-linux-amd64-v0.10.22/syncthing Restart=on-success SuccessExitStatus=3 [Install] WantedBy=multi-user.target -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=938663
http://bugzilla.opensuse.org/show_bug.cgi?id=938663#c1
--- Comment #1 from Leonardo Mattos
http://bugzilla.opensuse.org/show_bug.cgi?id=938663
Leonardo Mattos
http://bugzilla.opensuse.org/show_bug.cgi?id=938663
http://bugzilla.opensuse.org/show_bug.cgi?id=938663#c3
Leonardo Mattos
Try latest systemd-210 from project Base:System:Legacy
Beside this there is no need to use /usr/bin/nice -18 nor /usr/bin/ionice -c3 but simply Nice= IOSchedulingClass= IOSchedulingPriority= CPUSchedulingPolicy= [...] compare with man:systemd.exec(5)
It worked. I did upgrade systemd: $ sudo rpm --query --all|grep -i systemd systemd-sysvinit-210-31.1.x86_64 systemd-bash-completion-210-31.1.noarch systemd-presets-branding-openSUSE-0.3.0-3.4.1.noarch systemd-rpm-macros-2-35.1.noarch systemd-32bit-208-35.1.x86_64 systemd-210-31.1.x86_64 from http://download.opensuse.org/repositories/Base:/System:/Legacy/openSUSE_13.1... and now I'm able again to run systemctl --user startup scripts: $ systemctl --user status syncthing syncthing.service - Syncthing service for Loaded: loaded (/etc/systemd/user/syncthing.service; enabled) Active: active (running) since Wed 2015-07-22 17:27:19 BRT; 11min ago Main PID: 3666 (syncthing) CGroup: /user.slice/user-1000.slice/user@1000.service/syncthing.service └─3666 /opt/syncthing-linux-amd64-v0.10.22/syncthing Nice. Thank you! As I can see we have two workaround while the solution is not pushed to main repos. Upgrade systemd to 210-31 (from Base:System:Legacy) or downgrade to 208-35.1 (from main repos). And thank you for the information about the passing priorities to systemd. Although I still prefer using the way I'm doing because it keeps compatibility with others OSes startup scripts. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com