libera/#devuan-dev/ Monday, 2018-10-22

mtnmanhelo.  is it worth filing a bug against a devuan irc client package that instructs to join #debian?01:39
golinuxIt would be worth it for you to fix the text and rebuild the package.  ;)01:42
Xenguymtnman: If you can't fix it yourself, you should file a bug report, yup01:47
mtnmanthanks Xenguy.  i suppose i could patch it.02:07
XenguyBug reporting is incredibly useful02:07
mtnmanalmost as useful as patching, i suppose....02:07
mtnmanand submitting it, that is.02:08
golinuxProblem is that there are quite a few instances like that and a low priority in the scheme of things02:10
golinuxNo not as useful.  Priority is so low, it may never get done02:10
golinuxunless someone steps up who thinks it's important.02:11
golinuxDoesn't hurt to report of course.02:11
mtnmanthis is obvioulsly a low priority bug. i did not want to waste anyone's time if it is deemed unimportant.02:17
golinuxDoesn't hurt to have it there but requires someone to fork and maintain that pkg from release to release.02:18
golinuxLike the printouts in cups referring the Debian.02:19
golinuxIs it worth forking all of cups for that cosmetic correction?02:19
mtnmani haven't run cups on devuan, but that is certainly a similar situation.02:20
mtnmani suppose it could become an issue if people started showing up on #debian and asking questions about devuan.02:22
Xenguyhehe02:29
XenguyI'm sure they would be amused by that02:29
mtnmani've seen plenty of people get abused for asking about unbuntu, etc...02:30
XenguyBut strictly speaking it's a question for #devuan02:30
XenguyWell yeah, wrong channel, etc.02:30
Xenguygolinux: There's probably a way to solve the issue programmatically02:32
XenguyBut what priority, yes02:32
mtnmanperhaps a special priority could be created for such cases.02:32
Xenguynotabug-wontfix02:33
mtnmanheh02:34
golinuxIt's been discussed but again low priority.02:55
golinuxXenguy: Feel free to step up and create the program to do that.02:56
Xenguygolinux: Of course, that is the FOSS way02:57
XenguyI do not disagree02:57
XenguyIt seems to me it might be a simple search and replace...  but how that fits into a build system, I'm not sure at all02:58
XenguyI'm not factoring in any copyright considerations either02:59
onefangIf it's a default config change, then that's the sort of thing devuan-sanity is for.  I think that's the name.06:49
onefangI just got home, and mtnman, who asked the question, is long gone.06:51
golinuxWas devuan-sanity ever realized and implemented?  I don't remember much ever happening with it beyond wishful thinking.07:37
rrqthere is a devuan-sanity in experimental/main .. version 0.0.108:01
KatolaZonefang: you here?09:45
* _moep_ waves KatolaZ10:10
KatolaZhi _moep_10:13
KatolaZo/10:13
* onefang wakes from my nap and waves at KatolaZ.10:46
KatolaZhi onefang10:50
KatolaZonefang: did you have any chance to have a look at the link issues on the package mirror?10:59
onefangI recall you mentioned you had sent me an email about it, but I don't recall getting that email.  I was gonna search through my emails to see if I had just missed it later in the week.11:01
onefangI'm almost caught up on my life after the disruptions.  lol11:02
KatolaZonefang: dunno if I sent you an email11:02
KatolaZthe thing is that symlinks seem to not be working on the package mirror hosted at sledjahmr.org11:03
onefangCan you give me an example?11:03
KatolaZonefang: just try to replace "ascii" with "stable" in any link11:03
KatolaZhold on11:03
KatolaZcurl  -L -f --header "Host: deb.devuan.org" http://37.220.36.58/merged/dists/stable-security/Release11:04
KatolaZgives a forbidden11:04
KatolaZwhile11:04
KatolaZcurl  -L -f --header "Host: deb.devuan.org" http://37.220.36.58/merged/dists/ascii-security/Release11:04
KatolaZworks11:04
KatolaZit's not vital, since Devuan prefers to use codenames, but this would avoid hassles to user who stick to stable/testing/unstable11:05
onefangHmmm, I have "Options Indexes FollowSymLinks SymLinksIfOwnerMatch" and I recall my rsync cron job chowns everything.11:07
KatolaZonefang: it does not work, as you can verify by yourself11:07
KatolaZif you could please have a look that would be much appreciated11:07
onefangI'll look at it in about an hour.  I got something to do at 19:30.11:07
KatolaZnp11:07
KatolaZthanks ;)11:07
Centurion_Dano/11:26
Centurion_Danso... anybody want to write a daemon supervision and watchdog tool using sd-notify data?11:27
Centurion_Dannotify data is provided via an AF_UNIX socket specified by the env variable $NOTIFY_SOCKET and it's format is as per http://man7.org/linux/man-pages/man3/sd_notify.3.html11:32
Centurion_Danfor the basic uses it seems simple enough.11:33
Centurion_Danhaving a tool like this would allow devuan-baptise to provide supervised services with near equivalence to how systemd handles it.11:34
dethaCenturion_Dan: I could think about that yes11:35
Centurion_Danthat would be awesome ;-)11:36
dethaAs you say, basically it re-implements systemd without the guff11:36
dethaquestion is, how far does on go with that? Including restarting things when they crash?11:38
detha(note: that opens a whole other can of wurms, because 'Oh. xyzd crashed. Need to restart it. Ehm, what init system is this machine running?'11:39
KatolaZbut do we really need to re-implement systemd?11:39
KatolaZ:\11:39
kilobyteplease please make such restarts exclusively opt-in by the admin, never a package's default11:39
KatolaZI mean, there are already several process supervision and management systems around11:40
dethaQuite so11:40
KatolaZI understand the usefulness of having a way of "transforming" unit files into initscripts11:40
KatolaZthat would be handy11:40
kilobytebut not having every single bit of systemd's functionality11:41
dethaAnd then there are packages that provide one especially for that package (such as quagga)11:41
KatolaZmoreso, not depending on the systemd API interface11:42
KatolaZdunno11:42
dethaIt would be chasing a moving target yes. But so is parsing the systemd unit files11:42
KatolaZwell, less so11:43
KatolaZat least if you just want to have a basic initscript11:43
KatolaZsome of the functions of systemd are hard/very hard to reproduce without systemd11:44
KatolaZfor instance, daemon restarting is relatively easy11:44
dethaphase 1: parse systemd unit file, generate basic initscript from template. I see Centurion_Dan already has an idea for templates.11:44
KatolaZseveral checks are not11:44
dethaphase 2: see what is inconvenient11:45
KatolaZe.g., network availability, or DNS resolving11:45
KatolaZ(that's why systemd internalised those services, basically)11:45
KatolaZgotta go11:45
KatolaZbbl11:45
KatolaZo/11:45
dethafixable with some form of 'provides'11:46
Centurion_Danwe'll deal with the logic of restarting probably as a special command to the init script - so if the service fails then the tool calls the init-script with a command like "service <servicename> failed" and the initscript could have some boiler plate used to handle that case if the config is there.11:47
Centurion_Danother then that sending those messages to syslog as well would be great.11:49
dethabsd style would be to have restart_xyzd="YES" in /etc/rc.conf, and init scripts just look at that.11:49
Centurion_Dandetha: exactly - but that should be up to the individual daemon - and init system.11:50
dethaif one created templated init scripts, they should have something external that the admin can override11:51
dethaotherwise one ends up with admin modifying init script, next update comes, modifications are overwritten11:52
Centurion_Danactually decoding those messages into something legible and sending it to syslog is the first thing to do - then we can start to worry about handling the supervision side of things.11:52
Centurion_Dandetha: we'd probably control that via /etc/default/<servicename>11:53
dethathat would work yes11:53
Centurion_Danand that is also the init independent location for configuration.11:54
kilobyte0.0 ... but sending log messages anywhere but /dev/null (or devnulljournal, which is effectively the same) would break systemd compatibility!11:54
Centurion_Dankilobyte: I know it'll hurt Lennarts feelings, but I don't give a fig about systemd compatibility with stupidity in PID1 and Journald11:56
kilobytethat's my point -- any compat should specifically avoid worst parts of systemd even when it means possibly breaking unit file expectations11:57
kilobytereliable logging, especially one that survives a crash, is vital for any sysadmin or debugging work11:58
kilobytesystemd goes out of its way to tell storage layers that journal files are unimportant12:00
kilobyte(just so it's not a baseless accusation: for example FS_NOCOW_FL code -- it requests to disable safe writes and checksumming)12:02
Centurion_DanKatolaZ: we can ignore resolverd completely as it's not required - everything should fall back to normal methods - sequencing of services (dependencies etc) will be handled via insserv as normal - so dependencies on network won't matter.12:05
onefangFor what it is worth, many years ago I wrote an LSB compliant sysv init from scratch.  I could blow the dust off it and add this sort of stuff.12:06
Centurion_Danhandling targets like mounted volumes could be an interesting challenge, but I can't see it being insurmountable.  Systemd isn't doing particularly special stuff... it's just doing it in ways that are prone to cause problems...12:07
Centurion_Danonefang: I've already started with Lydia_K, startmeup util - it generates LSB compliant init scripts with a few input parameters already.12:09
Centurion_DanAnd it's also got the beginnings of openrc as an alternative target too.12:10
onefangKatolaZ: I think I solved the link problem, there was an Options that didn't have the symlink stuff hidden in another cotfig file.12:10
onefangIf I recall, the main features of mine where full LSB compliance (at the time), dependency tracking, and not caring what language the init scripts where written in.  I even had init scripts written in C for the sake of example.  But it's been a while, it probably bit rotted.12:12
onefangWow, SourceForge now adds "Similar Business Software" and thinks JIRA is similar to a sysv init system.  lol12:16
Centurion_Danonefang: here we're sticking to standard scripts using all the builtin boilerplate available.  If a packager want12:16
Centurion_Danto provide an init as C program that's their parogative, but our purpose is to fill the inevitable holes where debian no longer ship init scripts.12:17
KatolaZCenturion_Dan: that's not gonna happen soon, IMHO12:18
KatolaZthere is still a Policy that requires packages to ship a simple initscript12:18
KatolaZas long as the policy is there, there is no way the package of a deamon can make it into Debian without a proper initscript12:19
onefanghttps://sourceforge.net/projects/urunlevel/ for what it's worth.  Five years since I last looked at it.  Written as a Busybox App, I should probably port it to toybox and offer it to them.12:19
Centurion_DanKatolaZ: good... that give us a little breathing room...12:19
Centurion_Danonefang: hmm cvs .... ouch...12:21
onefangDid I mention it was ancient?  lol12:21
Centurion_Dananyway... it's pretty much bed time ;-)12:23
* onefang tries to remember what else I said I might do for Devuan. It's time I started writing code again after my big life disrupters.12:24
onefangKatolaZ: should probably add that link test to the mirrors test script.12:30
KatolaZyes onefang12:34
KatolaZbut the thing is that we would strongly encourage using codenames12:34
KatolaZnot stable/testing/old-stable12:34
KatolaZand so on12:34
dethaI would, if it just would use versions. Can't be arsed to remember the funny names they give versions across different projects, so 'stable' it is.12:43
onefangWe called it ASCII, not ARSED.  B-)12:44
onefangAnd then I just found this - https://henrich-on-debian.blogspot.com/2018/10/how-about-specify-debian-version-in-apt.html14:02
arachnopavelparazyd: speaking of kernels, why is the most recent one in ascii is still 4.9.0-8? Shouldn't it be updated to patch some of the recent cve bugs, at least?14:22
parazydarachnopavel: Is this about the ARM kernels or the packaged ones?14:23
arachnopavelparazyd: packaged ones.14:23
parazydThat's the latest one14:24
parazydIn Debian, this is.14:25
parazyd4.9.11014:25
Centurion_Dandetha you can always use release numbers20:46
Centurion_Dan1.0, 2.0, 3.0 (although technically unreleased... but again they're symlinks :-)20:47
dethaCenturion_Dan: I do, for some things. But it is still an annoyance that for example /etc/debian_version has a sensible '9' in it, and /etc/devuan_version 'ascii'.20:54
Centurion_DanI do think we should drop the trailing .0 from the version numbers, and /etc/devuan_version should be 920:56
Centurion_Daner 2 for ascii - ie should be a number to be consistent with debian.20:56
dethaas far as I know there are no point releases like RHEL/Centos, so yes20:57
dethaThat is one thing ubuntu got right, eventually. They also started with funny names, but now everybody talks about '16.04' or '18.04'20:58
Centurion_Dandetha: ubuntu has point releases... they just aren't identified as such.  All there point releases are the ones not labelled LTS, and point release to point release upgrades are guaranteed to break...21:27
dethaLuckily I don't use ubuntu, but yeah. Point releases are odd - RHEL tries very hard /not/ to break things on point releases, but for example openbsd says 'Point release, here is the list of things that is guaranteed to break'21:29
detha(and I just spent the entire weekend un-breaking openbsd 6.3->6.4 on the infra here)21:30
Centurion_Dandetha: debian rarely breaks anything on a point release - the only acceptable reason is where there is a serious security bug involved...21:33
dethaSame as redhat. I remember centos around 6.4 or 6.5 spectacularly broke libssl-related things be removing old algorithms21:35
Centurion_Danredhat/centos have been known to drop the odd update bomb that breaks things too.  I recall an instance when they broke some smtp daemon - might've been postfix, anyway not only did redhat customers get effected, but also all the downstream distro's.  There was much weeping and gnashing of teeth.  In debian however, the bug in the patch got picked up and fixed before the updated package was pushed.21:38
dethayup. they also broke tomcat at some stage. That caused me some grief21:42

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