libera/#devuan/ Sunday, 2021-11-07

byzandulanever will I put my boot partition in software raid again02:52
byzandulatrying to use install cd to make things bootable again, but it has been a frustrating day02:54
blockheadbyzandula: yikes.  i am surprised that worked at all03:25
byzanduladebian used to let you do that in v7 I believe?03:30
byzandulawhich is how long I've had this system up03:30
byzandulanow I'm being punished for poor choices03:31
byzandula=)03:31
byzandulaI recovered all of my data at least03:31
_ds_Ugh. Origin for chimaera-backports seems to have been changed from “Devuan” to “Devuan Backports”, with consequences…14:52
_ds_(entries in /etc/apt/preferences)14:53
anjanwhat is in the "console productivity" collection?19:28
UsLanjan: https://pkginfo.devuan.org/19:33
anjanUsL: thank you19:34
UsLhttps://pkginfo.devuan.org/cgi-bin/package-query.html?c=package&q=task-console-productivity=3.68+devuan4 I guess19:35
UsLuseful stuff selected by the vuans19:36
anjanUsL: so I got devuan installed. runit edition and there's no service file for wpa_supplicant?19:48
anjanor dhcpcd (Im guessing it's not installed)19:48
anjanare there more service files for the openrc edition?19:49
anjanIm ok with using openrc if it's better supported. I just hate systemd19:49
UsLI have no experience with it. But there are some good forum threads I believe.19:51
furrymcgeeyou can add wpa-conf in /etc/networking/interfaces20:01
anjanso I never used runit on devuan but there is still an /etc/init.d directory20:03
anjanwhere network-manager init script was installed20:03
anjanshould I just use openrc version20:03
anjanon void, it was managed by sv....20:04
gnarfaceanjan: the runit and openrc setups are both inherited from debian where they rely on sysvinit scripts still20:05
gnarfaceanjan: i don't know enough about either to alter it to use their own scripts, but i think this choice was made many years ago because there were already sysvinit scripts for everything20:05
anjanI see20:06
anjangnarface: Im assuming openrc is a better choice then20:06
anjansince it works with /etc/init.c20:06
anjanIll reinstall.20:06
gnarfacei'm not sure about that20:06
gnarfaceand wait20:06
gnarfaceyou shouldn't have to reinstall20:06
anjanoh ok20:06
gnarfaceyou should be able to just install openrc20:06
gnarfaceand likely the problem with either is just that you're missing sysv-rc20:07
gnarfacesome people just install the upstream versions of openrc or runit i think20:08
gnarfacewith openrc there's a simple change you can make to make it behave like the upstream one but you still need to provide a bunch of missing scripts then20:08
gnarfaceabout half the people who go this way get bored of it and come back to the debian one20:09
gnarface(turns out letting sysvinit start up and shut down is only a minor indignity since you can still use openrc or runit for whatever process management features they provide)20:09
anjanIm a bit confused sorry20:10
anjanso I used alpine and all starting, stopping, and start on boot was done with openrc20:10
anjanon void, same story but with runit and no using /etc/init.d (like on openrc)20:10
gnarfacewell just stick with runit for the moment because that's the one you want, and try not to get confused by the part that it still uses /etc/init.d stuff20:10
anjanI dont have a strong preference20:11
anjanI like both20:11
anjanI would rather have a system that conforms to one tho rather than tightroping between two20:11
anjanthats not clean imo20:11
gnarfacewell lots of people around here use openrc but sysvinit is by far the most popular still just because it is the best supported20:12
anjanI see20:12
gnarfaceif you need help with sysvinit stuff i can usually figure it out20:12
anjanrunit is not that popular in the grandscheme of things....20:12
gnarfacemy experience with runit and openrc is pretty minimal20:12
anjanIll try out openrc and hop to sysvinit if need be20:12
anjanthanks20:12
gnarfacebut this is a slow channel so if you hang around a while eventually someone will show up that knows more20:12
gnarfaceas i recall, there's an unofficial build of openrc around here somewhere that someone has donated that works like the gentoo/upstream one20:13
gnarfacebut i think we discovered a while back that the difference was a simple file name/symlink change20:13
gnarfaceso if you know quite a lot about openrc i'm sure you can even make the stock one do exactly what you want with little effort20:14
gnarfaceunfortunately i don't have the details in my head though20:14
gnarfacethe debian maintainers at the time (this was long before systemd, mind you) were trying to pick a "best of both worlds" solution that required little rework of the apparently highly contentious sysvinit scripts20:15
gnarface(and most of us here don't see what their fucking problem was)20:15
gnarfacebut, we welcome all init systems that don't clobber the others, which is all of them besides systemd20:16
gnarfaceso of course, any insight you can share with other runit or openrc users here will be a value to all20:17
gnarfacesysvinit seems to handle startup and shutdown very well; it's the in-between parts that people favor the others for20:18
anjanI see20:18
anjanso I installed openrc20:19
razor!cloakme20:19
anjanand it shows all the stuff in /etc/Inuit.d gn20:19
razorfck20:19
anjangnarface*20:19
anjanI think Im gonna use that20:19
gnarfacejust make sure it's working20:19
anjanya, it's working well20:19
gnarfaceas i recall the primary complaint about running openrc or runit without the sysvinit components is that then you have to go repopulate all the openrc-specific or runit-specific service files (whatever they call them in their particular nomenclature)20:25
gnarfaceif you only have a few things on a dedicated server for them this might be fine but if you're running a full desktop it can get tedious and there's diminishing returns on this level of customization20:26
gnarfaceif someone were to provide a full catalog of all those service files with debian-compatibile paths and permission expectations and such however, that could change a lot...20:27
gnarfaces/debian/devuan/20:27
psionics/linux/bsd/g22:11
psionicLaughs Out Loud22:11
razor[m]psionic: what happened22:28
razor[m]hi everyone22:32
razor[m]what room is this? anyone?22:43
Hydragyrumthis is #devuan?22:43
Hydragyrumand it's a channel not a room, this is IRC not matrix22:44
razor[m]Hydragyrum: it is bridged22:44
onefangThis is the Devuan Linux support channel.22:44
Hydragyrumrazor[m], yes and this is the origin side of the bridge ;)22:45
razor[m]yeah okay i joined devuan, idk why the name is shwing (psionic).22:46
razor[m]s/shwing/showing/22:46
engel07hi german or englisch22:52
gnarfacethis is the english channel, engel07, i think there might be one or two german speakers here though22:54
engel07Can anybody tell me how i can make an autostart of syncthing as user during reboot?22:56
gnarfacethe easiest way would be to start it from /etc/rc.local with su22:57
gnarfaceif it has its own /etc/init.d/ script though, you could probably just make minor edits to that22:57
gnarface(sorry, dunno specifics about syncthing)22:57
gnarfacedoes it auto-start for you already and you're just trying to change the user it runs as, or is it not starting automatically either?22:58
gnarfaceanother option would be to add it to your user's startup options in the window manager, if you're using a gui22:58
Jjp137could work: https://docs.syncthing.net/users/autostart.html#linux (ignore the systemd part, obviously)23:01
Jjp137but dunno about it either so can't help beyond that23:01
engel07hi i don't have a gui, actually i found instructions via systemctl, there are no start-scripts. it seems i have to build my own /etc/init.d/ script23:01
gnarfaceengel07: /etc/init.d/ script not required unless you want proper start/stop/restart handling.  if you just want a 1-line start command to run at boot after init, just add it to /etc/rc.local23:02
gnarfaceengel07: something like: /bin/su -c [command] [username]23:04
gnarfacei usually call my own wrapper script from there but it doesn't have to handle stop and restart like the init.d scripts23:05
engel07i try rc.local23:05
engel07the command as user is --> syncthing23:05
engel07it should wor23:06
engel07k23:06
gnarfaceit should work but you'll need full paths23:06
gnarface /usr/bin/syncthing or whatever23:06
engel07you're right /usr/bin/syncthing23:07
engel07in rc.local it ineserted /bin/su -c /usr/bin/syncthing engel07 - make a reboot23:08
engel07it works :-)23:09
gnarfacecool23:10
engel07thanx gnarface23:10
gnarfaceno problem23:10
gnarfacethis is the "quick and dirty" solution, obviously a proper init.d script would be optimal23:10
gnarfaceobviously that'll take a lot longer to do23:10
gnarfacesomeone around here might have already done the work though.... i recall this coming up before at least once23:11
engel07i'll try it tomorrow23:11
engel07-- /etc/init.d has no skeleton anymore - i'll copy sudo as syncting and do my best - Required-Start: $network seems to be important23:17
anjanhi all, I think I found a bug with the devuan kernel config on corebooted thinkpads23:56
anjan/23:56
anjanhttps://momi.ca/posts/2021-11-07-luksgrub.html23:56
anjan^ I posted my issue and a potential workaround someone on guix might have found23:56
anjanwere can I get the kernel config used on devuan?23:56
anjanwhere*23:56
Hydragyrum/proc/config.gz?23:58
gnarfaceanjan: it's in /boot/ just like debian.  the kernels aren't different from debian's23:59
gnarfaceHydragyrum: not enabled by default anymore i think23:59
Hydragyrumgnarface, I just saw that, it *used* to have that iirc23:59

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