libera/#devuan/ Saturday, 2021-07-17

aplainzetakind(btw if I run it after I get into xmonad, it runs fine)00:00
aplainzetakindgnarface: ^00:00
aplainzetakindThe latter still with dbus-launch.00:00
gnarfaceshow me the contents of your .xinitrc?  maybe the issue is syntactical00:03
gnarfacedon't paste it in here, i don't know if they have the kick bot up00:03
gnarfaceeither use paste.debian.net or just /msg it to me00:03
gnarfacewhat you typically want is one or more programs called and then backgrounded with a "&" then the window manager called last but not backgrounded00:04
gnarfacei'm not familiar with xmonad but i can only assume that you didn't need this file before because xmonad was the system default window manager as defined by the debian alternatives (automated symlinks) setup, and probably the xmobar program was then launched from within xmonad's own startup programs feature, whatever that's called00:06
aplainzetakindpaste.debian.net/120461900:06
aplainzetakindNo I always did this stuff manually.00:06
gnarfacehmm, but this is not your ~/.xinitrc00:06
aplainzetakindIncluding on devuan a couple of days ago :)00:06
kennethdHi all, I am installing devuan on a thinkpad x1 carbon with intel ax201 wireless. I am using the chimaera installer, as the beowulf kernel does not support ax201. I have downloaded firmware-nonfree & whichever package provides regulatory.db & prepared a usb stick with the files, however the list of missing firmware files provided by the error lists 21 *.ucode files, and even after searching past00:06
kennethdversions, I've only been able to come up with half a dozen. Error is https://i.imgur.com/OBEo3gR.jpg -- I'm not sure how to proceed, perhaps just copy the most recent .ucode file I have in place of each of the missing ones?00:06
aplainzetakindI broke what I set up by messing with nvidia proprietary drivers.00:07
gnarfaceaplainzetakind: oh, maybe it is, sorry.  yea i don't source /etc/X11/Xsession from mine either00:07
aplainzetakind...and decided to do a fresh install.00:07
gnarfaceaplainzetakind: but this will probably work if you just add a "&" to the end of lines 2-400:07
aplainzetakindBut added APT::Install-Recommends "false" pretty early on.00:08
aplainzetakindWhich probably made something which just worked not work.00:08
gnarfacekennethd: looks like you also need the iwlwifi firmware from non-free (it would probably be easier to use regular ethernet to install if furnished)00:09
aplainzetakindgnarface: Backgrounding the xmobar line indeed works.00:10
aplainzetakindBut why do I even need that dbus-launch is my problem.00:11
kennethdgnarface: no ethernet port, unfortunately.  yeah, the usb stick i have prepared is ising iwlwifi from firmware-nonfree00:11
aplainzetakindNormally xmonad starts xmobar, it didn't even use to be in my .xinitrc.00:11
gnarfaceaplainzetakind: i don't actually know, none of this stuff is in mine.  mine starts a mouse handling daemon then enlightenment00:11
gnarfacekennethd: you're gonna have to look it up but there's a pretty easy way to supply it to the installer i think you can just put the package on a usb disk... it might need to be in a subdirectory off the top directory called ./installer or ./firmware or something like that, i forget exactly00:12
gnarfacehttps://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=firmware-iwlwifi00:13
gnarfacemake sure you download the right version00:13
kennethdgnarface: right, that's what i've done, but it seems the installer wants .ucode files not provided by the package, nor the upstream kernel.org sources00:14
gnarfacekennethd: hmmm. disturbing, i wonder if it needs a newer version even than the one in chimera?00:14
gnarfacekennethd: if so, it'd probably need a newer kernel as well00:15
gnarfacekennethd: stick around if you can.  maybe someone else has a solution that doesn't involve putting the harddrive in another computer temporarily00:15
kennethdgnarface: no, i've looked at every version on kernel.org going back a year. it seems like the installer is still looking for versions that have been removed00:16
kennethdwill do, in the mean time i will try to trick it by copying newest version in place of missing ones00:17
kennethdyeah, not the answer, maybe it is just a directory structure thing...00:24
kennethdgnarface: aha, moving the files into a 'firmware' directory per https://wiki.debian.org/Firmware#Firmware_during_the_installation allowed it to move on to the next bit of missing nonfree fw, thanks00:30
gnarfaceoh, cool, good to hear00:38
gnarfaceaplainzetakind: check out the man page for "update-alternatives"00:39
gnarface"update-alternatives --display x-window-manager"00:40
gnarface... i think00:41
aplainzetakindgnarface: No alternatives there. XMonad is not installed by the package manager.01:25
gnarfaceaplainzetakind: oh, well that throws a monkey wrench in it for sure.  that'd be why you need the ~/.xinitrc01:26
gnarfaceit's sortof a legacy fall-back you can still use if you gut the debianized stuff01:27
gnarface(which i do frequently too)01:27
gnarfacethough i'm not sure it actually *needs* to be packaged for alternatives to work, you might be able to add your own alternatives manually just by creating the proper symlinks01:27
gnarfacei still use ~/.xinitrc anyway just because that's how i've always done it and it's less typing for me01:28
aplainzetakindI remember putting an Xsession related thing in the previous (functional) .xinitrc, which I forgot to back up.01:28
aplainzetakindThe default /etc/X11/xinit/xinitrc has the single line `. /etc/X11/Xsession`01:30
aplainzetakindBut taking that line causes strange behaviour.01:30
gnarfacedid you have a different graphical login before?01:30
aplainzetakindNo.01:30
gnarface update-alternatives --display x-session-manager01:31
gnarfaceanything from this^01:31
gnarface?01:31
aplainzetakindI'm more or less doing exactly the same things I did a few days ago.01:31
gnarfacehuh01:31
aplainzetakindNope, no alternatives.01:31
gnarfacei think some of these global sesssion files can be altered by package choice, and in the past i've had to add customizations to avoid bugs01:31
gnarfacebut where before i didn't think the install order mattered, maybe you have run into a case where it does01:32
gnarfaceyou have that one line commented out at the top of your ~/.xinitrc that sources /etc/X11/Xsession... maybe uncomment it?01:33
aplainzetakindI'm exploring that.01:33
gnarfaceat some point i had added #!/bin/bash to the top of mine because it seemed to need it in some contexts but that could have been years ago and immaterial now, but if you uncomment ". /etc/X11/Xsession" and it just ignores the line or throws a syntax error, try adding the bash header above it followed by one empty line01:34
gnarfacebecause mine's a bash script i don't need to call the programs with the "exec" keyword either, though i do need the full paths to them i think01:35
aplainzetakindUncommenting and backgrounding it starts with a blank terminal (weird) which is sort of where it was ran it seems. Because if I invoke xmobar from that terminal it runs. If I close that terminal and spawn another, it doesn't.01:35
gnarfacei don't have a graphical login at all, maybe that's why i'm getting away without sourcing the global Xsession script?01:35
aplainzetakindI also don't have a graphical login.01:35
gnarfacehmmm01:35
aplainzetakindI type startx at the console.01:35
XenguyAmazing how many folks are doing that these days01:36
XenguyUsed to do it myself, but it's been awhile now01:36
gnarfacegraphical logins never got any more reliable01:36
masonI've lately become convinced that exec startx is okay.01:37
gnarfacei tried but when they scrapped entrance i just stopped caring01:37
masonI still use XDM here.01:37
gnarfaceyea, now where i need it i just use xdm, but most places i startx01:37
gnarfaceaplainzetakind: https://paste.debian.net/1204625/01:39
gnarfaceaplainzetakind: you can see i experimented with other window managers and i would just switch between them by switching the commented lines01:41
gnarfaceaplainzetakind: i never had any problem starting anything before the window manager as long as it was backgrounded first01:41
gnarfaceaplainzetakind: i did have one issue where enlightenment started overwriting my keymappings but xmodmap still got called01:42
gnarfaceaplainzetakind: the primary difference between yours and mine really might just be the bash header, which i've been told repeatedly doesn't belong there and shouldn't be needed....01:42
aplainzetakindThe window manager is not the issue though.01:43
aplainzetakindSomehow I don't have dbus in the X environment.01:43
aplainzetakindI suspect Xsession script fragments take care of such things, and it's not happening automagically.01:44
aplainzetakindhttps://dpaste.com/CLBCQXPW8 I have this snippet on the .xinitrc from my gentoo machine.01:45
aplainzetakindBut no such files exist on devuan anyway.01:45
gnarfaceyea i can't tell you for sure, because on mine dbus is started by the init scripts, but if they're not present enlightenment_start starts it anyway01:45
gnarfaceis it possible you're missing the dbus init script from /etc/init.d/ ?01:46
aplainzetakindIt's there.01:47
aplainzetakindAnd the dbus service is running.01:47
gnarfacedoes it start dbus?  is dbus actually running and Xorg just can't see it?01:47
gnarfacehmmmm01:47
gnarfacethat's weird01:47
gnarfacenow i'm wondering if you're missing a piece of xmonad, because the thing that ties the enlightenment session to the existing already-started dbus session for me is enlightenment itself01:48
aplainzetakindI mean, when I do `dbus-launch xmobar` it runs fine, when I invoke it plainly it errors out because no socket.01:48
gnarfacemaybe i xmonad is more alien than i was guessing01:48
gnarfacemaybe you need to actually pass it the socket path or something01:48
aplainzetakindxmobar is not strictly a part of xmonad.01:48
aplainzetakindYou can run it in i3 or whatever I think.01:49
gnarfaceor maybe the socket file is stale and you have to delete it and recreate it?  i have been having that problem with efreetd lately on occasion...01:49
aplainzetakindHow do I check the socket file?01:49
gnarfacesomething to do with enlightenment crashing sometimes leaving a stale socket file that doesn't get deleted and replaced properly on the next startup so i have to delete it myself to get it out of the way01:49
gnarfaceyou'd have to figure out where it is first01:50
aplainzetakindIt's in an environment variable I think.01:50
aplainzetakindHmm. dbus and dbus-x11 are separate packages.01:51
aplainzetakindBoth are installed, but could be something there.01:52
fsmithreddbus-x11 is the substitude for dbus-user-session01:52
fsmithredsubstitute01:52
XenguyI just got lazy and slim and friends work just fine01:56
Xenguy^^ lagged response01:56
aplainzetakindWell, replacing exec xmonad with exec dbus-launch xmonad does the job.02:01
aplainzetakindI feel pretty uneasy not knowing why it worked without this before, but it works.02:02
theblacksquidhey, i hope everyone's safe out there. I just have a quick question:08:44
theblacksquidMost install guides for server apps i'm seeing offer debian and systemd-specific instructions, and looking at the website, I can't seem to find any information as to how to translate between systemd and sysvinit08:45
theblacksquidWhere can I find documentation about that, and everything's welcome, manpages, info pages, etc08:46
theblacksquidthanks for any help!08:46
gnarfaceare you trying to install something not already packaged for devuan?  or did you find a devuan package missing an init script?08:49
gnarfacethe init scripts go in /etc/init.d08:49
gnarfacethey're just shell scripts08:49
gnarfaceyou can find numerous examples online for debian if you find wheezy era documentation08:50
gnarfacenormally you'd just start with /etc/init.d/README but it looks like the url in that file has been scrubbed of all relevant info, sorry08:51
gnarfaceif you can find the init script from an older debian wheezy version of the package maybe that would still work with minor adjustments08:51
gnarfacebut if it's not a 3rd party package, but something in the devuan repos then it's a bug that should be reported08:52
theblacksquidYeah, amusewiki and caddy in particular08:56
theblacksquidSo from what I understand, if available, look for the init.d scripts from an older version of a package, and for others, copy the header comment in /etc/init.d/README and read insserv(8) to see about filling in the right stuff in the header?08:59
gnarfacemaybe you have an older version of the README than i have here so i don't know for sure09:05
gnarfaceinsserv(8) seems relevant though for the lsb headers yes09:05
gnarfacethere's probably wiki entries somewhere that explain it better but it's not complicated09:06
theblacksquidGot it, thanks much!09:08
gnarfacewhat you'll really need is info on how to start the daemon in question by hand09:19
gnarfacebecause you'll need to know how to do that to write a script to do it09:19
gnarfacethe other info will be easy to find because it's not unique to this one daemon09:19
daemonhey all how would I get my network adaptors to be called 'eth0/eth1' rather than enp0s10/enp0s1111:43
iLinux-OS-UserHi! A bit old thread but it should do the work: https://unix.stackexchange.com/questions/134483/why-is-my-ethernet-interface-called-enp0s10-instead-of-eth012:37
gnu_srs2daemon: Do you have eudev installed? With that you will get eth0, etc by default.12:39
fsmithredenp0s11?? That's a lot of slots.13:20
user___Hehe. "cloud ready". Need to accommodate those oversold vm filled blades fsmithred, our friends (?) at red hat need that sort of output I guess.14:09
user___11 containers running at once?14:09
user___did you sort Adriane 's voice mode boot time support fsmithred ?14:10
fsmithrednot sure what you're asking14:11
fsmithredoh, for the live-iso with speech14:11
fsmithredno.14:11
fsmithredI sent email to someone who supplied the patch that lets speech work in both desktop and console14:12
user___https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/consistent-network-interface-device-naming_configuring-and-managing-networking fun14:12
fsmithredI read the original about "predictable" names several times.14:12
user___fsmithred: did you email dr. Knopper himself? He's one of the anti systemd people, Knoppix on systemd was a fiasco, there's a nice long talk by Dr. Knopper on yt on it14:12
schillingklaussystemd is a fiasco always and everywhere14:13
user___fsmithred: He MAY be a Devuan recruit! Please contact him. I'd be thrilled to try out a Devuan / Refracta based Knopix !14:13
user___schillingklaus: We are talking about a gifted linux distribution author here, not just any drivel.14:13
* user___ got bitten by the systemd Knoppix release, it would not boot properly on my hw and filled logs with useless repeated systemd errors14:14
user___(scrolling out important dmesg clues in the early boot printk ring buffer)14:14
user___But I agree that if enp0s11 reflects a real hw slot number, then it must be a router/switch ish role box :)14:16
user___(that enp0s11 comes from a stackexchange thread, where people MAY actually use such things...)14:16
fsmithreduser___, I contacted someone in the devuan community who uses speech synth.14:29
schillingklausthe team of ungleich in swuitzerland are the most important ones to contact14:30
fsmithredfor what?14:32
schillingklausthey run a service regional provider on a devuan server park14:34
fsmithredyeah, I know them. I think we have a couple of different conversations crossing here.14:35
schillingklausthey claim to be the first devuan vm provider in the world. I do not know what a vm provider does, though. something like Amazon WS?14:38
fsmithredyeah, you can rent a VM14:43
fsmithredthey'll do storage space, too14:43
user___schillingklaus: a vm is an oversold slice of a server host in most low cost cases15:12
user___schillingklaus: iow take a machine which could supply computing needs to one power user, slice it using vms, and sell the vm access to 8 to 16 users, limiting cpu and ram per vm.15:13
user___And charge through the nose.15:13
user___fsmithred: I think you should drop an email to Klaus Knopper specifically about Adriane. Knoppix has been Debian based until systemd. Don't know now.15:14
fsmithreduser___, last I checked about a year or two ago, knoppix has its own init script.15:15

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