libera/#devuan-dev/ Monday, 2019-03-11

KatolaZCenturion_Dan: you here?08:34
Centurion_Danyup08:35
KatolaZyou GPG key has expired?08:35
KatolaZwhat's the new fingerprint, please?08:36
rrqbtw is there a "devuan key server"?09:03
KatolaZehm nope09:03
KatolaZwe should probably have one :|09:03
rrqyou know how, or I look into how?09:04
KatolaZI guess I can't at the moment09:07
KatolaZI had set up one years ago09:08
KatolaZbut right now I am busy with migrating ci and dak09:08
KatolaZ;)09:08
rrqsure. I'll do it... may need dns eventually and, hmm, where should run?09:09
rrq(services ports 80, 443 and 11371)09:10
Centurion_DanKatolaZ 102E FE3B BA4B 2E45 EBD5  6C7A 27B9 FAA4 EBAA 93A109:10
Centurion_Danshould be on the key servers... I updated it last month09:11
rrqwith a photo and all :)09:12
Centurion_Danexpiry is 2021-02-2409:14
rrqkey server needs 23 GB for db.09:17
KatolaZdone09:18
KatolaZyep09:18
KatolaZI don't see pictures in mutt :P09:18
rrqno great loss for that one :D09:18
kilobyteKatolaZ: add this to your ~/.mailcap: 「image/jpeg; chafa %s | less -R; needsterminal;」 (and same for other common image types)14:57
KatolaZthanks but, I don't think so :P14:59
onefangExcept for JPEG 2000, which has been purged from Debian.  B-(15:02
kilobyteit's not automated: you manually "v", select the image, then "m"16:40
kilobyteso no downsides compared to no handler at all16:41
KatolaZkilobyte: I guess I started using mutt back in 1998... :)16:45
KatolaZor 199916:46
LeePenHi.19:31
KatolaZhi LeePen19:32
LeePenDoes anybody know amesser's new email address, the one I used in January has bounced?19:32
KatolaZnope LeePen19:34
LeePenOK. Thanks. I'll try again later.19:35
LeePenOoops! it was me -- stray ':' in the headers19:37
KatolaZoh ok19:38
KatolaZ:)19:38
LeePenI have just done the Debian elogind package which can replace libsystemd0.19:38
KatolaZoh cool19:39
LeePenWill do the Devuan one tomorrow.19:39
KatolaZshall we build it?19:39
KatolaZok19:39
KatolaZare two separate versions needed?19:39
LeePenYes, the dependencies are slightly different: Debian didn't want libpam-elogind providing libpam-systemd.19:40
KatolaZoki19:42
KatolaZoh I remember I saw a couple of emails about that...19:42
LeePenKatolaZ: I have tried your new dbus with the /var/lib/dbus/machine-id patch.19:46
LeePenWorks well, but I wonder if the uptime check is too fragile?19:46
KatolaZwell, it's a way of doing it19:47
LeePenAbsolutely. I was wondering if it might be more robust to generate the new machine-id19:47
KatolaZ?19:48
KatolaZit generates a new machine-id19:48
LeePenif the $PIDDIR doesn't exist, i.e dbus has not run on this boot?19:48
KatolaZonly once per boot19:48
KatolaZwell, but that's a bit shakym right?19:48
KatolaZif the system has crashed, PIDDIR could be there...19:48
LeePenNo, its a tmpfs isn't it?19:49
KatolaZwell, it depends :)19:49
LeePenOK, then my idea is not so clever! ;)19:49
KatolaZby default it should be a tmpfs19:49
KatolaZnono19:50
KatolaZquite the opposite19:50
KatolaZit is clever ifor the default case19:50
KatolaZalso mine is not that clever19:50
KatolaZsince boot can take more than 60 seconds at times19:50
KatolaZat least in principle19:50
KatolaZ(e.g. if fsck is triggered)19:50
KatolaZ(just to mention one of the dozens possible reasons)19:51
LeePenI just know I run some very old hardware (K6 300) that can take a while, even without fsck19:51
KatolaZLeePen: we could check if PIDDIR is indeed a tmpfs19:51
KatolaZand move GRACETIME in /etc/default/dbus19:51
KatolaZto make it configurable19:52
KatolaZwhat do you think?19:52
LeePenYes. I think it would be worth using the PIDDIR check as it would catch the default case19:52
KatolaZyep19:52
LeePenwithout bothering about a GRACETIME19:53
KatolaZthe problem is19:53
LeePenAnd then fallback on uptime?19:53
KatolaZthat PIDDIR is created BEFORE create_machineid is called...19:54
KatolaZlook at start_it_up19:54
LeePenYes, I see. Not going to work. Shame. I will just have to kick19:55
LeePenmy K6 up the backside ;)19:55
KatolaZwe need to fix it19:55
KatolaZwe could move the call to create_machineid inside the first check in start_it_up19:56
KatolaZjust before mkdir -p $PIDDIR19:57
KatolaZI don't like much the fact that it depends on script's state, but still19:58
LeePenBut then if /run isn't a tmpfs and PIDDIR is persitent it won't get run at all?19:59
KatolaZyeah19:59
KatolaZwe could have an "OR"20:00
KatolaZsomething like "if [ -f "${MACHINEID}" ] && { [ ${UPTIME} -lt ${GRACETIME} ] || [ -d $PIDDIR ]} "20:01
LeePenThat seems better to me.20:02
KatolaZwould probably use [ ! -d $PIDDDIR ]20:04
KatolaZ:)20:04
KatolaZand put it first in the OR20:04
LeePenAnd drop the extra {, but I got the idea! ;)20:04
KatolaZyeah sure20:07
KatolaZwell, we need to quote the OR I guess20:08
LeePenGuess so20:08
LeePenNeed to cook some food. bbl.20:10
KatolaZo/20:12
KatolaZo720:12
fsmithredLeePen, KatolaZ, if /etc/machine-id is an empty file on boot, will it be repopulated? (please)20:41
fsmithredthat's the behavior with systemd, and there's code in refractasnapshot to blank that file. (deleting is causes errors with systemd-journald)20:41
fsmithreds/is/it20:42
KatolaZfsmithred: I don't have any /etc/machine-id22:10
KatolaZand it does not get generated22:11
KatolaZfsmithred: does refractasnapsot have systemd-journald?!?22:11

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