libera/#devuan-dev/ Saturday, 2018-11-24

LeePenMorning. Can anybody tell me if and how /etc/machine-id is created on Devuan?11:14
hightower2LeePen, I am on Devuan and at least in my installation, /etc/machine-id is not there. (Package lsb-base is installed as well, if it  for your question matters)11:15
hightower2if it matters for your question*11:16
KatolaZLeePen: machine-id is created by a systemd package11:17
KatolaZIIRC11:17
KatolaZLeePen: why do you need that?11:17
LeePenI am trying to sort out why some of the elogind tests fail. I wold like to enable them for build11:23
LeePenThey rely on /etc/machine-id. I think we should use /var/lib/dbus/machine-id instead?11:23
LeePens/wold/sould/11:24
LeePens/sould/would/ !!!!11:24
LeePenhightower2: thanks, yes I have it on some of my Devuan boxes but not others, so they could be remnants of systemd infecton before I migrated away from debian.11:52
KatolaZLeePen: I guess we shouldn't use a machine-id at all, if possible12:17
LeePenKatolaZ: Yes but elogind needs it and depends on dbus, so /var/lib/dbus/machine-id should be OK for this case?12:19
KatolaZwhat generates it?12:20
KatolaZand why is it needed?12:20
KatolaZok it's generated by systemd-machine-id-setup12:22
KatolaZnow, why is it needed at all?12:22
LeePendbus generates it on install and from the initscript with dbus-uuidgen12:23
* kilobyte can think of only downsides of a persistent unique machine id, unless explicitely configured by the admin as such (like a hostname).12:23
LeePenThat is /var/lib/dbus/machine-id. I agree we can do without /etc/machine-id12:24
kilobyteso putting a machine-id in run and generating on boot would be good enough for systemd compat12:24
kilobytes,run,/run,12:24
KatolaZLeePen: does dbus need it at all?12:26
KatolaZI would definitely prefer to have no unique, persistent machine-id in Devuan12:26
KatolaZof any kind12:26
LeePenKatolaZ: I think so, but just its own version in /var/lib/dbus12:27
KatolaZso I agree that if it is needed, we should re-geerate it at every boot12:27
KatolaZ(to say the least)12:27
KatolaZwe have forked dbus12:27
KatolaZso we can act there as well12:27
onefangOr, I could pull my finger out and write dCar, a lighter and faster dBus.12:28
LeePenKatolaZ: That is fine. At least in terms of being able to build the12:29
LeePenelogind tests and have them pass in a chroot we will need to ensure12:29
LeePendbus will create the one-time /run/machine-id in a chroot too.12:30
KatolaZLeePen: dbus actually does that when installed12:33
KatolaZin dbus.init12:33
KatolaZit created a machine-id under /var/lib/dbus12:34
LeePenYes, via dbus-uuidgen. I think I said that ;)12:34
KatolaZno in dbus.init12:35
KatolaZyeah in the end is dbus-uuidgen12:35
LeePenSo all we need for it to be non-persistent is delete it at dbus.init stop and it will be recreated next time.12:37
KatolaZmaybe12:40
KatolaZit looks like it is re-generated anyway during dbus startup12:41
KatolaZLeePen: at least in Devuan12:42
LeePenYep. Thanks all -- helpful as always.12:42
KatolaZbut it looks like 1.12.10 from debian has exactly the same12:43
LeePenI have bugged elogind upstream to use /var/lib/dbus/machine-id rather than the systemd file in /etc12:43
KatolaZso if elogind needs it it could just put a symlink to /var/lib/dbus12:43
KatolaZok12:43
KatolaZeven better12:44
KatolaZmuch better12:44
LeePenI notice on my vairous systems, that some have /etc/machine-id. I imagine it is left over from a debian installer systemd boot. We might want to clear those out in Devuan?12:45
KatolaZwell, I guess so12:47
KatolaZbut I am not sure which package should be in charge of the removal, TBH12:47
LeePenYes, it is one of those weird unowned files.12:48
drawkulasystemd.postrm? .prerm?13:01
drawkulasystemd.postinst creates /etc/machine-id13:01
drawkulaso removing systemd should clean ist up... but who would want to remove systemd?13:02
drawkulamwhuahaahahahaaa13:02
LeePenelogind upstream have accepted the patch already! :)13:37
KatolaZgreat LeePen :)13:40
KatolaZOmegaPhil: are you working on udisks2?14:54
OmegaPhilKatolaZ: No, sorry, I've had a singificant change to what I do in life19:50
OmegaPhilSo effectively not active with computing stuff19:50
KatolaZok OmegaPhil19:51
KatolaZthanks19:51
OmegaPhilTook me by surprise19:51
KatolaZdi you mind if I have a go at the package then?19:51
OmegaPhilsure19:51
KatolaZso you do mind?19:51
OmegaPhilsorry, go ahead19:51
KatolaZahahahah19:51
KatolaZOK19:52
KatolaZthanks19:52
KatolaZI will leave you as maintainer for now :)19:52
OmegaPhilMaybe my life will turn around again19:53
Centurion_Dano/20:56
KatolaZCenturion_Dan: o/20:59
KatolaZwill be afk for a few hours20:59
KatolaZbuilt several packages20:59
KatolaZsee devuan-dev20:59
KatolaZsyl20:59
KatolaZo/20:59
Centurion_DanI see but you killed the ppc64el for sysvinit?20:59
Centurion_Danwas it offline?21:00
Centurion_Dan\o21:00
gnu_srs2Centurion_Dan: Where is consolekit2, experimental?21:00
gnu_srs2source package preferrably21:01

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