Forums before death by AOL, social media and spammers... "We can't have nice things"
|    linux.debian.bugs.dist    |    Ohh some weird Debian bug report thing    |    28,835 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 27,036 of 28,835    |
|    Lee Garrett to All    |
|    Bug#1127602: onedrive: log spam after pu    |
|    10 Feb 26 11:00:01    |
      From: debian@rocketjump.eu              Package: onedrive       Version: 2.5.4-1       Severity: normal       X-Debbugs-Cc: debian@rocketjump.eu              Hi,              after purging the package, the onedrive service is still running in the user       instance, and as such will be restarted every 3 seconds and spam the logs:              Feb 10 10:32:00 myws systemd[1692]: Started onedrive.service - OneDrive Client       for Linux.       Feb 10 10:32:00 myws (onedrive)[24933]: onedrive.service: Unable to locate       executable '/usr/bin/onedrive': No such file or directory       Feb 10 10:32:00 myws (onedrive)[24933]: onedrive.service: Failed at step EXEC       spawning /usr/bin/onedrive: No such file or directory       Feb 10 10:32:00 myws systemd[1692]: onedrive.service: Main process exited,       code=exited, status=203/EXEC       Feb 10 10:32:00 myws systemd[1692]: onedrive.service: Failed with result       'exit-code'.       Feb 10 10:32:02 myws systemd[12479]: Started onedrive.service - OneDrive       Client for Linux.       Feb 10 10:32:02 myws (onedrive)[24940]: onedrive.service: Unable to locate       executable '/usr/bin/onedrive': No such file or directory       Feb 10 10:32:02 myws (onedrive)[24940]: onedrive.service: Failed at step EXEC       spawning /usr/bin/onedrive: No such file or directory       Feb 10 10:32:02 myws systemd[12479]: onedrive.service: Main process exited,       code=exited, status=203/EXEC       Feb 10 10:32:02 myws systemd[12479]: onedrive.service: Failed with result       'exit-code'.       Feb 10 10:32:03 myws systemd[1692]: onedrive.service: Scheduled restart job,       restart counter is at 201.       Feb 10 10:32:03 myws systemd[1692]: Starting onedrive.service - OneDrive       Client for Linux...       Feb 10 10:32:05 myws systemd[12479]: onedrive.service: Scheduled restart job,       restart counter is at 105.       Feb 10 10:32:05 myws systemd[12479]: Starting onedrive.service - OneDrive       Client for Linux...              This is due to the fact that the user instance of the service is still       attempted       to run, but the binary is not there anymore.              Steps to reproduce:       1) install onedrive (duh)       2) reboot       3) log in to your desktop environment (e.g. gnome)       4) apt purge onedrive       5) notice the output above in `journalctl -f`       6) systemctl status --user onedrive returns a failed service              I was able to fix it by running `systemctl --user daemon-reload`.              I'm unsure how to best fix this, since I'm not aware of a way to trigger this       for every user on the system via postrm script. But maybe the next best thing       is              ```       ExecCondition=/usr/bin/test -x /usr/bin/onedrive       ```              since this will prevent the restart logic from catching on.              Regards,       Lee                     -- System Information:       Debian Release: 13.3        APT prefers stable-updates        APT policy: (1001, 'stable-updates'), (1001, 'stable-security'), (1001,       'proposed-updates'), (1001, 'stable')       Architecture: amd64 (x86_64)              Kernel: Linux 6.12.63+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)       Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),        ANGUAGE=en_US:en       Shell: /bin/sh linked to /usr/bin/dash       Init: systemd (via /run/systemd/system)       LSM: AppArmor: enabled              Versions of packages onedrive depends on:       ii init-system-helpers 1.69~deb13u1       ii libc6 2.41-12+deb13u1       ii libcurl4t64 8.14.1-2+deb13u2       ii libgcc-s1 14.2.0-19       ii libglib2.0-0t64 2.84.4-3~deb13u2       ii libnotify4 0.8.6-1       ii libsqlite3-0 3.46.1-7       ii zlib1g 1:1.3.dfsg+really1.3.1-1+b1              onedrive recommends no packages.              onedrive suggests no packages.              -- no debconf information              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca