KatolaZ | Centurion_Dan: you here? | 08:34 |
---|---|---|
Centurion_Dan | yup | 08:35 |
KatolaZ | you GPG key has expired? | 08:35 |
KatolaZ | what's the new fingerprint, please? | 08:36 |
rrq | btw is there a "devuan key server"? | 09:03 |
KatolaZ | ehm nope | 09:03 |
KatolaZ | we should probably have one :| | 09:03 |
rrq | you know how, or I look into how? | 09:04 |
KatolaZ | I guess I can't at the moment | 09:07 |
KatolaZ | I had set up one years ago | 09:08 |
KatolaZ | but right now I am busy with migrating ci and dak | 09:08 |
KatolaZ | ;) | 09:08 |
rrq | sure. 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_Dan | KatolaZ 102E FE3B BA4B 2E45 EBD5 6C7A 27B9 FAA4 EBAA 93A1 | 09:10 |
Centurion_Dan | should be on the key servers... I updated it last month | 09:11 |
rrq | with a photo and all :) | 09:12 |
Centurion_Dan | expiry is 2021-02-24 | 09:14 |
rrq | key server needs 23 GB for db. | 09:17 |
KatolaZ | done | 09:18 |
KatolaZ | yep | 09:18 |
KatolaZ | I don't see pictures in mutt :P | 09:18 |
rrq | no great loss for that one :D | 09:18 |
kilobyte | KatolaZ: add this to your ~/.mailcap: 「image/jpeg; chafa %s | less -R; needsterminal;」 (and same for other common image types) | 14:57 |
KatolaZ | thanks but, I don't think so :P | 14:59 |
onefang | Except for JPEG 2000, which has been purged from Debian. B-( | 15:02 |
kilobyte | it's not automated: you manually "v", select the image, then "m" | 16:40 |
kilobyte | so no downsides compared to no handler at all | 16:41 |
KatolaZ | kilobyte: I guess I started using mutt back in 1998... :) | 16:45 |
KatolaZ | or 1999 | 16:46 |
LeePen | Hi. | 19:31 |
KatolaZ | hi LeePen | 19:32 |
LeePen | Does anybody know amesser's new email address, the one I used in January has bounced? | 19:32 |
KatolaZ | nope LeePen | 19:34 |
LeePen | OK. Thanks. I'll try again later. | 19:35 |
LeePen | Ooops! it was me -- stray ':' in the headers | 19:37 |
KatolaZ | oh ok | 19:38 |
KatolaZ | :) | 19:38 |
LeePen | I have just done the Debian elogind package which can replace libsystemd0. | 19:38 |
KatolaZ | oh cool | 19:39 |
LeePen | Will do the Devuan one tomorrow. | 19:39 |
KatolaZ | shall we build it? | 19:39 |
KatolaZ | ok | 19:39 |
KatolaZ | are two separate versions needed? | 19:39 |
LeePen | Yes, the dependencies are slightly different: Debian didn't want libpam-elogind providing libpam-systemd. | 19:40 |
KatolaZ | oki | 19:42 |
KatolaZ | oh I remember I saw a couple of emails about that... | 19:42 |
LeePen | KatolaZ: I have tried your new dbus with the /var/lib/dbus/machine-id patch. | 19:46 |
LeePen | Works well, but I wonder if the uptime check is too fragile? | 19:46 |
KatolaZ | well, it's a way of doing it | 19:47 |
LeePen | Absolutely. I was wondering if it might be more robust to generate the new machine-id | 19:47 |
KatolaZ | ? | 19:48 |
KatolaZ | it generates a new machine-id | 19:48 |
LeePen | if the $PIDDIR doesn't exist, i.e dbus has not run on this boot? | 19:48 |
KatolaZ | only once per boot | 19:48 |
KatolaZ | well, but that's a bit shakym right? | 19:48 |
KatolaZ | if the system has crashed, PIDDIR could be there... | 19:48 |
LeePen | No, its a tmpfs isn't it? | 19:49 |
KatolaZ | well, it depends :) | 19:49 |
LeePen | OK, then my idea is not so clever! ;) | 19:49 |
KatolaZ | by default it should be a tmpfs | 19:49 |
KatolaZ | nono | 19:50 |
KatolaZ | quite the opposite | 19:50 |
KatolaZ | it is clever ifor the default case | 19:50 |
KatolaZ | also mine is not that clever | 19:50 |
KatolaZ | since boot can take more than 60 seconds at times | 19:50 |
KatolaZ | at least in principle | 19:50 |
KatolaZ | (e.g. if fsck is triggered) | 19:50 |
KatolaZ | (just to mention one of the dozens possible reasons) | 19:51 |
LeePen | I just know I run some very old hardware (K6 300) that can take a while, even without fsck | 19:51 |
KatolaZ | LeePen: we could check if PIDDIR is indeed a tmpfs | 19:51 |
KatolaZ | and move GRACETIME in /etc/default/dbus | 19:51 |
KatolaZ | to make it configurable | 19:52 |
KatolaZ | what do you think? | 19:52 |
LeePen | Yes. I think it would be worth using the PIDDIR check as it would catch the default case | 19:52 |
KatolaZ | yep | 19:52 |
LeePen | without bothering about a GRACETIME | 19:53 |
KatolaZ | the problem is | 19:53 |
LeePen | And then fallback on uptime? | 19:53 |
KatolaZ | that PIDDIR is created BEFORE create_machineid is called... | 19:54 |
KatolaZ | look at start_it_up | 19:54 |
LeePen | Yes, I see. Not going to work. Shame. I will just have to kick | 19:55 |
LeePen | my K6 up the backside ;) | 19:55 |
KatolaZ | we need to fix it | 19:55 |
KatolaZ | we could move the call to create_machineid inside the first check in start_it_up | 19:56 |
KatolaZ | just before mkdir -p $PIDDIR | 19:57 |
KatolaZ | I don't like much the fact that it depends on script's state, but still | 19:58 |
LeePen | But then if /run isn't a tmpfs and PIDDIR is persitent it won't get run at all? | 19:59 |
KatolaZ | yeah | 19:59 |
KatolaZ | we could have an "OR" | 20:00 |
KatolaZ | something like "if [ -f "${MACHINEID}" ] && { [ ${UPTIME} -lt ${GRACETIME} ] || [ -d $PIDDIR ]} " | 20:01 |
LeePen | That seems better to me. | 20:02 |
KatolaZ | would probably use [ ! -d $PIDDDIR ] | 20:04 |
KatolaZ | :) | 20:04 |
KatolaZ | and put it first in the OR | 20:04 |
LeePen | And drop the extra {, but I got the idea! ;) | 20:04 |
KatolaZ | yeah sure | 20:07 |
KatolaZ | well, we need to quote the OR I guess | 20:08 |
LeePen | Guess so | 20:08 |
LeePen | Need to cook some food. bbl. | 20:10 |
KatolaZ | o/ | 20:12 |
KatolaZ | o7 | 20:12 |
fsmithred | LeePen, KatolaZ, if /etc/machine-id is an empty file on boot, will it be repopulated? (please) | 20:41 |
fsmithred | that's the behavior with systemd, and there's code in refractasnapshot to blank that file. (deleting is causes errors with systemd-journald) | 20:41 |
fsmithred | s/is/it | 20:42 |
KatolaZ | fsmithred: I don't have any /etc/machine-id | 22:10 |
KatolaZ | and it does not get generated | 22:11 |
KatolaZ | fsmithred: 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/!