You are not logged in.
Hi,
happy to be wrong about this, but as far as I know there is no s6-init package in Devuan.. you can install the s6 package, but all the init integration is not provided, so you have to serve yourself.
According to https://www.devuan.org/os/init-freedom s6 is supported, but I cannot manage to select it.
That page says " either available or being considered for inclusion "; I think only runit and openrc are provided as alternative init *for now*
Lorenzo
Hi all,
an official package that contains runit services is finally available in unstable and testing.
Could be especially useful for runit-init users that are no expert or don't have the time
to write the scripts.
For now the number of scripts is limited [1] (other scripts will be added after
incoming Debian release); if a script for a service you are using is missing you can
file a wishlist bug report against the Debian package so that I can prioritize scripts
that are actually requested by users.
Also, reports or questions about the package are welcome too
To install just do
apt-get install runit-services
To understand how this package works I recommend to read
https://salsa.debian.org/Lorenzo.ru.g-g … ter/README
before installing.
Best,
Lorenzo
[1] available services are:
acpi-fakekey,
anacron
apache2
atd
chrony
cron
cups
dbus
dhclient
elogind
exim4
gdomap
haveged
isc-dhcp-server
lightdm
lircd
mariadb
mdadm
openntpd
postfix
preload
proftpd
rsyslog
sddm
slim
wicd
xdm
Hi,
scripts for avahi-daemon and avahi-dnsconfd have been added
to the latest orphan-sysvinit-scripts version (0.13)
Lorenzo
this behavior started since latest runit upgrade in ceres, so i thought i asked you first if it's connected to the latest upgrade somehow.. (?)
Humm .. if with the last upgrade you have 2.1.2-47 there are few changes that might impact boot scripts like
runit (2.1.2-46) experimental; urgency=medium
* ...
* ...
* Stage[1,3]: hook to experiment with alternative
sets of boot scripts. Only initscript are packaged
in Debian right now, but native sets of scripts
can be found downstream or on github.
* ...
but it's hard to trigger, you have to use an alternative set of boot scripts in the right directory and there must be a flag file..
I'm using initscript (from sysvinit package) to boot and shutdown the system: are you using a different set of scripts from somewhere else?
It might be that apparmor needs some initialization task or filesystem setup that are not done properly at boot.. just a random idea
Did you check the output of
/etc/init.d/apparmor status
?
and
/etc/init.d/apparmor start
or
/etc/init.d/apparmor restart
?
do you think i should file a bug in tor or apparmor in debian?
do you have any custom configuration on tor and/or on apparmor?
Before filing a bug report, I would try to remove + purge tor, then reinstall it and see if the problem persist;
then do the same (remove + purge) with apparmor and check again
EDIT
in case you have obfs4proxy installed, see also
https://bugs.debian.org/cgi-bin/bugrepo … ug=1004012
Hi,
I have tor running and it works as expected, but I don't have apparmor.
I tried to install apparmor and restart tor, and it seems to work so I can't reproduce.
( I can't reboot right now, will try later )
Do the following:
stop any running tor instance
update-service --remove /etc/sv/tor
/etc/init.d/tor stop
then try to start manually from a root console
/usr/bin/aa-exec --profile=system_tor -- /usr/bin/tor --defaults-torrc /usr/share/tor/tor-service-defaults-torrc --Log 'notice stdout' --RunAsDaemon 0 --verify-config
/usr/bin/aa-exec --profile=system_tor -- /usr/bin/tor --defaults-torrc /usr/share/tor/tor-service-defaults-torrc --Log 'notice stdout' --RunAsDaemon 0
does it give any error?
Hi,
I'm still affected in Debian, not sure exactly if it's a change in dbus or something else. Devuan is rebuilding dbus without systemd bits, so maybe that's why it's not affected? (just a wild guess)
In any case dbus is dropping privileges and run with the messagebus by itself, so the 'chpst -umessagebus' is useless, but as long as it doesn't cause harm..
Running xfce with lightdm here. What would you like me to check?
I'm with slim and LxQT. Not sure, as long as nobody complains, I'll just leave a warning here in case with a future upgrade things start to break.
Thanks
Lorenzo
(Ah! does 'wip' stand for 'work in progress', so that it doesn't match the real name?)
Exactly
As for a dependency, I see that the Man page for sv says that sv start is the same as sv up but that it waits for the command to take effect, calling the check script if present. This would seem to mean that sv start dbus is the same as sv up dbus && sv check dbus. I assume that the || exit 1 will cause Runit to recognise that the dependency has not started and retry later (1s ?).
Yes, that's the idea.
and have a check file :-
#!/bin/sh exec dbus-send --system / org.freedesktop.DBus.Peer.Ping > /dev/null 2> /dev/null
the one that I linked in salsa.debian.org does
#!/bin/sh
test -S /var/run/dbus/system_bus_socket && exit 0
exit 1
both are fine according to my testing
Thank you for all of your work on Runit.
Reports from tinkerers and users are very helpful to improve the package but sadly I get very few on Debian..
Also I read this forum rarely, so consider to use
reportbug runit
or send a ping if you want me to join a discussion
Lorenzo
Hi all,
Just a warning to runit init users, that the dbus runscript that I provided on this forum is now broken on Debian (at least for me) and I suspect the change will hit Devuan soon: synthoms are that dbus fails to start and everything that depends on it is broken (so your DE, login manager and other dbus services too will malfunction)
in short, if you are using a dbus runscript that has an exec line like
exec chpst -umessagebus dbus-daemon --system --nofork --nopidfile
I suggest to change it to
exec dbus-daemon --system --nofork --nopidfile
Using chpst seem to break recent version of dbus as it can't access to its own socket.
Dbus is able to drop privileges by itself.
Lorenzo
Hi Geoff 42,
The two problems that you identified are somehow real bug in the runit package, but
Replacing /etc/sv with /etc/service in /lib/runit/run_sysv_scripts did seem to have the expected result that disabling a service in Runit caused it to be started via /etc/rc2.d on a reboot.
I don't think this is a correct solution: especially with runit as init, if a user disables a service, it should not start. A native disabled service on a runit system should definitely not start automatically at boot (even with a sysv instance); it may be different in a sysv system that uses runit as a service manager.
So the bug here is that for now, there is no tool for the sysadmin to tell the system to disable a service with runit and also with sysv (and any other init supported): it would be a job for update-rc.d, I already sent patches but they were rejected for several reason and the bug report is stuck. I plan to fix this in runit 2.1.2-46 or maybe -47.
I suspect the /etc/sv is not the correct directory to check against, as the services here have not necessarily been enabled and indeed, people like me may not have finished setting up a service!
just use 'servicename-wip' and keep it disabled by default untill your service is ready for use.
As mentioned earlier there seem to be 2 different versions of this
sv start dbus
or
sv check dbus >/dev/null || exit 1
According to my testing
sv start dbus || exit 1
will do it, or alternatively you can
sv up dbus && sv check dbus || exit 1
but
sv check dbus >/dev/null || exit 1
will not always work as expected, because if the requested status is down sv check can exit 0,
so before you use check make sure to set the wanted status
Also, of all dependencies, dbus is not easy to get it right, because there is a relevant time since when it reports itself as 'up' and when
it actually finishes its initialization, so you need a check file, see
https://salsa.debian.org/runit-team/run … dbus/check
Also if you use dbus from there be aware that the exec line of dbus should be
exec dbus-daemon --system --nofork --nopidfile
without chpst. It used to work with chpst but it's broken since a recent upgrade in Debian
The other problem is that the sequencing may be wrong. So that if you have dbus set up to be run by runit and avahi has not yet been done, then avahi will fail as it will be started by run_sysv_scripts before runsv starts dbus. I am not sure what the answer might be for this.
Correct: my answer is to make native runit services available all at once, in a runit-services[1][2] package, especially services that are involved in a chain of dependency. Again, right now I'm stuck there too, but I hope it will get a sponsor in future. If not I may also consider a Devuan package if Devuan Devs allow me.
[1] https://bugs.debian.org/cgi-bin/bugrepo … bug=986656
[2] https://salsa.debian.org/runit-team/run … /tree/next (watch out, very experimental!)
[3] https://bugs.debian.org/cgi-bin/bugrepo … ug=1005309
Lorenzo
On the internet I found this https://github.com/cloux/aws-devuan/issues/1 but unfortunally the repos from cloudx are not longer valid.
try here
https://github.com/cloux/runit-base/tree/master/etc/sv
I noticed that the runit stage 1 is based on the execution of rcS.d/* what looks ok for me.
Will runit stop if some of those initscripts will fail?
Does it make sense to implement real runit stage 1 scripts?
As long as we use sysv's initscripts for boot it works exactly as in sysv: if something is really broken during boot you'll get an emergency shell, otherwise it will spit error messages on the console and try to proceed with the boot sequence.
Implement a set o runit boot-scripts is very low priority on my TODO list simply because the advantages are very few compared with the risk of regression. The amount of work required to have a runit boot-scripts that is on par with initscripts (works on several setups and all Debian arch, including non linux kernels) is too high and I'm focusing my work on other areas where with the same amount of work users will get far more concrete advantages.
Downstream like Devuan can use the BTS to request me to adjust the dependency in a way that makes it easier to experiment with their own set of bootscript, I would consider that a valid bug.
in the runit stage 2 every run script should check for depencies. sysvinit scripts contains a LSB header for facility. A sysvinit script could contain for example a $syslog facility that is resolvable with rsyslog or socklog.
what is the best way to transfer this to a runit init script?
Is it necessary to check for LSB facilities?
is it necessary to check for any possible facility e.g. that rsyslog has started OR socklog has started
or is there a common way to check for e.g a started $syslog daemon indepentely from the real installed syslog daemon?
Right now there is no such thing as facilities in runit (another valid bug on BTS). This on is on top of my TODO list and I need to sort it out before uploading the runit-services package. Runit doesn't need all sysv facilities, but it needs a facility when there are 2 or more alternative runit services that have to be checked for dependencies. Syslog is an excellent example.
And especially for $syslog; Is it necessary to check for it if there is a log/run script for the service?
Services that can log to stdout and use svlogd don't need to depend on syslog; same for services that have their own log system (like apache2). Simple rule of thumb: if there is a log/run that execs svlogd you don't need to depend on syslog.
Lorenzo
xinomilo wrote:btw, antix did some work on runit : https://www.antixforum.com/forums/topic … lseye-iso/
seems to use antix's own packages, not the debian way of mixing sysvinit/runit..
haven't seen it yet in action, will be trying the latest iso in the following days :
https://www.antixforum.com/forums/topic … available/antiX has had runit ISO's available for about a year now. It's blazing fast.
As soon as I have some extra time I'll try to provide scripts for those too, except udevd because I'm not 100% sure that it's safe to do all stage 3 with udev not running
Lorenzo
Update: I forked live-config to create live-config-runit which sets up console autologin in the live session. The code for that is in /lib/live/config/0190-runit. It works, but I did not replace the live-config init script with runscripts.
Today I tried making runscripts for live-config. It's set up as a one-shot, and it runs, but it does not run early enough. A comment in the init script says it must start before mountkernfs and in my sysvinit system, there is rcS.d/S01live-config which starts before S02mountkernfs. That link is not present in the runit system.
If it really need to run that early it need to be a script in /etc/rcS.d/ so keeping the sysvinit scripts is the most straightforward thing to do.
In case the sysvinit comment is wrong, and it can be run later, like after all the stuff in rcS.d, but before certain services (like gettys and login manager) you have two options:
ship as a sysv script, but in runlevel 2, and make sure that a runscript with the same name in /etc/sv/ never exists.
This way it is granted that your script runs before any native runscript (look at the code in stage 2)
have it as a oneshot runscript -- you need to convert the script into a proper runscript, and then have the gettys and the
login manager depends on that service. IMHO it doesn't worth the effort to have runscripts for services where there is nothing
to supervise (no longrun) as you are adding (uneeded?) complexity to achieve the same result as with a plain sysv script.
Anyway if someone is curious and wants to experiment, in runit, to do a oneshot, have a line in the run file that does
' sv one yourservicename' otherwise your service will keep restarting when it's done which is pointless.
Also you need to design some kind of readiness protocol, the easy way is to touch a file into run at the very end of your runscript, like
' touch /run/myservice.ok', then write the check file to test for the existence of myservice.ok and exit nonzero if it doesn't exists.
Then make all services that you want to run after yourservice depends on yourservice with a line like
' sv start yourservicename && sv check yourservicename || exit 1 '
As you see, if it's not for playing, the sysvinit script it's likely the option you want to chose
Hope the above answer your questions, it case it doesn't just ask again
Lorenzo
Are you using runit under SysVinit or are you using runit-init. With the latter you need to do some setting up of getty. When I do that in a VM under Xen, I have to set up a getty on hvc0 for the console.
Geoff
Hi,
[ also looking at the other thread https://dev1galaxy.org/viewtopic.php?id=3628&p=2 ]
The getty-run package ships with a getty-S0 on serial that is disabled by default. Enabling it is usually enough for other virtualization environment like Qemu or Docker, but I've never run Xen so I don't know.. is the getty on hvc0 a requirement for Xen, or anyway a commonly required feature?
If that is the case I can ship a getty on hvc0 too so that the only thing left to do is to enable it.
Let me know!
Thanks,
Lorenzo
Hi all,
Are these scripts ok and are they missing anything, in the right locations?
Runit services in Debian and Devuan are stored under /etc/sv/ so you want to have for example
/etc/sv/network-manager/run
My run dirs are named the same as the init script. I don't know if that matters.
Yes it matters: during the boot sequence a script starts all sysv script that are enabled in Sysv runlevel 2, but when
a runscripts in /etc/sv/ with the same name exists the script is skipped (as it will be managed by runit).
Having multiple instances of the same daemon can cause conflicts or other weird malfunctioning, I suggest to keep the
same name of the sysv script.
About the runscript:
#!/bin/sh -e
exec 2>&1
exec chpst -u root NetworkManager
I don't use networkmanager, so I'm not able to test it but there are a couple of things that seems wrong to me:
You need the --no-daemon option: as a general rule runit can't supervise a service that runs in background (or daemonize), you need to use an option to run in foreground;
Is there a reason why are you using chpst -u root ? The service is already run as root, there no need to use chpst here.
Same for the log service.
There is also another problem, network manager is a Dbus-service, so you technically need to specify the dependency of this service on Dbus. In your test case will work also without the dependency, because dbus is already started as sysv service, but if you are going to have dbus managed by runit, this one will fail to start.
Something like the following could work ( not tested)
#!/bin/sh -e
## uncomment the following if you have dbus as runit service
#sv start dbus && sv check dbus || exit 1
exec 2>&1
exec /usr/sbin/NetworkManager --no-daemon
Hope this helps,
Lorenzo
also tried a service from collection : haveged (thought i pick a simple one for starters), but not working succesfully..
gets timeout,
# sv start haveged
timeout: down: haveged: 7s, normally up
log :
2021-02-11_11:01:16.37237 invoke-run: ERROR -1 in haveged: runscript didn't exit normally
2021-02-11_11:01:16.37276 invoke-run: haveged : run exit code is -1
2021-02-11_11:01:16.37279 invoke-run: haveged stopped
Ah! I've squeezed my brain a over that -1 a little bit and I think i've found the culprit:
please remove the symlink and the diversion on the sysv script in /etc/init.d/haveged (restore the original script, no symlink to sv);
rm /etc/init.d/haveged
dpkg-divert --remove /etc/init.d/haveged
then restart haveged
sv e haveged
Is it working now?
Just for the records, I'm not trying to sell something that I don't use or that it's completely untested; from the system that i'm using for live testing
~$ pstree
runit─┬─agent───2*[{agent}]
├─alsa_in───3*[{alsa_in}]
├─alsa_out───3*[{alsa_out}]
├─at-spi-bus-laun─┬─dbus-daemon
│ └─3*[{at-spi-bus-laun}]
├─auditd───{auditd}
├─dbus-daemon
├─dbus-launch
├─dconf-service───2*[{dconf-service}]
├─dhclient───3*[{dhclient}]
├─firefox-esr─┬─Privileged Cont───24*[{Privileged Cont}]
│ ├─Web Content───27*[{Web Content}]
│ ├─Web Content───17*[{Web Content}]
│ ├─WebExtensions───22*[{WebExtensions}]
│ └─64*[{firefox-esr}]
├─gvfsd───2*[{gvfsd}]
├─kaccess───2*[{kaccess}]
├─kglobalaccel5───2*[{kglobalaccel5}]
├─polkitd───2*[{polkitd}]
├─qjackctl─┬─jackd───4*[{jackd}]
│ └─8*[{qjackctl}]
├─qterminal─┬─bash───pstree
│ └─6*[{qterminal}]
├─runsvdir─┬─runsv─┬─dbus-daemon
│ │ └─svlogd
│ ├─2*[runsv─┬─socklog]
│ │ └─svlogd]
│ ├─5*[runsv───fgetty]
│ ├─runsv─┬─slim─┬─Xorg───9*[{Xorg}]
│ │ │ └─lxqt-session─┬─lxqt-notificati───6*[{lxqt-notificati}]
│ │ │ ├─lxqt-panel───6*[{lxqt-panel}]
│ │ │ ├─lxqt-policykit-───4*[{lxqt-policykit-}]
│ │ │ ├─lxqt-powermanag───2*[{lxqt-powermanag}]
│ │ │ ├─lxqt-runner───2*[{lxqt-runner}]
│ │ │ ├─openbox───2*[{openbox}]
│ │ │ ├─ssh-agent
│ │ │ └─2*[{lxqt-session}]
│ │ └─svlogd
│ ├─2*[runsv]
│ ├─runsv─┬─acpid
│ │ └─svlogd
│ ├─runsv─┬─cat
│ │ └─svlogd
│ ├─runsv─┬─gdomap
│ │ └─svlogd
│ ├─2*[runsv───svlogd]
│ ├─runsv─┬─git-daemon
│ │ └─svlogd
│ ├─runsv─┬─ntpd───ntpd───ntpd
│ │ └─svlogd
│ ├─runsv─┬─postfix-script───master─┬─pickup
│ │ │ └─qmgr
│ │ └─svlogd
│ ├─runsv─┬─atd
│ │ └─svlogd
│ ├─runsv─┬─cupsd
│ │ └─logger
│ ├─runsv─┬─dnsmasq
│ │ └─svlogd
│ ├─runsv─┬─php-fpm7.4───2*[php-fpm7.4]
│ │ └─svlogd
│ ├─runsv─┬─svlogd
│ │ └─tor
│ ├─runsv─┬─mdadm
│ │ └─svlogd
│ ├─runsv─┬─haveged
│ │ └─svlogd
│ ├─runsv─┬─sshd
│ │ └─svlogd
│ ├─runsv─┬─mysqld───7*[{mysqld}]
│ │ └─svlogd
│ ├─runsv───run
│ ├─runsv─┬─apache2───5*[apache2]
│ │ └─logger
│ ├─runsv─┬─preload
│ │ └─svlogd
│ ├─runsv─┬─lircd───sh
│ │ └─svlogd
│ ├─runsv─┬─elogind
│ │ └─logger
│ ├─runsv─┬─svlogd
│ │ └─w───w
│ └─runsv─┬─cron
│ └─logger
├─smartd
├─superkaramba
├─systemd-udevd
├─udisksd───4*[{udisksd}]
├─upowerd───2*[{upowerd}]
└─xscreensaver───xscreensaver-sy
I'm working to provide ~50 services picked from the most popular (popcon) and the one that I think are used in servers.
Anyway live testing it is what it is, and I don't use all of 50 services in my pc of course, so reports of failure or success from people that actually use a service are very useful to determine which services are safe to include in a catch all package and which are not and need more work.
Lorenzo
sv says they are down but shows the pid and how long they've been running.
root@chimaera-2:/home/user# sv status cron down: cron: 24s, normally up; run: log: (pid 2038) 24s root@chimaera-2:/home/user# sv status anacron down: anacron: 34s, normally up; run: log: (pid 2042) 34s
Look carefully at the output: it says that cron is down since 24s; the appendant log service is running with PID 2038 since 24s.
when it's working sv will show the following
~# sv s cron
run: cron: (pid 6920) 969s; run: log: (pid 6919) 969s
'ps ax' says they are running but pstree does not.
'ps ax' shows the runsv monitor, but not the cron process. The correct output would be
~# ps ax | grep cron
[...]
6918 ? Ss 0:00 runsv cron
6919 ? S 0:00 logger -p daemon notice -t cron-run
6920 ? S 0:00 /usr/sbin/cron -f
[...]
So cron it's definitely not working for you ( the same script works for me so it's hard to tell what's wrong from here);
Anacron.. it's possibly working (see below)
What next?
If you have more time to spend in debugging I suggest the following:
Anacron:
it's a "one shot", it goes up and looks if there are tasks to do; when it's done it goes down. To check if it's working look at the appendant log
# cat /var/log/runit/anacron/current
if it works you'll see output similar to
2021-02-10_09:11:23.94073 Invoke-run: Starting anacron
2021-02-10_09:11:23.94277 Anacron 2.3 started on 2021-02-10
2021-02-10_09:11:23.94715 Normal exit (0 jobs run)
2021-02-10_09:11:23.96108 invoke-run: anacron stopped
2021-02-11_07:02:16.02720 Invoke-run: Starting anacron
2021-02-11_07:02:16.03099 Anacron 2.3 started on 2021-02-11
2021-02-11_07:02:16.03300 Will run job `cron.daily' in 5 min.
2021-02-11_07:02:16.03301 Jobs will be executed sequentially
2021-02-11_07:07:15.56730 Job `cron.daily' started
2021-02-11_07:19:35.70168 Job `cron.daily' terminated
2021-02-11_07:19:35.70172 Normal exit (1 job run)
2021-02-11_07:19:35.70406 invoke-run: anacron stopped
Cron:
try to comment the 'set -e' line in the run script and then do a full restart with
sv e cron
if it's working there is some command that is failing for you in the script, before the exec line.
you can turn on the verbose and debug mode in /etc/default/runit
verbose prints start and stop marker in logs (like 'invoke-run: starting cron');
debug prints in log the exit status of the run script; it can be cron's exit status or an shell exist status, it depends if it reaches the exec line or fails earlier (search for 'invoke-run: cron : run exit code is ')
Cron does not have it's own appendant log service because it only logs to syslog: search in the system log
there is a 'supervision tree log'. text there does not mean necessary an error, and is about every supervised service, but
it's worth looking
~# ps ax | grep runsvdir
1781 ? Ss 0:00 runsvdir -P /etc/service log: ...........................................................................................................................................................................................................................................................................................................................................................................................................
look for text in the dots, there is none for me right now
As a last resort try to run cron manually, to check if there is an issue with cron in your system
# /usr/sbin/cron -f
For now i don't have other ideas..
If someone wants to experiment with additional runscripts, see
https://dev1galaxy.org/viewtopic.php?id=3716
post #7
Lorenzo
Hi (runit maintainer here),
If i got it, runit defaults in sysvinit when it wont find runit scripts.
During boot it first run all sysv scripts in runlevel 2, but it skips those for which a native runscript that matches the basename exists.
Then it starts all native runscripts that are enabled.
For example if you have a /etc/sv/ssh runit service, than the SNNssh sysv service will be skipped.
----------------------
I found a page with runit runscripts scripts. Should i use those?-----------------------
those are quite old, but still a good starting point for experimenting.
I maintain a collection https://salsa.debian.org/runit-team/run … collection
but please everybody, CAUTION*, those are meant to be used with runit>=2.1.2-36 and anyway are somehow experimental.
I plan to upload a catchall package that will properly install those (and more) runscripts into the system, but
it's unrealistic to expect to see it land into unstable before summer 2021.
last thing, for the brave souls that are willing to experiment, i accept requests for adding new runscripts at the condition that the person that does the request is available to test and report if it's working
Best,
Lorenzo
*especially if you are running a desktop environment, you either want to have dbus, elogind and sddm|lightdm|slim|etc.. all as runscripts or all as sysv script. Mixing wont work an you'll end up with a VT login.
Just run into this thread by chance. There is very few interest in runit in Debian right now so maybe is convenient to drop some howto directly here where it looks there are people available to do some testing..
After the reboot when I login on tty1 and run startx, it shows tint2 panel and everything, but I can't move the mouse cursor, can't do anything with keyboard and the machine freezes!! Please help!
Yes, I've just confirmed that — the user must be in the input group if a display manager isn't used.
This permission issue is new to me but is bad enough that I need to double check if this can be reproduced in Debian and possibly fix there. I'm not sure though, could be also something that is caused by some Debian-Devuan delta.
When I ran `# apt install runit-init`, it said:
...
dpkg: sysvinit-core: dependency problems, but removing anyway as you requested:
init depends on sysvinit-core | runit-init: however:
Package sysvinit-core is to be removed.
Package runit-init is not installed.
...
Unpacking runit-init (2.1.2-36) ...
Setting up runit-init (2.1.2-36) ...
Besides sysvinit-core, was any other package removed?
I'm not surprised that Xorg is not working with runit, without elogind or any other means that gives permission on input devices to your user, but what puzzles me is how was working with sysvinit..
Lorenzo
Hi,
For now no, in future will be probably needed to avoid systemd lockin on certain Debian packages.
There is a commit [1] recently merged (but not yet uploaded to Debian archives) that makes opetmpfiles a dropin replacement to systemd-tmpfiles, so each package that has a dependency on systemd because of tmpfiles can use tmpfiles instead of systemd, if someone convince the maintainer of such package to change the dependency from 'systemd' to ' systemd | systemd-tmpfiles '.
Only example for now is the php7.x-fpm package that need a rebuild on Devuan right now, but will be installable once the new version of opentmpfiles will be uploaded.
Same goes for opensysusers package.
Regards,
Lorenzo
Hi Folks,
I'm running Debian Sid (without systemd), just want to give few info in the hope that are usefull:
I don't think you need to rebuild this package (althougth you are free to do so if you prefer).
I filed a bug for this with a patch
https://bugs.debian.org/cgi-bin/bugrepo … bug=952895
which was rejected because the maintainer wants opentmpfiles to be a drop in replacement to systemd-tmpfiles
https://bugs.debian.org/cgi-bin/bugrepo … bug=952897
wich will not happen before the tech commettee rules about this bug
https://lists.debian.org/debian-ctte/20 … 00003.html
Yeah...
But I mailed the php-fpm maintainer in private explaining that installing systemd will remove my desktop (because of elogind), so he added this commit
https://salsa.debian.org/php-team/php/- … e35adf50d4
In short, for now create a package that provides systemd-tmpfiles, depends on opentmpfiles and ships a symlink systemd-tmpfiles --> opentmpfiles-tmpfiles, wait for the next debian release of php7.x-fpm and it should work.
FPM starts logging this kind of thing to syslog:
[21-Feb-2020 16:22:59] NOTICE: systemd monitor interval set to 10000ms
I have this too but it looks it's working even if don't have systemd installed: it's not working for you?
Lorenzo