Control: tags -1 moreinfo
Control: tags -1 patch
ping
> is this about "invoke-run: starting foo" message from
> invoke-run or something else?
> Do you have /etc/runit/verbose file? If so, invoke-run can be changed
> so that a different path (inside /home/$user/) is tested for user
> services
did I understand your issue, or it was something else?
if it's the invoke-run message, this patch could fix it
--- /lib/runit/invoke-run 2026-05-16 01:58:01.000000000 +0200
+++ /lib/runit/invoke-run-new 2026-08-14 09:07:51.911557587 +0200
@@ -91,17 +91,19 @@
fi
fi
-if [ -e /etc/runit/verbose ]; then
- echo "invoke-run: starting ${PWD##*/}"
-fi
-
if [ -n "$RUSER" ] ; then #user services
+ if [ -e /home/"$RUSER"/.runit/verbose ]; then
+ echo "invoke-run: starting ${PWD##*/}"
+ fi
if [ -n "$RENV" ]; then
exec chpst ${RENV:-} -- /bin/sh "${PWD}"/run
else
exec /bin/sh "${PWD}"/run
fi
else #root/system wide services
+ if [ -e /etc/runit/verbose ]; then
+ echo "invoke-run: starting ${PWD##*/}"
+ fi
if [ -d "${PWD}/env" ] ; then
exec chpst -e "${PWD}/env" -- /bin/sh "${PWD}"/run
else
>
> > Even if there were, the idiom
> > would be unclear because does one naturally want to override it on
> > or off?
>
> for system-wide services the default is not verbose, one has to touch
> the file to get the "invoke-run: starting foo" message
>
> >
> > Another approach might be for an individual runscript to be able to
> > do it when it's not appropriate for that service, but that is not
> > obviously how to implement either.
> >
> > (My example is mbsync from the isync package. I have not
> > investigated runit-cron-snooze but it would not be suitable for me
> > because I do not wish to replace proper cron!)
>
> I don't know the isync package but, in case it helps, you can use
> snooze + runit to get a "timer-like" service without the
> runit-cron-snooze package.
>
> Best,
> Lorenzo
>
> >
> > Minor issue.
> >
> > Thanks!
> >
> >
> > -- System Information:
> > Distributor ID: Devuan
> > Description: Devuan GNU/Linux 7 (freia/ceres)
> > Release: 7
> > Codename: freia ceres
> > Architecture: x86_64
> >
> > Kernel: Linux 7.1.3+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
> > Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
> > LANGUAGE=en_GB:en Shell: /bin/sh linked to /usr/bin/dash
> > Init: runit (via /run/runit.stopit)
> > LSM: AppArmor: enabled
> >
> > Versions of packages runit depends on:
> > ii libc6 2.42-17
> > ii runit-helper 2.16.7
> > ii sysuser-helper 1.6.0
> >
> > Versions of packages runit recommends:
> > ii runit-init 2.3.1-4
> >
> > Versions of packages runit suggests:
> > ii runit-services 0.13.0
> > ii socklog 2.1.2+repack-3
> > pn ucspi-unix <none>
> > ii xchpst 0.8.5-1
> > ii zsh 5.9.2-1
> >
> > -- no debconf information