libera/#devuan/ Thursday, 2021-12-02

wikanhi, do you know about any "cannot execute /sbin/getty" error after installing unstable?03:47
wikanasking, because not sure if bug or disk died03:47
wikana lot of ext4-fs error, cannot read inode003:47
fluffywolfthat sounds like the disk died.03:48
adhocare there errors in teh log files; /var/log/messages03:49
wikandunno, cant mount this drive to any other machine03:50
wikansystem not loading03:50
wikani am trying to bring this laptop to live but something is wrong03:51
Xenguylater, rinse, repeat?03:51
Xenguyreinstall?03:52
XenguyMaybe it's hardware, hrm03:52
fluffywolfany errors about reading inodes would point to a bad drive.03:52
wikanprevious disc probably died. Filesystem get blocked (rad only) while upgrade and no booted again03:52
wikanthis drive is from other old machine, so maybe is broken too, but I think it is not dist issue but chipset died03:53
wikani couldn't install to ssd anything for a year03:53
wikanif I did it, system worked maybe 10 minutes and files were gone03:54
wikanonly buildin card worked03:54
agriswhy am I not able to access my own program's memory on Devuan Chimaera?05:27
agris(gdb) find 0x7ffc55bc5000, 0x7ffc55bc9000, "usr/local/bin/dwm"05:27
agriswarning: Unable to access 16017 bytes of target memory at 0x7ffc55bc5000, halting search.05:27
agrisI'm trying to debug varibles in the memoryspace of a running /bin/sh script05:28
agrisit's all running under my user account05:28
agrisI expect that command to return 0x556a5d50f85805:32
agrisam I doing something wrong?05:32
agrisI can still do it the hard way and examine every memory address by hand05:32
agriswhich is how i found the true address, but i'd really like to be able to search things05:33
AfdalUh...  Devuan doesn't have winetricks in its repository?  Seriously?05:33
DashiePieAfdal: it does? I have it05:35
AfdalUh does it go by some other package name?05:35
DashiePiewill check05:35
DashiePie"winetricks"05:36
AfdalAre you on Chimaera?05:36
AfdalI don't see a winetricks in my repo05:37
DashiePiekind of, I'm not on the stable version, but I'm sort of in-between that and Beowulf05:37
DashiePienot sure why it's not showing up, though05:37
Afdalhow do I check repos through the web interface again05:37
gnarfacepkginfo.devuan.org05:37
agrisgnarface, did you see my question?05:38
gnarfacei don't know the answer to the memory access issue, but winetricks is one file05:38
Afdallol apparently it's in every release repo except Chimaera05:38
Afdalwhat's up with that?05:38
Afdalno wait I see it in Chimaera too05:38
agrisalright05:38
Afdalwell why the heck doesn't apt say it's there :/05:38
agrismaybe chimaera has some weird kernel level anti-exploit memory protection or something05:39
agristhat's getting in the way of my debugging05:39
gnarfaceforget contrib or non-free?05:39
gnarfacethe memory space thing might just be permissions related05:39
DashiePieoh, right, those05:39
Afdalno I didn't forget them05:40
AfdalI never even knew about them05:40
AfdalCan you explain the contrib repo to me05:40
agrisi mean it's all running as my own user so i would think that would work05:40
agrisunless there are additional permissions then standard posix and ringlevels05:40
gnarfacestuff in the contrib repo relies on non-free stuff but isn't necessarily itself non-free05:40
Afdalhow's that different from non-free05:41
Afdaloh okay05:41
gnarfacenon-free usually doesn't include source05:41
gnarfacewinetricks is a bash script05:41
Afdalso what does a sources.list entry look like for this05:41
gnarfacedeb http://deb.devuan.org/merged ceres main contrib non-free05:41
Afdalhttp://deb.devuan.org/merged05:41
Afdalchimaera/contrib?05:41
AfdalI'm on chimaera05:41
gnarfacedeb http://deb.devuan.org/merged chimaera main contrib non-free05:42
Afdalwait do I need both05:42
Afdaldoes that add two repositories05:42
agriswtf05:42
gnarfaceno i pasted a ceres one as an example first, you weren't supposed to take it literally05:42
agris'bc' is missing from the chimaera base install05:42
AfdalSo... I can just added a "contrib" to my main repo line and that adds another separate repo?  I don't need to make a new line in sources.list?05:43
gnarfacefor chimaera you should have 3 lines, and the should all have "main contrib non-free" at the end if you want to enable contrib and non-free too05:43
Afdalso I want it on chimaera-updates and chimaera-security too?05:44
gnarfaceyea, and the deb-src lines if you have them - just basically take what you had and append " contrib non-free"05:44
gnarface... to every line05:44
AfdalBut what if I just want contribute05:45
AfdalWhy are you tellin me to add non-free05:45
gnarfacemaybe just contrib but like i said they're usually closely interdependent05:45
Afdaloh05:45
Afdalhmm05:45
Afdal-_-05:45
gnarfacei honestly would get winetricks from winehq.org directly05:45
AfdalUncle Stallman would not be pleased05:45
gnarfaceusually you need the latest one anyway, i'm surprised it was even packaged05:45
gnarfacebut, i would recommend disabling contrib and non-free after you're done getting stuff from there05:46
Afdalo rly05:46
gnarfaceyea, if you leave them enabled during updates they tend to start dragging in a lot of cruft05:46
Afdal:}05:47
gnarfaceit's up to you though05:47
gnarfacei get annoyed by shit like colord breaking games and stuff05:47
gnarfaceymmv05:47
Afdalthanks for the tipz05:50
agrisgnarface, you don't need colord05:53
agrisisn't that gnomeshit?05:53
agrisyou can do the same thing with argyll-dispwin05:53
agrisi have this in my ~/.xinitrc05:54
agrisdispwin -I /usr/local/share/color/icc/VG248.icm &05:54
agrisit updates xprops within your xsession itself directly with the color profile you give it05:54
agrisit doesn't require running as a daemon afterwards or dbus05:54
agrismy monitor came with calibration data on the cd05:55
agrisAfdal, if you want a modern version of wine and dxvk for playing windows games you should just add the winehq debian repository05:56
agrisit works alright in my trials05:56
agrisremember devuan is still debian binary compatible05:56
AfdalWhere do I find that05:57
agrishold on05:57
Afdaldeb https://dl.winehq.org/wine-builds/debian/ bullseye main ?05:57
Afdalbullseye = chimaera right05:57
agrisAfdal, https://wiki.winehq.org/Debian05:58
agrisis it possible to configure chimaera to not kill processes with they segfault, but suspend them to be debugged later?06:25
agrisor to resume a killed proccess from a coredump06:25
rwpagris, Not exactly.  But you can have them dump a core file and then start a debugger later on the core file.06:31
rwpSee the output of "ulimit -a".06:31
agrishmm06:32
agristhankyou rwp06:32
agrisalso, i'm noticing that /bin/dash wastes a lot of space06:33
rwpEven though I said no there probably is some way to do things like that.  The Linux kernel has a lot of wild capabilities.06:33
agrisso much memory seems to be wasted by contigious null terminators06:33
agrislined up right against each other06:33
agrisas far as i understand, you only need one of those per char[]06:34
rwpBy what method are you deducing that dash is wasting space?06:34
agrisgdb's examine06:34
agrisi was curious what was at the edge of a string i wanted to replace06:35
agrisit was terminated by 0x00 as expected, but there was still another byte before the start of another string06:36
agrislooking, it was just another 0x0006:36
agriswhy put a 0x00 at the beginning of string though? and then i looked at a large area of memory surrounding it and it's just filled with 0x00s06:37
agrismust be some kind of compiler security thing06:39
agrisrwp, what's with all the padding? https://f.perl.bot/raw/ufbr1106:47
rwpThat's just raw memory dumps.  Without looking at the source data structures it is really hard to tell anything particular about it.06:58
rwpAlso for a shell so much of how much space is used depends upon what the shell did up until that point.06:59
rwpA shell that has been churning through many things will have malloc'd a lot more memory from the system.  And the memory pool may or may not be fragmented.07:00
agristy07:08
wikanhi. I feel bad comming here and only asking for help ;)16:31
wikanmust spend more time helping other ppl16:31
wikanbut, anyway, i need one more hint16:32
wikani am polish and I never had this issue before. We have special letters like ą, ł, ś, ć, etc. I changed keyboard and new one looks normal. Actually even almost everything works fine but not one letter. I can write small ś (right alt + s) but can't type capital (right alt + left shift + s). It works but only with right shift.16:34
wikanI don't know where should I look16:34
wikanwonder if I can use sxhkd to solve this problem :|16:35
Kittytoday's challenge: can I do an ipv6 only install...16:53
Kittyand the answer is: not if you don't have auto ipv6 address assignment setup, but you do have dhcp v4 available.17:02
Kittyhad to manually configure the network17:02
Kittyusing the console17:02
Kittyrather than the installer17:02
Kittyand it hangs at scaning the mirror...17:10
u-amarsh04need to fix some things that package orphan-sysvinit-scripts didn't quite get right17:24
wikanok, i found that my keyboard issue is probably electronic design.17:28
wikanwith rleft shift + alt, exactly s do nothing17:28
u-amarsh04purging and re-installing package orphan-sysvinit-scripts seemed to fix things (earlier version of the package didn't have full support for some packages)17:34
Kittywoooo, now I fixed my firewall rules on the router17:41
KittyI have working installer17:41
u-amarsh04Kitty, is any of your case worth documenting at dev1galaxy.org?17:55
KittyI didn't do anything special in the end. Main issue was my firewall config not allowing http/s17:57
u-amarsh04ah, ok17:58
Kittyfix that, then redo hte network config, when it gets to dhcpv4, hit cancel, then follow the enter manual stuff17:58
Kittyswitch to tty2, check the ipv4 hasn't happened, delete it if necessary17:58
Kittycontinue17:59
Kitty.calc 3918:28
rwpwikan, Are you using "xev" to help identify keycode events?  It's a useful debug tool to identify keyboard keycodes.  In the x11-utils package.18:34
wikanyes, xiv shows shift+alt+{ace} works, but s does nothing18:35
wikanprobably keyboard keontroller issue18:35
rwpHmm...  What input method are you using?  Personally I use Compose keys rather than AltGr for example.18:36
rwpAnd this is approaching the limit of my knowledge on things.18:36
wikandunno, how to check it?18:36
rwpI don't know how one would check but you would know how you are entering the keys.  For example ś I write with Compose (right PrtSc on my keyboard) then ' then s.18:38
rwpI have configured Compose to be convenient keys on my different keyboards using "setxkbmap -option compose:menu" in this particular case.18:38
wikanwell i just use right alt for polish letters18:38
rwpI think (not sure) that might be the AltGr input method. https://en.wikipedia.org/wiki/AltGr_key18:39
rwpYes.  Looks like it.  https://en.wikipedia.org/wiki/AltGr_key#Poland18:39
rwpJFTR to be complete this is the one I am using https://en.wikipedia.org/wiki/Compose_key18:41
rwpBoth are fine and either is in use.18:41
wikan...reading18:43
wikanrwp do you know how can I put "Ś" from keybind? I use sxhkd and tried run xvkbd but it has problems with special characters18:46
wikanzółw becoms w18:46
rwpI do not.  First I have heard of sxhkd.  Sorry.  But I am not very knowledgeable about this end of things.  I live in Colorado and it is all US English here. :-(18:46
wikanthanks anyway ;)18:47
rwpHow are you getting ś and Ś typed in for your examples here?  A different keyboard?18:47
wikannope, Ś works with right shift only18:47
wikanrest ĄĘĆŃŁ works with left too18:48
wikanhere in poland we "naturaly" use alt and left shift, so right shit for Ś is annoying and hard to switch ;)18:48
rwpBy way of experiments to gather more information I would try different keyboards.  Because I have seen problems with different keyboards not passing "chorded" keys through correctly.18:49
ltsYou can use xmodmap (or some graphical tools) to create your own keymap18:49
rwpAlso whenever I unplug and plug in a new keyboard I must reset my keyboard configuration.  It is lost when any keyboard changes.18:49
wikani think this keyboard has controller issue18:49
wikanlts i tried to switch shifts, but xiv says there is "phisical" issue18:50
rwpI know that some keyboards are specifically sold as "gaming keyboards" with better controllers to handle key press events that happen on top of each other.18:50
wikanjust this one combination left shift + right alt + s does nothing at all18:50
rwpI feel your frustration.  That would be so very annoying! :-(18:50
wikanrwp: it is cheep one. i always use keyboard after trying to type and I ask myself if I feel keys good. Well this is first keyboard with this issue18:51
wikan(fix) ^ i always buy keyboard18:52
rwpwikan, lts suggestion of exploring xmodmap is also a good one.  It's possible it might be able to configure things.18:52
rwpI understand.  I am also very particular about keyboards.18:53
wikantried. that's why I think it is internal keyboard controller issue. Phisical connection betweens keys.18:53
rwpFor xmodmap help there is a very old program called "xkeycaps" which can be useful to identify keys and key code and can write out xmodmap files too.18:53
rwpIf I use xkeycaps to help me with an xmodmap file then I always just go and figure out what it is trying to set and then reduce it to a smaller readable configuration.18:53
rwpFor example I make Capslock into Control_L, make left control into Escape, make the "Windows" key into mod4 with: https://paste.debian.net/plain/122170618:55
rwpAnd if I change keyboards then I must reset everything with: https://paste.debian.net/plain/122170718:55
rwpWhich is basically setxkbmap followed by xmodmap followed by xset in that order.18:56
wikanwell now i use xmodmap only for my mouse because keys are fine or seems impossible to fix (Ś) ;)18:56
wikani mostly write in vim so I map Ś to alt+2 and it is max i can do ;)18:59
wikani know worst keyboard issues like space that works only if you hit a key in right spot19:00
rwpSince you mentioned vim first :-) I use Emacs and there is a C-x 8 key mapping available for input and easy to map in any key sequence.19:01
wikanrwp: i need an editor, not second operating system :P19:02
rwpThis is getting OT but my issue with using Android as a thin client is that Control-SPC is eaten by Android to change language and I use that all of the time.  (To set text marks.)19:02
wikanandroid devices have keyboards? O.o19:04
rwpSure.  I use a Bluetooth keyboard with my Android phone and tablet all of the time, for text messaging with friends.  They can swipe all they like but I prefer a real keyboard.19:05
wikanoh19:05
rwpAnd if I could tell Android to pass Control-SPC through without grabbing it for changing language packs then I would use a small tablet with a BT keyboard for a light weight thin client instead of hauling around a much large laptop.19:05
rwpBut if we are going to chat about that more let's go over to #devuan-offtopic to do so.19:06
wikandone19:06
* _ds_ sees a libnss3 update related to https://googleprojectzero.blogspot.com/2021/12/this-shouldnt-have-happened.html19:07
gnarfacedo you guys know if the chromium build in beowulf enables dns-over-https by default?21:58
gnarfacea recent ceres update to firefox-esr re-enabled it sneakly on the down-low, as well as credit-card autofill, so now i'm paranoid21:58
Jjp137gnarface, so based on this: https://bugs.chromium.org/p/chromium/issues/detail?id=1127671 ...DoH was introduced in Chrome 91, and a commit on October 1, 2021 enabled it by default, which I think would mean that it's enabled by default in Chrome 95+22:16
Jjp137beowulf is stuck on 90 (in fact, chromium was removed from Debian testing recently b/c it's unmaintained it seems)22:16
gnarfacenoted, thanks Jjp13722:16
Jjp137oh the above applies to Linux versions; other platforms had DoH enabled way earlier22:17
Jjp137and np22:17

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