Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[solved] Service does not start on Fedora 41 #381

Open
Shogu opened this issue Dec 17, 2024 · 6 comments
Open

[solved] Service does not start on Fedora 41 #381

Shogu opened this issue Dec 17, 2024 · 6 comments

Comments

@Shogu
Copy link

Shogu commented Dec 17, 2024

Hi!

On Fedora 41, psd.service fails to start:

systemctl --user start psd
Job for psd.service failed because the control process exited with error code.
See "systemctl --user status psd.service" and "journalctl --user -xeu psd.service" for details

Journal log is empty; here is the output of systemctl status:

systemctl --user status psd.service
× psd.service - Profile-sync-daemon
     Loaded: loaded (/usr/lib/systemd/user/psd.service; enabled; preset: disabled)
    Drop-In: /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: failed (Result: exit-code) since Tue 2024-12-10 11:46:13 CET; 51s ago
 Invocation: e4a32fb28fe44e15821223954c9863be
       Docs: man:psd(1)
             man:profile-sync-daemon(1)
             https://wiki.archlinux.org/index.php/Profile-sync-daemon
    Process: 5980 ExecStart=/usr/bin/profile-sync-daemon startup (code=exited, status=1/FAILURE)
   Main PID: 5980 (code=exited, status=1/FAILURE)
   Mem peak: 3.9M
        CPU: 125ms

déc. 10 11:46:13 ogu-fedora systemd[1228]: psd.service: Failed with result 'exit-code'.
déc. 10 11:46:13 ogu-fedora systemd[1228]: Failed to start psd.service - Profile-sync-daemon.

Thanks for your help!

Cheers

@Shogu Shogu changed the title Service do not start on Fedora 41 Service does not start on Fedora 41 Dec 17, 2024
@graysky2
Copy link
Owner

How did you install it and what is the dropin doing?

@Shogu
Copy link
Author

Shogu commented Dec 18, 2024

EDIT : solved!

I tried a lot, but it seems i have to use systemctl --user daemon-reload after installing psd from source to make it work.


(Previous message before resolution:)

Hi and many thanks for your diligence!

I installed it by the default way using dnf, then using this *rpm package, and finally from the source with make.

In each case the terminal returns this:

ogu@fedora-ogu:~/profile-sync-daemon$ psd
Profile-sync-daemon v6.51

 /usr/bin/psd [option]
  preview	Parse config file (/home/ogu/.config/psd/psd.conf) to see which profiles will be managed.
  clean		Clean (delete without prompting) ALL crashrecovery dirs for all profiles.

 It is HIGHLY DISCOURAGED to directly call /usr/bin/psd to sync, resync, or to unsync.

 Instead, use systemd to start/stop profile-sync-daemon.

 systemctl --user [option] psd
  start		Turn on daemon; make symlinks and actively manage targets in tmpfs.
  stop		Turn off daemon; remove symlinks and rotate tmpfs data back to disc.
  enable	Autostart daemon when system comes up.
  disable	Remove daemon from the list of autostart daemons.

ogu@fedora-ogu:~/profile-sync-daemon$ systemctl daemon-reload

ogu@fedora-ogu:~/profile-sync-daemon$ systemctl --user enable psd
Created symlink '/home/ogu/.config/systemd/user/default.target.wants/psd.service' → '/usr/lib/systemd/user/psd.service'.

ogu@fedora-ogu:~/profile-sync-daemon$ systemctl --user start psd
Job for psd.service failed because the control process exited with error code.
See "systemctl --user status psd.service" and "journalctl --user -xeu psd.service" for details.

ogu@fedora-ogu:~/profile-sync-daemon$ systemctl --user status psd
× psd.service - Profile-sync-daemon
     Loaded: loaded (/usr/lib/systemd/user/psd.service; enabled; preset: disabled)
    Drop-In: /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: failed (Result: exit-code) since Wed 2024-12-18 11:16:41 CET; 24s ago
 Invocation: 021a3c06c1174b1d92f0661155f9ca91
       Docs: man:psd(1)
             man:profile-sync-daemon(1)
             https://wiki.archlinux.org/index.php/Profile-sync-daemon
    Process: 5016 ExecStart=/usr/bin/profile-sync-daemon startup (code=exited, status=1/FAILURE)
   Main PID: 5016 (code=exited, status=1/FAILURE)
   Mem peak: 4.2M
        CPU: 57ms

déc. 18 11:16:41 fedora-ogu systemd[1191]: psd.service: Failed with result 'exit-code'.
déc. 18 11:16:41 fedora-ogu systemd[1191]: Failed to start psd.service - Profile-sync-daemon.

ogu@fedora-ogu:~/profile-sync-daemon$ journalctl --user -xeu psd.service
-- No entries --

@Shogu Shogu changed the title Service does not start on Fedora 41 [solved] Service does not start on Fedora 41 Dec 18, 2024
@graysky2
Copy link
Owner

Post the output of psd p

@Shogu
Copy link
Author

Shogu commented Dec 19, 2024

Thanks!
Here is the asked output 👍🏼

ogu@fedora-ogu:~$ psd p
Profile-sync-daemon v6.51

 systemd service: active
 resync-timer:    active
 sync on sleep:   disabled
 use overlayfs:   disabled

Psd will manage the following per /home/ogu/.config/psd/.psd.conf:

 browser/psname:  firefox/firefox
 owner/group id:  ogu/1000
 sync target:     /home/ogu/.mozilla/firefox/h12vhg1e.default-release
 tmpfs dir:       /run/user/1000/psd/ogu-firefox-h12vhg1e.default-release
 profile size:    220M
 backup limit:    2
 recovery dirs:   none

@graysky2
Copy link
Owner

Not sure why it's not starting. I assume you do not have firefox loaded when you attempt to start.

@Shogu
Copy link
Author

Shogu commented Dec 20, 2024

Yep Firefox was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants