libera/#devuan-dev/ Friday, 2021-06-11

bgstack15Good news! It appears that building python3-ipalib without systemd is possible with very minor adjustments. I'm sending it up to jenkins now.15:37
bgstack15Team, the `systemctl` replacement script exists in the `devuan-sanity` source package but maybe we should change the package name so we avoid appearance of insulting systemd. Everyone knows we don't like systemd, so we should be polite when we offer alternatives.17:25
LeePenI agree. And I have pushed bgstack15 into this (for which, apologies).17:27
LeePenMy personal view is that we should avoid language which embodies judgements17:28
LeePenThe systemctl replacement script is not Devuan specific.17:30
LeePenAnd everybody in Devuan is already sane17:32
onefangOnly one of the voices in my head is sane.17:32
LeePenListen to that one then ;)17:33
bgstack15onefang: How do we know we are chatting with the right one?17:36
onefangCoz the one fang is the one on the right.17:36
fsmithredis there anything else in that package? vimrc?18:15
LeePenfsmithred: No. There is a devuan-sanity package in experimental18:17
LeePenwith .vimrc18:18
LeePenhttps://pkginfo.devuan.org/cgi-bin/package-query.html?c=package&q=devuan-sanity=0.0.118:18
fsmithredso what's the new package called?18:18
LeePenIt appears to come from https://git.devuan.org/devuan/sanity18:18
LeePenATM devuan-sanity-systemctl, which I would like to change.18:20
LeePenAnd bgstack15 is tolerating my pickiness!18:20
fsmithredyeah, I'd be happy with a different name18:21
fsmithredif anyone wants a logical argument for that, "devuan-sanity" is already taken, and it's for replacing config files with better defaults.18:21
fsmithredeloginctl?18:22
fsmithredgreybeardctl18:22
LeePensystemctl-service-shim18:22
adam_free2airsystemctl-mock18:23
LeePenadam_free2air: SGTM18:23
LeePenbgstack15: Like any of these ^^^18:24
LeePen?18:24
fsmithredis it sysv-specific, or will it work with other inits?18:25
fsmithredsysvctl?18:25
fsmithredif that doesn't already exist18:25
LeePenbgstack15 can be more specific, but it translated systemctl to service and update-rc.d commands18:25
fsmithredservicectl/18:26
fsmithred?18:26
fsmithredthat looks ugly, even without the slash18:26
LeePenSo, I now wonder if we should add it to init-system-helpers package (which is already forked).18:27
LeePenHmmmm18:27
fsmithredhow does it compare to deb-systemd-helper?18:31
fsmithrednm, deb-systemd-helper is not to be used by users18:33
adam_free2airmocking systemctl is more polite than inferring it insane ;)18:34
LeePenfsmithred: Yes, it is just for maintscripts.18:34
fsmithredthat package seems like a good place to put the new script18:35
LeePenYes. Sorry to have been slow and not thought about it before.18:35
fsmithredyou're not the slowest one around here18:36
LeePenbgstack15: What do you think?18:36
bgstack15maybe systemctl-service-shim19:38
LeePenbgstack15: OK.19:39
LeePenAre you happy with it going in src:init-system-helpers?19:39
bgstack15So what the script does is transliterates systemctl start/stop/restart/enable into the real "service [foo] start" and "update-rc.d enable" commands19:39
bgstack15init-system-helpers; not directly familiar with that yet. Let me inspect that.19:40
bgstack15Is that a required package for Devuan?19:40
bgstack15I'm not sure this is ready for 100% saturation of the Devuan community; just those who like to tinker.19:40
bgstack15This script isn't ready for warranties yet.19:40
LeePenThat is the source package. It builds init and init-system-helpers (which contains service, invoke-rc.d, update-rc.d)19:41
LeePenI think we would put it in a separate binary package within that src.19:42
bgstack15I would prefer that we have easy access to update this script when we learn its weaknesses outside of just my own environment.19:43
bgstack15If it's in a larger source package it could be difficult.19:44
bgstack15It's not actually a part of that init thing.19:44
bgstack15Oh snap, yeah, there is no way I can recommend we place my systemctl translator in that package!19:45
LeePenOK, then just do a systemctl-service-shim source package that produces a single binary.19:47
bgstack15OK19:48
LeePenI notice you have /usr/sbin/systemctl but a man1 manpage. Should be /usr/bin.19:48
LeePenI think that is where systemd systemctl goes.19:48
bgstack15Oh the location of my systemctl is actually extremely important.19:54
bgstack15Some things look for /usr/bin/systemctl and get stuck in a permanent loop calling /usr/bin/systemctl which calls the service script which calls /usr/bin/systemctl which calls...19:55
bgstack15Would you find it acceptable if I just move it to a man8 page?19:55
LeePenFrom a consistency perspective it is fine.19:57
LeePenSo other packages that want /usr/bin/systemctl can't use your script?19:58
bgstack15Yes, things that will look for /usr/bin/systemctl will fail. In my limited experience I've only ever seen "systemctl" be hardcoded into stuff, not /usr/bin/systemctl.20:18

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!