| 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-configs | 17:43 |
|---|---|---|
| T42 | <the_hiktor> here's my device-configs https://github.com/GloboPatro/droid-config-surya | 17:45 |
| mal | are the mount services not run or what is the problem? | 18:13 |
| T42 | <the_hiktor> systemd says that they're dead | 18:20 |
| T42 | <the_hiktor> this what systemd shows for /product https://paste.opensuse.org/pastes/997ec4f4adb5 | 18:23 |
| mal | what does it show in journal log when you run for example "systemctl restart vendor.mount" | 18:24 |
| mal | was dmsetup.service successful? do you see that dynparts in /dev/mapper/ ? | 18:26 |
| T42 | <the_hiktor> journal fail https://paste.opensuse.org/pastes/2dfff4ceace0 | 18:27 |
| mal | that 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 -n1000 | 18:28 |
| T42 | <the_hiktor> no logs | 18:28 |
| T42 | <the_hiktor> it says no entries | 18:29 |
| mal | how is that possible | 18:29 |
| mal | in which telnet are you? | 18:29 |
| T42 | <the_hiktor> 2323 | 18:29 |
| mal | show output of "systemctl" | 18:29 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/19ba002b7d61 | 18:30 |
| mal | did you have journal log working before? | 18:31 |
| T42 | <the_hiktor> yeah | 18:31 |
| T42 | <the_hiktor> it worked before adding selinux files to configs | 18:32 |
| mal | and 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 result | 18:38 |
| T42 | <elros34> did you check dmesg since early boot? | 18:39 |
| T42 | <the_hiktor> on host ? | 18:40 |
| T42 | <elros34> on device | 18:40 |
| T42 | <elros34> you have disabled selinux in kernel but IIRC its should be left as it is (enabled). Show zcat /proc/config.gz | 18:45 |
| T42 | <the_hiktor> this is dmesg https://paste.opensuse.org/pastes/cad9a2211b22 | 18:48 |
| T42 | <the_hiktor> and this is the other output you asked https://paste.opensuse.org/pastes/caf4a5698fe0 | 18: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 issue | 18:57 |
| T42 | <the_hiktor> i got bootloop | 19:01 |
| T42 | <elros34> ok but do you have working journal? | 19:02 |
| T42 | <the_hiktor> still no | 19:05 |
| T42 | <elros34> so how dmesg looks like? | 19:05 |
| T42 | <the_hiktor> dmesg on host https://paste.opensuse.org/pastes/79d51c204ff5 | 19:13 |
| T42 | <elros34> why on host? we are debugging device. | 19:15 |
| T42 | <the_hiktor> i really cant catch anything from device while it bootloops | 19: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/selinux | 19: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 journal | 19:19 |
| T42 | <elros34> like dmesg -w in one window, and continue booting in another untill it reboots | 19:20 |
| T42 | <the_hiktor> sry my bad | 19:25 |
| T42 | <the_hiktor> yeah no journal again | 19:25 |
| T42 | <elros34> did you continue booting? | 19:26 |
| T42 | <the_hiktor> yeah | 19:26 |
| T42 | <elros34> so get dmesg | 19:27 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/69bcdebd73e1 | 19: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 didnt | 19:33 |
| T42 | <the_hiktor> what im supposed to do after | 19:33 |
| T42 | <elros34> ok that is what I called "continue booting" maybe not clear enough. Now we want simple just get dmesg | 19:34 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/9dfcb27eb5e1 | 19:35 |
| T42 | <elros34> again: dmesg -w in one window, and "continue booting" -> 'echo "continue" >/init-ctl/stdin' in another untill it reboots | 19:36 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/7cfc90183a61 | 19:40 |
| T42 | <the_hiktor> so sry i didnt get that at first | 19: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> yeah | 19: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 now | 19: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 for | 19: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#line34 | 19:52 |
| T42 | <the_hiktor> i found this old repo for me device i guess i can see some apex related patch | 19:55 |
| T42 | <the_hiktor> https://gitlab.com/xiaomi-poco-x3/misc | 19: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.patch | 19:57 |
| T42 | <elros34> ah it's also in your link too | 19:59 |
| T42 | <the_hiktor> so now just throw it in place rebuild and test ? | 20:01 |
| T42 | <elros34> throw and apply | 20: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 starts | 20: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 denied | 20:24 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!