Thursday, 2026-04-23

T42<the_hiktor> can someone point me on what am i supposed to do so partitions get mounted , i already added symlinks with mounts  and selinux files in droid-configs17:43
T42<the_hiktor> here's my device-configs https://github.com/GloboPatro/droid-config-surya17:45
malare the mount services not run or what is the problem?18:13
T42<the_hiktor> systemd says that they're dead18:20
T42<the_hiktor> this what systemd shows for /product https://paste.opensuse.org/pastes/997ec4f4adb518:23
malwhat does it show in journal log when you run for example "systemctl restart vendor.mount"18:24
malwas dmsetup.service successful? do you see that dynparts in /dev/mapper/ ?18:26
T42<the_hiktor> journal fail https://paste.opensuse.org/pastes/2dfff4ceace018:27
malthat is not what I mean, journal log is checked by journalctl -b --no-pager (to get whole log) or to follow it and show selected number of lines you can use journalctl -fa -n100018:28
T42<the_hiktor> no logs18:28
T42<the_hiktor> it says no entries18:29
malhow is that possible18:29
malin which telnet are you?18:29
T42<the_hiktor> 232318:29
malshow output of "systemctl"18:29
T42<the_hiktor> https://paste.opensuse.org/pastes/19ba002b7d6118:30
maldid you have journal log working before?18:31
T42<the_hiktor> yeah18:31
T42<the_hiktor> it worked before adding selinux files to configs18:32
maland you haven't disabled selinux from kernel commandline or anything like that?18:37
T42<the_hiktor> i tried with selinux enabled and disabled both give me the exact same result18:38
T42<elros34> did you check dmesg since early boot?18:39
T42<the_hiktor> on host ?18:40
T42<elros34> on device18:40
T42<elros34> you have disabled selinux in kernel but IIRC its should be left as it is (enabled). Show zcat /proc/config.gz18:45
T42<the_hiktor> this is dmesg https://paste.opensuse.org/pastes/cad9a2211b2218:48
T42<the_hiktor> and this is the other output you asked https://paste.opensuse.org/pastes/caf4a5698fe018:51
T42<elros34> ok so it does not match your defconfig. So what happen if you remove now /etc/selinux?18:53
T42<elros34> you are missing CONFIG_USER_NS but that is not main issue18:57
T42<the_hiktor> i got bootloop19:01
T42<elros34> ok but do you have working journal?19:02
T42<the_hiktor> still no19:05
T42<elros34> so how dmesg looks like?19:05
T42<the_hiktor> dmesg on host  https://paste.opensuse.org/pastes/79d51c204ff519:13
T42<elros34> why on host? we are debugging device.19:15
T42<the_hiktor> i really cant catch anything from device while it bootloops19:15
T42<elros34> so how did you catch "not working journal" just few minutes ago?19:16
T42<the_hiktor> it was before you telling me to remove etc/selinux19:17
T42<elros34> I ask you to remove files and then whether journal works now, you said still no. Cmon. Create init_enter_debug2 (hadk-hot)  and get dmesg or journal19:19
T42<elros34> like dmesg -w in one window, and continue booting in another untill it reboots19:20
T42<the_hiktor> sry my bad19:25
T42<the_hiktor> yeah no journal again19:25
T42<elros34> did you continue booting?19:26
T42<the_hiktor> yeah19:26
T42<elros34> so get dmesg19:27
T42<the_hiktor> https://paste.opensuse.org/pastes/69bcdebd73e119:27
T42<elros34> please show all commands you are executing to speed up process. Did you run 'echo "continue" >/init-ctl/stdin' after running dmesg?19:30
T42<the_hiktor> sry, no i didnt19:33
T42<the_hiktor> what im supposed to do after19:33
T42<elros34> ok that is what I called "continue booting" maybe not clear enough. Now we want simple just get dmesg19:34
T42<the_hiktor> https://paste.opensuse.org/pastes/9dfcb27eb5e119:35
T42<elros34> again: dmesg -w in one window, and "continue booting" -> 'echo "continue" >/init-ctl/stdin' in another untill it reboots19:36
T42<the_hiktor> https://paste.opensuse.org/pastes/7cfc90183a6119:40
T42<the_hiktor> so sry i didnt get that at first19:40
T42<elros34> ok so you have right its really selinux files. Did you copy the directly from you device?19:42
T42<the_hiktor> yeah19:42
T42<elros34> good news  reboot is caused by know issue bad news is paste with patch expired and i do not have access to these files right now19:44
T42<the_hiktor> so based on that news i should be crying in the corner 🥲19:46
T42<elros34> not at all. maybe some good soul have saved patch for not updatable/flattened apexes?19:46
T42<elros34> but still you may need to fix this /etc/selinux issue but I have no idea what it is needed for19:47
T42<the_hiktor> if i somehow got that patch from somewhere where it should be applied ?19:51
T42<elros34> IIRC 2 places: https://piggz.co.uk/sailfishos-porters-archive/index.php?log=2024-09-14.txt#line3419:52
T42<the_hiktor> i found this old repo for me device  i guess i can see some apex related patch19:55
T42<the_hiktor> https://gitlab.com/xiaomi-poco-x3/misc19:55
T42<elros34> I think this one https://github.com/sailfishos-on-sake/hybris-patches/blob/hybris-18.1/system/core/0051-linkerconfig-switch-no-updatable-apex.patch19:57
T42<elros34> ah it's also in your link too19:59
T42<the_hiktor> so now just throw it in place rebuild and test ?20:01
T42<elros34> throw and apply20:03
T42<the_hiktor> with selinux on or off ?20:04
T42<the_hiktor> or both should work fine now ?20:04
T42<elros34> don't change anything selinux related in kernel at all. This will not help for your issue with /etc/selinux. See your log: [    8.037825] systemd[1]: systemd-journald-dev-log.socket: Failed to listen on sockets: Invalid argument [    8.037848] systemd[1]: systemd-journald-dev-log.socket: Failed with result 'resources'.20:06
T42<elros34> this is very early in boot. Apex patch help for issue you have when droid-hal-init starts20:08
T42<elros34> I wonder whether this is your issue: "SELinux:  Permission nlmsg_getneigh in class netlink_route_socket not defined in policy." SELinux: the above unknown classes and permissions will be denied20:24

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