Powersave mode extrem
-
-
@Moem you might wanna know that more applications does this daemon copy thing and after uninstall the service is there https://codeberg.org/tautologia/ubconnect/src/branch/master/ubconnect/daemon/install.sh
for example that smartwatch app -
@uxes Thank you for the hint... I took a leap of faith and ran
systemctl --user stop ubconnect-daemon.serviceand got a command prompt... no errors. I took this as encouragement and ransystemctl --user disable ubconnect-daemon.serviceand it told me something with UBconnect in it was removed. I think that was probably useful!As for smartwatch apps, I'm still using those, so they can stay.
-
I was monitoring the journal with “sudo journalctl -f” while I turned the Wi-Fi on and off. I noticed that when turning on the Wi-Fi, a connection attempt by the daemon fails.
sudo journalctl -f
Mai 20 19:14:25 ubuntu-phablet systemd[2850]: ubconnect-daemon.service: Main process exited, code=exited, status=1/FAILUREMai 20 19:14:25 ubuntu-phablet systemd[2850]: ubconnect-daemon.service: Failed with result 'exit-code'.Mai 20 19:14:30 ubuntu-phablet systemd[2850]: ubconnect-daemon.service: Scheduled restart job, restart counter is at 89.Mai 20 19:14:30 ubuntu-phablet systemd[2850]: Started ubconnect-daemon.service - UB Connect Daemon.Mai 20 19:14:30 ubuntu-phablet aa-exec[5041]: [5041] aa-exec: ERROR: Failed to execute "/opt/click.ubuntu.com/ubconnect/current/usr/bin/ubconnect-daemon": No such file or directoryMai 20 19:14:30 ubuntu-phablet systemd[2850]: ubconnect-daemon.service: Main process exited, code=exited, status=1/FAILUREMai 20 -
dekko does it too.
IIRC every app that is installing a systemd service I have looked at don't remove it when uninstalled. -
-
Run the following commands in the Terminal.
systemctl --user stop ubconnect-daemon.service systemctl --user disable ubconnect-daemon.service rm -f ~/.config/systemd/user/ubconnect-daemon.service systemctl --user daemon-reload systemctl --user status ubconnect-daemon.serviceresult:
Unit ubconnect-daemon.service could not be found. -
@Linus67 As I said, the first two were what I did, after figuring out they might be helpful.
Can I be a little proud of myself for figuring that out? I'm not a terminal user at all. -
rm -f ~/.config/systemd/user/ubconnect-daemon.service
Thanks to this hint, I knew where to find it and removed it using the file manager.
All clear now!The advantage of using the GUI in this case was that it showed me what else lived there. There was another daemon that was no longer needed. So that was helpful.
-
@gpatel-fr yes that is just missing thing of click packages since they don’t have some kind of postinstall and postuninstall hooks to insert and remove those systemd services
-
It's a feature, taken from the click documentation:
4.3.2 Specification • Only system packages (i.e. .debs) may declare hooks. Click packages must be declarativeinclude code executed outside AppArmor confinement, which precludes declaring hooks.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
