libera/#eudev/ Saturday, 2021-10-16

Marquelmorning.19:54
Arsenello!20:12
Arsen8PM here20:12
MarquelArsen: here too. ;)20:13
Arsenquite a sleep schedule20:13
Marquelgiven that last night was down to three hours, this night ends pre-dawn and there's labour ahead -yes.20:14
bb|hcbMorning, Marquel :)20:52
bb|hcbAriadne, Arsen, blueness: let's coordinate how the pending PRs are reviewed - I prefer not to push them without a review... But in case noone volunteers, I will have to :)22:04
Arsenuh, I have limited time generally these days, what'd you like me to do?22:05
Ariadnei will look at them tonight22:05
bb|hcbBasically I need an ACK/NAK for the PRs; I have already handled the ones from other people22:06
Ariadnein future feel free to ping me with a URL to a PR22:06
bb|hcbhttps://github.com/eudev-project/eudev/pulls22:06
bb|hcbArsen: I understand :) no worries, take your time22:07
Ariadnesyncs look ok22:08
Ariadnebitwise looks ok22:09
Ariadnethe only one i’m skeptical on is the selinux one22:10
bb|hcbCan you also mark them as reviewd on GH?22:10
bb|hcbselinux_context_t is char *22:11
Arseniirc security_context_t was a thrown out alias22:11
bb|hcbit got deprecated as a type, but the API is not deprecated22:11
Arsenyes, that's what I mean22:12
ArsenAriadne: https://github.com/SELinuxProject/selinux/blob/d155b410d4bbc90d28f361b966f0429598da8188/libselinux/include/selinux/selinux.h#L16-L2122:12
Arsenlgtm22:12
Ariadneok then :)22:13
Arsenty :D22:13
Ariadnein future please include references to such things :)22:14
bb|hcbSure, thanks for the review :)22:14
Ariadnealpine doesn’t use selinux so i do not know anything about it22:14
bb|hcbI am involved (willingly or not) with quite the variety of different types of systems, so lots of unwanted knowledge comes my way...22:15
Arsenselinux is only slightly annoying, it's fiiiiiiine22:16
bb|hcbI believe that with the PR from slicer69 (about quotes handling in udev rules) we are really much closer to the upstream behaviour now22:17
bb|hcbMy plan is to check the diff on the rest of the files and file some more PRs, in case there are things to merge22:17
bb|hcbAnd maybe it will be a time for a release afterwards?22:18
Arsenthat'd be quite nice22:19
bb|hcbUgh, I forgot one step before that - review and merge the distro specific patches. gnu_srs: can you propose which of the Devuan patches are good for upstream merge and which ones are not?22:20
bb|hcbAriadne: about alpine patches, is this the place to look: https://git.alpinelinux.org/aports/tree/main/eudev?h=master - are these changes suitable for upstream?22:24
Ariadneload-fbcon probably is22:46
Ariadnedefault-rules is designed to make /dev/kvm 066022:46
bb|hcbI can't say; from the point of view of my machines both are OK, but we need to consider other (unknown to us) use cases22:49
Arsenwhat's kvm by default otherwise?23:03
Arsen0660 on my machine too, I don't remember doing any modifications23:04
bb|hcbmine is 0666, root:kvm23:04
Arsengentoo doesn't apply patches to add KERNEL=="kvm", GROUP="kvm", MODE="0660"23:04
Arsenpresumably, that comes from systemd23:04
Arsenhm, I don't see it in that tree23:05
Arsenoh, I'm looking at my stripped tree23:05
bb|hcband there isn't any kvm related rule23:06
Arsen./rules.d/50-udev-default.rules.in23:07
Arsen93:KERNEL=="kvm", GROUP="kvm", MODE="{{DEV_KVM_MODE}}", OPTIONS+="static_node=kvm"23:07
Arsenit's there23:07
Arsenwe can probably add that23:07
Arsenmeson_options.txt23:07
Arsen283:option('dev-kvm-mode', type : 'string', value : '0666',23:07
Arsen^ the default on systemd23:07
Arsenrealistically, it's probably fine to keep it 0660, it can be overridden23:08
bb|hcbI agree that a more restricted approah upstream is better; that can be tuned by any distro; we only need to mention in release changelog so the change wouldn't go unnoticed23:09
Arsensure23:09
bb|hcbgnu_srs: What is your opinion on the fbcon patch? (https://git.alpinelinux.org/aports/tree/main/eudev/load-fbcon.patch)23:19
ArsenAriadne: do you guys build udev with libkmod?23:21
bb|hcb# we need disable kmod til busybox depmod generates binary formats:23:23
bb|hcb--enable-kmod \23:24
bb|hcblooks like yes, but there is a comment, that implies that was not always the case23:24
Arsenin that case, I'm not sure if that kmod is necessary23:24
ArsenI'm sure ariadne can elaborate23:24
bb|hcbjust checked, devuan builds eudev with the upstream default for libkmod-dev (default is on)23:27
bb|hcbi have also skimmed through the patches - there are 11, most are with debian/ubuntu origin; the only devuan specific one is reversing the default of network interface names23:38
bb|hcbIMO, most of those are good for inclusion; maybe leaving interface default to be a distro decision is the best way23:39
bb|hcbi see no point in changing the upstream default23:40
bb|hcblet's wait for gnu_srs to say what approach is best for those patches23:40
Arsenlink?23:41
bb|hcbw823:43
bb|hcbhttps://git.devuan.org/devuan/eudev/src/branch/suites/unstable23:44
bb|hcbpatches are in debian/patches, only the ones in debian/patches/series are applied23:45
Arsenadd_hwdb.7.patch seems applicable so far, maybe23:47
Arsenudev-hwdb-Support-shipping-pre-compiled-database-in-.patch check if this was happening upstream somehow23:48
Arsenhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657948 seems like it should be addressed on the installed side, honestly23:49
ArsenI dont think Load-sg-module-from-80-drivers.rules.patch ought to be merged23:49
ArsenUpdates-to-default-device-permissions.patch is likely distro specific23:49
Arsenhttps://git.devuan.org/devuan/eudev/src/branch/suites/unstable/debian/patches/Set-default-polling-interval-on-removable-devices-as.patch should be checked with upstream too, this sounds like it was likely raised to sysd23:51
bb|hcbthese are really old ones, coming from debian packaging of udev for wheezy (kernel 3.1.x)23:52
Arsenlikely addressed upstream then23:52
bb|hcband eudev in devuan is 3.2.9, which is pretty close to master branch23:52
bb|hcbnot master, but 3.2.1023:53
ArsenAlways-install-non-arch-specific-files-in-lib-udev.patch hm, what files are these?23:53
Arsenreverse-net-ifnames-logic.patch :^) i already talked about this23:53
Arsenman_udev.xml.patch is fine too, it's just a typo23:53
bb|hcbwe didn't touch anything related, so close to master too23:53
bb|hcbthat is debian terminology for arch independent stuff; in this case rules live in /usr/lib/udev23:54
bb|hcb/lib/udev, sorry23:55
Arsenah I see23:55
Arsen/lib rather than /lib6423:55
Arsenthat's also down to the distro frankly23:55
bb|hcbdistro specific23:56
bb|hcblib64 --> lib on debian and derivates23:56
Arsenyeah23:56
bb|hcband its use is discouraged... now i see that it is not a link and contains ld-linux*.so only23:57

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