Hello,
About 2 months ago, I had setup a user-level systemd service in ~gg/.config/systemd/user/archive-watch.service and it had worked fine until yesterday when it suddenly stopped. When I noticed something was wrong, I logged in to try to restart the service, I received this error:
systemctl --user restart archive-watch.service Failed to connect to user scope bus via local transport: Connection refused
The time that things stopped working was some time before: https://time.is/compare/0200PM_26_Feb_2026_in_Tokyo 3 hours prior to this, things were still fine.
Another strange thing I noticed was that the byobu/tmux session that was automatically created for me when I first logged in to tilde.club was gone. This is not a big deal, but it was surprising. I thought that maybe the system was rebooted recently, but that was not the case.
Anyway, any help getting user-level systemd services working again would be appreciated.
Thanks.
On Fri, 27 Feb 2026 19:50:06 +0900 gg@tilde.club wrote:
About 2 months ago, I had setup a user-level systemd service in ~gg/.config/systemd/user/archive-watch.service and it had worked fine until yesterday when it suddenly stopped. When I noticed something was wrong, I logged in to try to restart the service, I received this error:
If you don't mind sharing, what does this service do?
FYI, I've seen this on Linux VMs in my work life; typically, it's related to a startup race between systemd and the authentication system, and just restarting systemd (the entire service) resolves it.
On Sun, Mar 1, 2026 at 11:26 PM vort3 vort3@tilde.club wrote:
On Fri, 27 Feb 2026 19:50:06 +0900 gg@tilde.club wrote:
About 2 months ago, I had setup a user-level systemd service in ~gg/.config/systemd/user/archive-watch.service and it had worked fine until yesterday when it suddenly stopped. When I noticed something was wrong, I logged in to try to restart the service, I received this error:
If you don't mind sharing, what does this service do?
On Mon, Mar 02, 2026 at 09:25:55AM +0500, vort3 wrote:
On Fri, 27 Feb 2026 19:50:06 +0900 gg@tilde.club wrote:
About 2 months ago, I had setup a user-level systemd service in ~gg/.config/systemd/user/archive-watch.service and it had worked fine until yesterday when it suddenly stopped. When I noticed something was wrong, I logged in to try to restart the service, I received this error:
If you don't mind sharing, what does this service do?
The service runs this script: https://git.vern.cc/gg/WeatherNews.jl/src/branch/main/bin/archive-watch.sh which in turn runs this script: https://git.vern.cc/gg/WeatherNews.jl/src/branch/main/bin/archive-process.pl
It watches a directory for small JSON files that are written to it periodically through the day via various cron jobs. The data in those JSON files is used to update a small SQLite database. It does work about 2 or 3 times an hour, and it's idle the rest of the time. It's fairly light on resources.
On Fri, 27 Feb 2026 gg wrote:
About 2 months ago, I had setup a user-level systemd service in ~gg/.config/systemd/user/archive-watch.service and it had worked fine until yesterday when it suddenly stopped. When I noticed something was wrong, I logged in to try to restart the service, I received this error:
systemctl --user restart archive-watch.service Failed to connect to user scope bus via local transport: Connection refused
From what I know, ~deepend has discontinued the enabled-by-default policy for user-level SystemD services on Tilde.club [1]; apparently because services running from this have been semi-regularly causing system load level to go out of hand for a while now.
If you need to continue running daemon via this facility, just know that it's now an opt-in that's granted on case-by-case basis: email ~deepend if you would like to apply.
Regards, ~xwindows
[1] If you have IRC log of #club IRC channel on Newnet.net IRC network; see the announcement at 2026-02-26T04:14Z or 2026-02-27T21:59Z - 2026-02-27T22:10Z.
On Tue, Mar 03, 2026 at 11:09:46AM +0700, xwindows wrote:
If you need to continue running daemon via this facility, just know that it's now an opt-in that's granted on case-by-case basis: email ~deepend if you would like to apply.
Thanks for letting me know. I will contact ~deepend and see what he thinks.
tildeclub@lists.tildeverse.org