libera/#devuan/ Thursday, 2021-05-27

xrogaanit isn't00:22
lillithso what yall up to?03:07
golinuxWaiting for support questions to come in.03:08
golinuxChat is better on #devuan-offtopic03:09
masonOr more voluminous anyway.03:10
lillithahh okay, well i do have a support question now that Im thinking about it but I did also join devuan offtopic.  So I installed fractora on my old 1999 hp and when I was setting up my account I didnt check admin user on my root user.  While I did re-enable sudo I cant for some odd reason mount certain things on my base account as it says incorrect permissions or something like that.  Theres others perms I can't think off the03:12
lillith top of my head but thats the main one as my main use for this pc is to transfer scsi hard drives and stuff like that03:12
masonlillith: But root can do it?03:13
lillithroot can do it but again I have to log in as root that way.  Its much easier for this old pc to boot up my window manager, go into pcmanfm and then mount the hard drives that way03:15
masonCan you run pcmanfm from sudo?03:17
fsmithredpcmanfm should work with pmount or udevil03:17
fsmithrednot sure if you have to configure that in settings03:18
lillithis there a group I can associate my account with that typically is there prior to installation I can simply put my account in? its already in root and sudo but for some odd reason admins not an option\03:19
lillithim doing most of this thru terminal03:19
fsmithredif your user is in the sudo group, then all commands should be available with sudo03:20
golinuxWhat is fractora?03:20
fsmithredI'm guessing it's refracta03:20
fsmithredbut that's a guess. Good question.03:20
golinuxThat thought crossed my mind . . .03:21
brocashelmfractured devuan03:21
golinuxIt was fractured Debian first03:21
fsmithredI grew up on Fractured Fairy Tales03:21
golinuxDid you find that in the OT library?03:22
lillithsorry meant refracta lmao03:24
fsmithredlillith, run 'sudo echo $PATH' and see if it includes sbins03:24
lillithhttps://i.imgur.com/1zzZyck.png03:25
lillithheres what I got03:25
lillithalso for some odd reason when i type sudo group it says command not found03:26
fsmithredyeah, I know that root's PATH changed in beowulf03:28
fsmithredI wasn't sure about sudo03:28
fsmithredas root, you can type the full path to the command03:28
fsmithrede.g. 'sudo halt'03:29
fsmithredno03:29
fsmithredsorry, I'm tired03:29
fsmithredbrb03:29
fsmithredsudo /sbin/halt03:30
fsmithredor 'su -' to become root instead of just su03:30
fsmithredthat way you get root's real path that includes /sbin, /usr/sbin03:31
fsmithredthere's a section about this in the release notes03:31
lillithahh ok03:32
fsmithredhttps://files.devuan.org/devuan_beowulf/Release_notes.txt03:32
masonor sudo -i03:32
fsmithreddo you get the sbins that way?03:32
masonShould.03:33
fsmithredwhy?03:33
fsmithredis that equivaltent to 'su -'?03:33
fsmithredyup03:33
fsmithredlogin shell03:33
fsmithredthere you go, lillith. Do 'sudo -i'03:34
lillithokay nice03:34
lilliththanks03:34
fsmithredthen you have a root term03:34
BeerIIRC -i on sudo loads all the user files as on a standard login03:34
masonDon't even need the shell. sudo -i pcmanfm and similar03:34
masonsudo -i route03:35
fsmithredBeer, I'm reading that now03:35
fsmithredlillith, please test03:35
fsmithredand let us know if it works03:35
BeerI have never been comfortable with su03:35
Beerdoes 'su -' take care of using the user's shell, setting the prompt and such?03:36
lillithim testing it right now03:36
masonBeer: - is a shortcut for --login03:36
fsmithredBeer, it drops you into /root and gives you root's environment03:36
masonFor my next trick, I want to see how painful it is setting up clevis/tang on Beowulf.03:37
masonOh, it's packaged. \o/03:38
BeerI just tested it. THe main difference seems to be 'su -' uses the target user's auth, while with 'sudo -i' auth is done through sudo's rights, not the target user, allowing to take control of the destination user whatever its auth states is set up. Have I said anything incorrect there?03:39
lillithokay so on the left is pcmanfm open with the sudo -i command and on the right is it open with my average user03:39
lillithhttps://i.imgur.com/KpSPMXI.png03:39
lillithyoull notice with root the unmounted volumes dont show up03:39
BeerI am referring to invocations like: 'su - user' vs 'sudo -i -u user'03:39
Beerroot is tricky. I never, ever, wanna login with that03:40
lillithI login with root in order to access the drives03:41
lillithbut it feels dirty03:41
dissidentlol03:41
lillithcause everything gives error messages03:41
lillithnot error messages03:41
lillithmessages like this program wont perform the same and shit03:41
masonlillith: your screenshot looks about right03:42
masonIs this not what you want?03:42
lillithwhat I want is to give my account the authority to mount drives without having to access the root account with xfce403:42
masonlillith: How about the "user" property in fstab?03:43
BeerAdd your account to the sudo group?03:43
lillithmainly cause xfce uses up a bunch of ram but also cause the transfer process is much more seamless on wmaker03:43
Beerthen use sudo to perform elevated tasks03:43
brocashelmhow much ram is your xfce using on a fresh boot?03:44
lillithheres the groups it says it uses03:44
lillith seems to be 'su -' uses the target user's auth, while with 'sudo -i' auth is done through sudo's rights, not the target user, allowing to take control of the destination user whatever its auth states is set up. Have I said anything incorrect there?03:44
lillithwait wrong message03:44
masonlillith: How about the "user" property in fstab?03:44
lilliththomas root cdrom floppy sudo audio dip plugdev netdev03:45
lillithwhats the command for fstab?03:45
masonman fstab03:45
fsmithredyou really shouldn't have to do any of that03:51
lillithfsmithred, what should I be able to do?03:52
fsmithreddid policykit-1-gnome get removed along the way?03:52
fsmithredI plug in an external drive, an icon pops up on the desktop, I double-click the icon and it mounts and opens thunar03:52
fsmithredwhen I'm in openbox, I use pmount with spacefm to mount external drives as user03:53
lillithlemme try usermod03:53
fsmithredbut that should also work with pcmanfm03:53
BeerWell I didn't really understand the problem in the 1st place. WHich partitions generates errors? ON read? Write?03:53
BeerAnyhow, 4am here...03:53
BeerOverdue sleep time03:53
masonfsmithred: that's udisks2 doing that for you, which is deeply problematic software03:54
masonThe cost of "I plug in an external drive, an icon pops up on the desktop" is somewhat too high for my tastes.03:54
fsmithredI just tried it in pcmanfm03:55
fsmithredplug in a usb stick, it shows up in the left panel, click on it and a window pops up asking me if I want to open it in file manager03:55
lillithokay just added all the users to my account using sudo usermod -a -G (perm) (username)03:56
lillithget some sleep Beer03:56
lillithit generates an error trying to mount it03:56
masonlillith: You didn't like the user property as a nice shortcut?03:57
lillith?03:58
masonDig a little and you'll realize the facilities are there for the system to do quite a bit of grunt work for you.03:58
fsmithredwhat changes did you make other than adding pcmanfm?03:59
lillithbrocashelm https://i.imgur.com/Nc8ywjY.png03:59
masonAnyway, bedtime for me. o/04:00
lillithfsmithred adding hfs+ support, amiga drive support, adding several window managers (icewm, blackbox) , removing firefox-esr in place of surf dillo and midori04:01
fsmithredyou started with a refracta iso or pure devuan?04:01
lillithrefracta iso04:01
fsmithredis pmount still installed?04:02
lillithbasically used plop and installed it via usb04:02
lillithyes pmount is installed04:02
lillithive had this problem since I installed refracta, basically it most likely occured as when I first set it up i unchecked root permissions and I think admin permissions too04:03
fsmithredyou have a root password?04:04
lillithyeah04:04
fsmithredthen the root account is active. The path stuff is "normal"04:04
fsmithredand if your user is in the sudo group, then that should be good, too04:05
lillithand again I can mount my shit on the root account but basically only in xfce4 (im mainly talking about non terminal stuff in this case)04:05
fsmithredmounting from desktop icon?04:06
lillithsince I added my account to all the other perms should I reboot to see oif it worked?04:06
fsmithrednot sure what you added04:06
fsmithreddid you add yourself to all groups?04:06
lillithroot,cdrom, floppy  audio, dip plugdev and netdev04:07
fsmithredok, but ordinary user should not be in root group04:07
fsmithredthat's a security problem04:07
lillithokay04:09
* Xenguy blames Ubuntu for the 'sudo' craze ...04:15
fsmithredand 'chmod -R 777 /etc'04:22
XenguyUbuntu recommended ^^ ?!04:37
ltsI've seen newbies using "chmod 777 foo" as a panacea for access problems. Especially for conf files. Newbies often seem to use ubuntu, so I guess there is a perception fallacy in play04:44
ltsThe sudo craze and snap madness are totally on canonical though04:44
XenguyUgh04:45
fluffywolfthe only time I 777 random things is dynamically created /dev entries when I don't want to try to fuck with udev config and a group for the type of device and putting a user in that group and etc.04:48
fluffywolfletting normal users access hardware is surprisingly annoying.04:49
brocashelmubuntu is also the reason why aptitude -> apt05:07
yeti777? linux98? why not do everythin as root?05:24
DPAyeti: To keep the most important thing safe from hackers: DRM KMS! Would be bad if they could just change the resolution...08:12
user_Hi. Does anyone know what can be done for xfce4 Window Menu plugin, to show which app caused a notification? It blinks in the tray and I have no idea which of a dozen or so windows in it's opened list caused it, nor can I turn off the blinking.08:12
user_bummer, xtermset -T does not work with xfce4-terminal08:20
user_printf '\033]0;%s\007' "title"; also does not work08:24
user_But Ctrl-Shift-S works. Now how do I do that from cli...08:24
user_Anyone?08:24
DPAuser_: Check if your $PS1 overrides the title.08:26
user_does not. There's --dynamic-title-mode=mode but that does not help either.08:27
user_ok, here's the strategy: ensure xfce4-terminal is *always* launched with option --dynamic-title-mode=replace (not none), then the above printf works, and also xtermset -T title08:29
user_works08:29
user_Now, where is xfce4-terminal hard coded in xfce4 launcher...08:29
user_also, my tray notification has been blinking for days. Other than deinstalling and reinstalling the tray app I see no way to make it go away. I have visited all open and not open windows and none has a current notification.08:30
user_The cli coded in the tray launcher for xfce4-terminal is: exo-open --launch TerminalEmulator --dynamic-title-mode=replace -- the last part does not work, how do I pass cli options to xfce4-terminal in the cli?08:32
user_/usr/bin/exo-open is a binary, not a script, can't edit it easily08:34
user_[why is it not a script?]08:34
DPAI can change the xfce4-terminal window title without that option. I haven't updated it in a while, though.08:35
user_edited launcher to: xfce4-terminal --dynamic-title-mode=replace08:35
user_It's not about upadating, although the latest x11 hole patch may have caused the updates to default to something which disallows injecting color names into xterms in general...08:35
DPAIf I open the settings of xfce4-terminal, I can change that setting there.08:37
user_What setting? The title? I need to set it on cli.08:39
user_Why does /usr/bin/xfce4-terminal.wrapper exist? It seems to sanitize the options on startup.08:39
DPAuser_: dynamic-title-mode. It can be configured right in the GUI.08:40
user_Okay, apparently the wrapper does this sanitizing,08:40
user_DPA: I don't care about the gui, it needs to be set on app start and later by the app running in the terminal.08:40
DPAuser_: Using the GUI, the setting is persisted. It'll stay on next start.08:42
user_What setting. I do not have a way to set --dynamic-title in settings08:44
user_Oh now I see what you mean. Let's try this.08:45
user_I've edited the /usr/bin/xfce4-terminal.wrapper which is Perl adding at top: push(@args, '--dynamic-title-mode=replace');08:45
user_This should start the term with that default always.08:45
user_And it still does not work from tray launch icon.08:46
user_Even if I set it in settings DPA stil does not work08:46
user_The test is to issue this command in the terminal: printf '\033]0;%s\007' "title"08:47
DPAI'm not sure what could cause that. It works for me (if I change my PS1 not to override it again right afterwards).08:48
user_Say again? PS1?08:48
DPAYes, PS1. On my system, it contains "\[\e]0;\u@\h: \w\a\]...". So after I enter a command, and the next prompt appears, it set's the title. So I need to change PS1 so it doesn't contain that.08:50
DPAAnd as to why xfce4-terminal.wrapper exists, I think that's so it can provide x-terminal-emulator. Variouse terminals can be made to provide it using the alternatives system, so those need the same baseline set of options.08:55
DPAsudo update-alternatives --list x-terminal-emulator08:55
user_On my system Beowulf PS1 has no bearing on terminal title at all08:56
user_Now I am lost, unable to make dynamic title work at all, even with xfce4-terminal launched from cli with option --dynamic-title-mode=replace set manually08:59
user_What could be going on?!09:00
DPAOn by system, PS1 is set in my ~/.bashrc, which got created when I created my user account using adduser. I may have inherited that from an old installation. No idea what could cause setting the title not to work in general, though.09:01
user_I have no clue either. Where is the "default" cli used by xfce4-terminal when opening a new tab?09:04
user_I have ~/.config/xfce4/terminal/terminal.rc09:05
user_That has 'TitleMode=TERMINAL_TITLE_REPLACE' in it which is okay as I set it so09:06
user_After edit in app Settings it changes as expected09:07
user_Ok, I am somewhat stumped by this. Letting it rest for a while. Tray icon still blinking.09:09
user_DPA: what's your $PROMPT_COMMAND ?09:14
DPAI don't have it set at all.09:19
user_Okay, clueing up a bit: PS1 overrides the cli options since it (re)sets the title dynamically09:20
user_So, to make it work, unset PS1 then issue the set title commands.09:20
user_note PS1 is not reported in env, use echo $PS1 to see it09:20
user_mine is \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ -- wow09:21
user_one of those escapes sets the title too09:21
DPAIt's the \[\e]0; until \a, I think. \e is the same as \03309:22
DPAAnd \a is BEL is \00709:23
user_The title setting escape sequence I found online is printf '\033]0;%s\007' "title2"09:24
user_[tested]09:24
user_So, again, to get the title working, unset PS1 or set PS1 to something without the escape sequence, thereafter the title setting works with printf as above or with xtermset09:26
user_erm09:26
user_What did I do again to reverse colors on screen in irc09:26
user_AND the blinking on the tray stopped09:27
DPAMaybe the \a or \007 somehow caused the blinking? Here, it should just terminate the escape sequence, but if used on it's own, it could flash the terminal, beep the PC speaker, and such stuff, depending on the terminal emulator.09:38
oliviermHi, I have a problem to register to the official Devuan forum . I have the following message Unfortunately it looks like your request is spam. If you feel this is a mistake, please direct any inquiries to the forum administrator at IRC #devuan at irc.libera.chat09:46
oliviermCould you help me ? Please .09:47
onefangI think the person that can help you might be asleep right now.09:48
oliviermok I tried later . Have a nice day .09:49
masonFWIW, you don't have to use the numeric codes for the escapes.15:53
masonMy .shrc does different things depending on whether it's on Bash or ksh or whatever, but you can say things like: PROMPT_COMMAND='printf "\e]0;$USER@$HOST\a"'15:54
masonof if I'm in an xterm, HEADER=$(printf "\1\r\1\e]0;$USER@$HOST\a\1") and then PS1='$HEADER$USER@$HOST$WIN${PWD}$PROMPT'15:54
masonThere's a fun interaction between how shells count string lengths and how you specify non-printing characters.15:55
masonDifferent shells do better with different guards, in my experience.15:56
masonHere's the complete excerpt from my .shrc: https://bpa.st/TSQQ15:57
omenuser_: xfce has at least this notification panel item18:30
omen"notification area" and "notification plugin"18:31
ShorTieany one got any idea's on this apt --fix-broken install  ,  https://dpaste.org/od8e18:54
tuxd3vShorTie, how do you got that error?19:08
tuxd3vin a debootstrap?19:08
tuxd3vdoes you have network?19:12
tuxd3veudev depends on {debconf,libblkid1,libc6,libkmod2,libselinux1,adduser,libeudev1,lsb-base,util-linux}19:14
tuxd3vand it replaces udev package19:15
tuxd3vone option is to install all dependencies and then retry..19:17
tuxd3vbut its a weird error19:17
tuxd3vhave you tried to remove only udev package first?19:19
mdtShorTie: do you have a self compiled kernel? you can check /var/lib/dpkg/info/eudev.preinst which checks kernel symbols which your kernel seems to lack20:15
fsmithredegrep -q "^[a-fA-F0-9]+ T \.?sys_${symbol}$" /proc/kallsyms20:25
fsmithredThat's part of the test in the eudev preinstall script. When I run it in terminal, it returns nothing. But all the alleged missing configs are in my kernel config.20:31
fsmithredI think this line is the problem:20:39
fsmithredlocal needed_symbols='inotify_init signalfd accept4 open_by_handle_at timerfd_create epoll_create'20:39
fsmithredTrying to run those through the for loop doesn't work because that's not an array.20:39
GyrosGeierisn't that a shell script?20:40
fsmithredyes20:40
GyrosGeierspaces are fine as a separator in a for loop if IFS contains a space20:41
fsmithredfor symbol in "$needed_symbols"; do <that grep I posted above>20:41
GyrosGeierthe "" might be an issue20:41
fsmithredbut $needed_symbols is just a single item20:41
fsmithredif it went: for symbol in inotify_init signalfd accept4 open_by_handle_at timerfd_create epoll_create ; do...20:42
fsmithredthen it works20:42
GyrosGeieryes20:42
GyrosGeierthe "" need to go20:42
GyrosGeierthe '' in the definition need to stay so it isn't interpreted as an env command20:42
fsmithredI added that because it didn't work without the quotes20:43
fsmithredbut now it does work20:43
GyrosGeiermaybe the IFS value was wonky20:44
GyrosGeierbut that shouldn't happen20:44
GyrosGeierI believe dpkg makes sure to call maintainer scripts with a sensible $IFS20:44
PsynoKhi0hi, how much disk space should I expect an arm-sdk build for raspberry pi to require?20:47
fsmithredok, I can get the code to grep for all the symbols, but it still says they're missing20:47
GyrosGeierfsmithred, well, are they in /proc/kallsyms?20:50
GyrosGeierPsynoKhi0, no idea what's in the SDK. Compilers aren't that expensive20:51
GyrosGeierif the RPi is running Linux, just use the normal armhf cross compiler20:51
fsmithredGyrosGeier, they are. Multiple times.20:51
GyrosGeierPsynoKhi0, apt install g++-arm-linux-gnueabihf  -- that should have most of what you need for Linux20:53
fsmithredbut they don't match the search pattern20:53
PsynoKhi0GyrosGeier: the SDK clones the kernel and firmware git repos20:53
fsmithredoh, and that's the version of eudev that I have installed here.20:54
PsynoKhi0I'm considering cloning preemptively over Tor20:54
GyrosGeierfsmithred, hmm, the regex seems to be rather restrictive20:55
GyrosGeierat least for me, these don't exist either20:56
GyrosGeier0000000000000000 T __sys_accept420:56
GyrosGeierthat's not "an optional dot", that is "two underscores"20:57
GyrosGeierthe __sys variants are seldom too20:58
GyrosGeierit seems the correct match on x64 would be __x64_sys_${symbol}20:59
j9https://web.libera.chat/#devuan  YEAH!!!!!21:37
j9finally21:38
j9o/21:38
user_Where does Devuan stand in the small distro list... https://www.theregister.com/2018/05/16/contributing_to_keep_small_linux_alive/21:45
user_Also, was reading the freenode dictatorship has dropped all pretenses and caused another few dozens of reluctant channels to move over to libera. Among them, our friends at Ubuntu!21:46
user_Posting link on #devuan-offtopic21:47
user_fsmithred> egrep -q "^[a-fA-F0-9]+ T \.?sys_${symbol}$" /proc/kallsyms >> fsmithred the ${symbol} needs more escaping in the regexp to work21:48
fsmithredmore escaping?21:49
user_fsmithred: probably something like egrep -q "^[a-fA-F0-9]+ T \.?sys_\${symbol}$"21:49
fsmithredwhat is the \.?sys part about?21:49
user_note extra \$21:49
fsmithreddoes that mean it's looking for a literal dot followed by one character followed by sys21:50
fsmithred?21:50
user_\. escapes the . ;; ? signifies zero or one '.'21:50
rwpI think this "^[a-fA-F0-9]+ T \.?sys_${symbol}\$"21:50
rwp??21:50
rwpNo.  Ignore me.  I have not had enough sleep last night.  Sorry.  Strike that comment please.21:50
user_sys_${symbol} is substituted by something else so just sys_[_0-9A-Fa-f]+$ should match there21:51
fsmithredI think this... "^[a-fA-F0-9]+ T .*sys_${symbol}$"21:51
user_imo21:51
user_.* means any char there21:52
fsmithredbut I don't know what it's actually supposed to find21:52
user_the ${symbol} is wrong21:52
fsmithred0000000000000000 T __x64_sys_epoll_create21:52
fsmithred0000000000000000 T __ia32_sys_epoll_create21:52
user_okay that's something21:52
user_this works: egrep "^[a-fA-F0-9]+ T .*_sys_[_0-9A-Za-z]+$"21:56
user_note no -q ; -q means only set exit status, no printing.21:56
user_fsmithred:21:56
* user_ takes a break and then will go zz21:57
user_The ${symbol} is a substitution in the pattern, done before egrep runs, iow, in the script you took it from, it is set to some value like "_epoll_create" and then the egrep line will search for that symbol21:58
fsmithredyeah, I know that21:59
user_Also I think the $ at the end needs more escaping, to prevent bash from trying to subst it too, not sure now22:01
rwpI guess I will peep back in and say that though "$" does stick as a $ that pedantically it should be backslashed "\$" to guard against variable expansion.22:01
user_No, it works22:01
user_rwp: they want expansion there.22:01
rwpIt works as a case of not failing.  But pedantically it should be escaped.22:02
user_they WANT it. subst ${symbol}22:02
rwpI am not talking about ${symbol}.  I am talking about the $ at the end of line to match end of line.  That's the one that should be backslashed.22:03
rwpIt's "working" now in a very similar case to echo *.*.*.*.* working to return exactly when there are no files in the current directory matching with four dots.22:03
user_The $ at the end works fine, because bash is a quirky shell :) try; echo -e "abc$'22:03
user_The $ at the end works fine, because bash is a quirky shell :) try; echo -e "abc$" <- fixed22:04
user_greycat should explain this better.22:04
rwpIt works only because there is no other match for the dollar expansion.  But its "dirty" in that it doesn't follow the quoting rules.  It exploits the dollar expansion rules.22:05
user_Then there's the fun in doing echo -e "ab$c" ; with c undefined22:05
user_rwp: yes, quirky :)22:05
rwpWhich is why standard is better than better.  Better to follow the rules and have a fully complying syntax.22:06
user_In fact, fsmithred's search was failing because the actual variable expanded pattern was "^...sys_$" with ${symbol} substituted with ""22:06
rwpI did not see what $symbol was set to and so did not know how it was going to be expanded.22:06
user_rwp: but then there would be no interesting discussions on irc and forums, and no 10 different solutions online, most of them wrong.22:06
* rwp laughs22:07
user_rwp: the symbol was unset in fsmithred 's env for sure, he(?) took the re and ran it as is.22:07
fsmithredlook at /var/lib/dpkg/info/eudev.preinst22:08
buZzignore the nickchanges , some troll was impersonating me, claimed and grouped the nicks to prevent further abuse22:08
user_fsmithred: for symbol in $needed_symbols; do ...22:09
fsmithreduser_, yeah that's the part22:09
user_local needed_symbols='inotify_init signalfd accept4 open_by_handle_at timerfd_create epoll_create' <-22:09
user_So what is missing in fact?22:09
fsmithredand the result is that error message that says kernel configs are missing when they are actually present22:09
user_Ok, here's the trick: that script runs under sh not bash!22:10
user_Try to execute it under bash for fun. I am not sure but there may be trouble for sh in there.22:10
fsmithredthe problem is that ShorTie can't upgrade eudev because of the error22:10
fsmithredand I've seen this before, but I can't recall the details.22:11
fsmithredthere was a similar problem with kvm group, but that was with the postinst script22:11
user_I ran the script section under bash, just the for loop, it returns okay, missing_symbol=022:12
user_So, can you try running just that function under bash?22:12
fsmithredI've done it manually in terminal22:12
user_and?22:12
fsmithredset the variable and then ran the lines22:12
user_in terminal the shell is bash, different behavior from sh22:13
user_the shebang in the top of that script runs it under sh22:13
user_my sh is dash22:13
user_what is your sh22:13
user_so now MAYBE if you edit the last $ in the regexp to \$ as rwp said, it will work22:14
GyrosGeierthese symbols aren't in kallsyms22:14
user_But asking in #bash will provide certainty22:14
user_GyrosGeier: huh?22:14
GyrosGeierI've checked on my desktop box with Debian stock kernel22:14
GyrosGeierthat should have all the features enabled22:14
GyrosGeiersyscalls are named __x64_sys_${name}, not \.?sys_${name}22:15
fsmithredand those do exist in the file22:16
fsmithred__x64_sys_epoll_create22:16
fsmithred^^^ like that22:16
user_fsmithred: if I run that section of script under bash, it works, if I run it under sh, it fails22:16
buZzkid still discovering how irc works, so boring22:16
user_No, it works in both fsmithred22:17
user_buZz: kid teaching, fast: -ob $opnick $kidnick22:18
user_fsmithred: and the \$ does not matter22:18
buZzyeah parazyd seems to have removed my +o :(22:19
user_fsmithred: add: echo "${symbol}" in the for loop and see what it really does22:19
buZzfsmithred: could you please /mode +b $a:kreyren , he's trying to impersonate me22:20
fsmithredok, I saw that earlier and didn't know what to make of it22:21
buZzhe's trolling because he didnt like me voting for fsf to move to libera, i think22:21
buZznot sure whats the motivation22:22
buZzoh22:22
buZzha22:22
buZzwant me to?22:22
fsmithredI didn't do that22:22
buZzno, i did22:23
fsmithredoh22:23
fsmithredgood22:23
buZzpm'd parazyd to get back in chanserv22:23
parazydEverything ok now?22:23
fsmithredlooks like it22:23
buZzyep22:23
buZzwell, until it isnt22:23
buZzbut fine for now22:23
buZzthanks both :)22:23
fsmithredmeeting time. bye22:24
redrickhmm.22:51
masonrm: A hidden one.22:52
rmwhat22:53
masonrm: Apologies. Meant that for redrick.22:54

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