libera/#devuan/ Saturday, 2020-11-21

mexonHello all, I was wondering if anyone can recommend somewhere where I can find a comprehensive guide on sysvinit. I've searched around and all I can find are snippets of info here and there. I'm looking for an old-school beginning to end book/tutorial sort of thing about the init system. Thanks02:25
gnarfacemexon: if they haven't taken it down, the wiki pages for debian wheezy and earlier on the matter were the simplest condensation of it i recall seeing02:29
gnarfacemexon: it's actually not as complex of a thing as it seems02:29
gnarfacemexon: (devuan hasn't really changed this part)02:30
mexonThanks,  maybe I'll check on archive.org.. I get that its not uber complex, but I like understanding things fully not just partially02:30
mexonFor example, I understand about the run-levels what I don't get is what determines the order in which the scripts are executed..02:32
gnarfacemexon: you want a reference for the "LSB headers"02:34
gnarfacemexon: (they look like comments, but there's a block of active logic amongst the header comments of most these init scripts)02:34
gnarfacemexon: second layer, overrides, are the symlinks in the rc?.d directories (somewhat intuitively named with "K" and "S" first-letters for start/kill, and numeric order identifiers, but the LSB headers take precedent if present)02:35
gnarfacemexon: (try this: ls -l /etc/rc?.d/)02:35
mexonright!, gotcha02:36
gnarfacemexon: there's a tool called "update-rc.d" (check "man update-rc.d") built-in for automating manipulating the shell scripts, but i don't know of any good tools for manipulating the LSB headers in an automated fashion.   they were all meant to be hand-managed02:37
gnarfacemexon: *symlinks i mean.  update-rc.d just manipulates those /etc/rc?.d/ symlinks02:37
mexonokay, really appreciate the info, I have a starting point to go from now..02:38
gnarfacemexon: and each symlink just points to a script in /etc/init.d/ that has an obligation to have certain default behaviors when responding to "start" and "stop" as command-line parameters, ec02:38
gnarfacemexon: and no problem02:38
gnarfacemexon: there's not much else to it than just what i've mentioned.  there's an /etc/inittab that runs first.02:39
n4dirwondering about /etc/init.d/.depend.boot. But not that much02:39
mexonI came into linux during the transition.. Well I was there before but still very new to it all. Now I realise that I have a whole gap of knowledge here and so I'm filling in the blanks. So this has really been helpful.02:40
gnarfacen4dir: interesting, haven't noticed those before.  i have to imagine it's to do with package management?02:40
n4dirwell, such sure is beyond me, but looking at it it might be a reasonable order to start what when02:41
gnarfacen4dir: i'm not sure but those might be package preinst/postinst scripts and such02:41
n4dirI checked inittab, then manpages, and then ran in said file i never heard of before02:41
n4diri usually start or stop with /etc/init.d/stuff.d start/stop, and for permanent just use sysv-rc-conf02:42
gnarfaceno they're not package preinst/postinst scripts actually02:42
n4dirthe question asked by mexon sure is interesting, else i wouldn't have checked if i could figure out. But usually it just works via magic02:43
gnarfacealthough it might just be cached data of what the LSB headers are implying, now that i'm looking at it closer02:43
n4dirat least something where i think: if i had the interest, i *could* understand it. That is not the case for systemd02:43
fsmithredI saved a copy of Debian Adminstrator's Handbook for Wheezy: https://www.ibiblio.org/refracta/docs/debian-handbook-wheezy.pdf03:05
gnarfaceoh neat03:07
gnarfacehe's gone already though03:07
gnarfacebummer03:07
fsmithredyeah, too bad03:08
EHeMI'll have to say, some of the issues `systemd` is pointing towards *are* issues, though `systemd` is the wrong solution (yes, rather a lot of things disolve in acids or bases).03:46
EHeMOne thing I would like to do to traditional `init`, add the ability to include files/directories into inittab.03:48
EHeMThen if you desired, when you plugged in a USB-serial cable, `eudev` could add a /run/inittab.d/ttyUSB0.getty file which simply added a respawning `getty` process (perhaps a silly example, but I needed an example).03:50
MinceRsounds like what xinetd did to inetd :>03:53
MinceR(except its files were managed by the package manager)03:54
EHeMMinceR: I'm pretty sure xinetd had rather different goals; here I'm simply pointing out that `systemd` does have some points, even if the implementation was crap.04:19
MinceR:>04:27
* enyc meows05:40
* MinceR meows05:41
EHeMgnarface: I should have actually directly responded to what you stated.06:22
EHeMgnarface: SuSE has gone 100% U-Boot/GRUB/UEFI, a consistent platform means they can target many different types of hardware while merely changing the lowest layer.06:23
EHeMhttps://www.suse.com/media/article/UEFI_on_Top_of_U-Boot.pdf06:24
unixbsdAfter installing apt-get install kde-standard on a clean system, there is no wireless working. Right click on wifi, enter key wpa, will result in prompot of root pass.09:18
unixbsdOnce you enter the root pass, it asks again,,.... in a loop09:18
unixbsdSo kde has no wireless working on devuan. debootstrap the base, apt-get install kde-standard, gives no wifi.09:19
gnarfacemissing a network management utility not sure why or which one, but i'm sure it can be installed manually09:37
gnarfacekde might use network-manager09:37
gnarfacehmmm, or maybe not09:38
gnarfacemaybe it uses something else09:38
gnarfacei always forget09:39
Deknosis anyone aware, if i can set a device with nmcli in unmanaged mode? i only see it in the network-manager config file09:47
gnarfacei don't know, the man page doesn't say?09:57
gnarfaceyou should be able to with ifconfig or iwconfig, if you mean what i think09:58
Deknosnmcli manages dhcp requests and stuff like that. ifconfig and iwconfig do not care about that, do they?10:06
gnarfacei wasn't aware unmanaged mode had anything to do with dhcp10:14
gnarfaceyou don't mean wireless ad-hoc networking?10:14
gnarfacethe dhcp client is what actually handls dhcp requests10:17
gnarfacewpasupplicant has something to do with it all too, probably10:17
gnarface(if this is wireless)10:17
kreyrenhowddya get audio jack working on devuan chimaera? x.x18:01
fsmithredkreyren, do you mean the physical mini-jack or do you mean jackd the sound server?18:03
kreyreni mean the 3.3mm jack connector on the size of my notebook >.>18:05
kreyrenapparently i need alsa things O.o18:05
fsmithredif pulseaudio is installed...18:06
fsmithredoh18:06
kreyrenpulseaudio is installed18:06
fsmithredyou do need alsa-utils installed18:06
kreyreni was using it for my logitech G533 that broke so i am using the backup x.x18:06
* kreyren is installing alsa-utils18:06
fsmithredsee /etc/pulse/something 00-autospawn-something18:06
fsmithredor look at beowulf release notes18:06
fsmithredwithout systemd, pulseaudio won't start by default18:07
fsmithredyou have to comment or uncomment one line in the config file. It tells you in the comments.18:07
* kreyren_ got tor dc18:08
kreyren_fsmithred, alsa-utils installed18:08
kreyren_kreyren@leonid:~$ sudo alsactl init |& ix18:09
kreyren_http://ix.io/2EYq18:09
kreyren_and i don't seem them in pavucontrol x.x18:09
* kreyren_ is slowly loosing him mind as his previous headphones have only one working reproductor~18:12
fsmithredaplay -l18:18
fsmithredwhich card is first?18:18
fsmithredis pulseaudio actually running and does pavucontrol run correctly, or is it giving you an error message or hanging?18:18
kreyren_kreyren@leonid:~$ aplay -l |& ix18:39
kreyren_http://ix.io/2EYK18:39
kreyren_fsmithred, ^18:39
kreyren_pulseaudio is running18:39
kreyren_pavucontrol was reliable so far in terms of G533 and they are working on that18:39
kreyren_i don't see any errors18:39
kreyren_ah works now!18:41
kreyren_thanku fsmithred <318:41
clortbring patience to linux sound18:41
kreyren_it's so nice to hear from both ears again~18:41
SoltisSidegraded Debian 10 to Ceres; no special config aside from that - cron is not emailing root or anywhere else when jobs fail.19:00
WafficusHi there, I have a question about adding a user to the 'sudo' list. I installed the 'sudo' command through 'apt' on Devuan, and I did: usermod -aG sudo sam19:06
Wafficusyet when I'm present as the 'sam' user, its still saying: 'sam is not in the sudoers file. This incident will be reported'19:06
Wafficusdo I have to reboot the machine for the 'sudo' group changes to take into effect?19:06
n4dirlog out and back in, iirc19:07
gnarfaceWafficus: i don't think that sudoers line is uncommented in the default sudo config file.  you should double check.19:09
gnarfaceWafficus: but in my memory i was pretty sure debian leaves that commented-out in the stock config19:09
Wafficusyeah I uncommented that section in the /etc/sudoers as well19:10
Wafficusbut I just restarted and will see if it took into effect19:10
Wafficusget the feeling a reboot is necessary19:10
gnarfaceno, but logging out all the way would be19:10
gnarfaceand if you're using a graphical login manager, it might need to be restarted, but not the whole kernel19:10
WafficusI rebooted anyway19:11
gnarfacesudoers operates in userspace19:11
Wafficusbut still same thing happens19:11
gnarfaceshouldn't hurt anything either19:11
Wafficusmore so19:11
Wafficuspoweroff doesn't work either even as root19:11
gnarfacehmmm19:11
WafficusI literally have to go to /sbin/shutdown -r now19:11
Wafficusto do that action19:11
Wafficusthat's another weird quirk I noticed19:11
gnarfacecan you paste your sudoers file?19:11
fsmithredelogind/libpam-elogind?19:11
Wafficusyeah sure one sec19:11
gnarfaceseems like you might be missing something though, yea19:11
gnarfacethe thing about poweroff buttons not working sounds like a permissions backend package thing19:12
fsmithredand/or policykit-1-gnome (for shutdown buttons)19:12
Wafficuswait weird, I had an /etc/sudoers file before...19:12
fsmithredbuttons/menu19:12
WafficusBEFORE I did the usermod command19:12
Wafficusnow when I go to /etc19:12
Wafficusthe sudoers file is blank :/19:12
Wafficuswhat in the heck19:12
Wafficusdoes that usermod command overwrite the /etc/sudoers file when it adds a person to the group?19:13
fsmithredno way would usermod mess with sudoers19:14
Wafficushmm it says /etc/sudoers is not readable19:14
Wafficusidk why that is19:14
Wafficuswhen I originally opened it it said it was readonly in Vim19:14
Wafficusso I did :w! to save my changes as root anyway before19:14
fsmithredyou did 'visudo'?19:14
Wafficusnow its corrupted i'm guessing, not sure why19:14
Wafficusso19:14
Wafficus*no19:14
fsmithredthat's why read-only19:14
gnarfaceWafficus: for the future, there are several good reasons why they say never use anything other than visudo.  i happen to know you can safely use other editors for the visudo command besides vi, but do use it.19:15
fsmithredyou can also put your own sudo configs in a file in /etc/sudoers.d/19:15
fsmithredand you don't need to use visudo for those files19:15
gnarfaceyea or this^19:15
gnarfaceunless my my memory is wrong, visudo will obey the $EDITOR environment variable19:16
gnarface(i like to switch mg for vi)19:16
gnarface(in general for EDITOR - i typically don't use sudo though)19:17
Wafficusso in a case like this...19:20
Wafficusdo I have to reinstall Devuan to get back my /etc/sudoers file19:21
Wafficus?19:21
fsmithredjust reinstall sudo19:22
Wafficusok I uninstalled sudo via apt19:23
Wafficusand reinstalled it19:23
Wafficusthough 'visudo: command not found'19:23
Wafficusdo you also have to install the 'visudo' command as well?19:23
gnarfaceprobably19:25
gnarfacealso, when you uninstall stuff, add "--purge"19:25
gnarface(that way it'll blast out conflicting/old configs)19:25
Wafficusyeah even visudo isn't still found when I reinstall after purging19:27
WafficusI think I'll just reinstall Devuan19:27
fsmithredthat's overkill19:27
Wafficusvisudo comes by default with sudo19:27
gnarfacewell, only you know at this point if you've done enough damage to it to really need a full reinstall19:27
fsmithredI've never had to install it separately19:27
fsmithredit=visudo19:27
gnarfaceyou shouldn't need to reinstall the whole OS just because you botched your sudoers file though.  that is a sign of something much bigger wrong with the install, some prior damage not yet covered by this conversation19:28
gnarface(usually it means you mixed repos you shouldn't have)19:28
gnarface(though sometimes this happens on unstable or testing occasionally just due to upstream fuckups)19:29
Wafficushonestly19:29
WafficusI just want the Devuan box to be up and running ASAP so I can get my Gentoo VM installed again and to tweak that19:29
Wafficusso yeah I'll just reinstall it, will take up to 5 mins tops19:29
WafficusI don't have time to spend all day just to fix sudoers file that just won't fix itself at this point19:30
WafficusI don't have any data on that drive anyway since its just a VM type drive so yeah, will see if a reinstall works instead19:30
gnarfaceas long as you got the bandwidth and you're just needing a minimal install, i have to admit it's probably faster than figuring out what you did.  but at some point you're gonna want to figure out how to stop doing it again.19:30
gnarfacei'd estimate the fastest install time to be around 20 minutes though19:30
gnarface5 might be a bit unrealistic19:31
gnarfacedon't fool yourself19:31
n4dirI'd say one cigarette, preparing a coffee and visiting the ladies room is enough time19:31
n4dirhitting the enter key in between though19:31
Wafficusif you knew how minimal I keep my setups19:32
Wafficusliterally only use AwesomeWM and Openbox19:33
n4dirmost do that19:33
Wafficusafter I get it installed, its just a matter of doing a quick apt install with all of the components in my install guide19:33
Wafficusnot hard at all19:33
Wafficusbut yeah I guess, don't edit the stupid (F#$(!) /etc/sudoers file is what I learned19:33
Wafficusnot a prob19:33
Wafficuswill just do visudo and hopefully that works instead19:33
Wafficusrather I will probably just do19:34
n4dirone idea might be to backkup all of /etc after the setup is finished19:34
Wafficususermod -aG sudo sam19:34
Wafficusmaybe, but again, I just wanna get back to working on my Gentoo VM to move that forward19:34
Wafficusso that I can live in Gentoo and move over in 6 months19:34
WafficusI only use Devuan as the hub for VM's on that drive anyway19:34
Wafficusvia kvm + virt-manager *19:34
gnarfacereally, back up /etc if nothing else19:36
gnarfaceit takes up almost no space19:36
gnarfacethat'll save your ass so many times19:37
Wafficusgotcha, will do later on my external HDD19:38
n4diri ususally put it in /root . Forgot it for this install, checked, and it's 8.8 MB19:40
n4dirwhy /root ? Well: as there is nothing else, no need to hunt for it :-)19:40
fsmithred10 minute install from live-iso19:41
n4dirha ha. And that is even long, i guess19:41
fsmithredno idea how you do a 5-minute install19:41
gnarfacenot bad19:41
n4dirI remove a bit beofre i install19:41
gnarface5-minute install, if possible, would require a local mirror and a preseeding file19:41
r3boot2319:42
fsmithredI should play with overlays sometime and figure out how to do a minimal or full install from the same iso19:42
n4diroverlay?19:42
gnarfacen4dir: live images use mask overlays in the filesystem19:44
gnarfacen4dir: conceptually it's like a mask overlay in photoshop, but you know... with files19:44
gnarfacemetaphorically it's like a mask19:44
Wafficusbase install is 5 mins tops, idk what you guys are talking about19:45
Wafficusits the min install ISO though19:45
n4dirgnarface: thanks a lot for trying, but it looks such is above me19:45
gnarfaceWafficus: you might just have a really fast machine?19:45
gnarfacen4dir: the implementation is still above me, too, but it's a way to transparently combine multiple partial installs (some of them being read-only) into something that looks like a single complete install to the kernel19:46
n4dirthat sounds even worse than metaphysics. :-)19:47
fsmithredn4dir, you know how a persistent partition in a live-usb has the structure of the whole filesystem but only contains the files that have been changed?19:47
n4diroh, yeah, kinda.19:47
fsmithredit overlays those changed files on top of the read-only filesystem19:47
n4dirok. I think i understand19:48
fsmithredso get to boot with your changed settings19:48
fsmithredthe original files are invisible, covered by the edited ones19:48
fsmithredmy thought would be to have one overlay for a minimal system and another that adds the desktop system19:48
n4diruhum.19:49
fsmithredboot the one you want to use or install19:49
gnarfacei think it's a good idea19:49
fsmithredthe instaler just installs whatever is running19:49
gnarfaceooh, i wonder if you could tie the layers to the runlevels19:49
gnarfacehow neat would that be?19:49
gnarfaceget a whole new rootfs for every runlevel19:49
fsmithrednot sure if that would work, but it might19:49
gnarfacei'm not aware of the load implications of swtiching on the fly like that19:50
gnarfaceseems like it could be a neat trick if it wasn't slow though19:50
fsmithrednormally you control persistent partition mounts with live-config options19:50
fsmithredor live-boot options19:50
fsmithredand whatever you put in persistence.conf19:50
fsmithredthere are some advanced things you can do with it, but I've never tried them19:51
n4dirmay i ask the following: what would be the advantage over either stay in TTY, or startx a WM, or use a full DE?19:51
fsmithredpersonal preference19:51
gnarfacewell19:51
gnarfacethose options also incrementally decrease in security19:51
fsmithredlol, yeah19:52
gnarfacebut most people would consider that secondary for desktop use19:52
Wafficusok19:52
Wafficusnow we're back in19:52
Wafficusin the TTY prompt19:52
Wafficusso yeah about 5 to 10 mins19:52
Wafficusfine I was maybe boasting earlier ;)19:52
gnarfacenot bad19:52
fsmithrednetinstall?19:52
Wafficusyeah19:52
gnarfacei got old hardware around here so some stuff goes slower19:53
WafficusI'll install the AwesomeWM related stuff, login manager, and basic stuff I like19:53
Wafficusthen I'll pursue the sudo thing again19:53
fsmithredare you doing some fine-grained sudo or just bazooka sudo?19:54
Wafficuspure basics19:55
Wafficusthat's it19:55
Wafficusjust wanna elevate to root as a super user19:56
n4dirwhy?19:56
Wafficusbecause... basic things like sudo poweroff are nice to use...19:57
fsmithredyou can set sudo for just selected commands. Safer that way.19:58
n4diri do poweroff as root all the time19:58
Wafficuseven after reinstalling sudo...19:58
Wafficusafter a reinstall of Devuan...19:58
Wafficus-bash: visudo: command not found19:58
fsmithredon most of my systems I have shutdown and reboot set for sudo without password19:58
Wafficus... :/ why19:58
fsmithredare you root?19:59
Wafficusyeah19:59
Wafficusdid this as root, and as the 'sam' user19:59
fsmithredand sudo is installed?19:59
fsmithredfuck. It's in /usr/sbin19:59
fsmithredyou don't have root's path because you used su instead of 'su -'19:59
fsmithredor give the full path20:00
fsmithredwhat a fucking stupid decision that was20:00
fsmithredsorry20:00
miskatonica change since buster20:00
n4dira cancer since buster. i'd say20:00
fsmithredI'm just tired of having to tell EVERYONE about it20:00
miskatonicuntil stretch, su behave like su - today20:00
* gnarface always used "su -" anyway, to get himself in the habit, because he foresaw this would one day happen to everyone else20:00
fsmithredsu got moved from the shadow package to util-linux20:01
Wafficusah su -20:01
Wafficushmm interesting20:01
Wafficusso...20:01
* gnarface is getting really tired of that feeling, by the way20:01
Wafficusshould I do su -20:01
Wafficusthen visudo?20:01
Wafficusor go straight to /usr/sbin20:01
fsmithredyeah, that'll work20:01
fsmithredeither20:01
Wafficusah you're right20:01
Wafficusnow visudo works20:01
Wafficus:/ \:20:01
Wafficuslol20:01
fsmithredif you want su to revert to the old behavior...20:01
gnarfaceWafficus: without the "-" you only change users, you keep your old user's entire environment.  if you think about it, that should be the default behavior, but some decisions made by committee you know...20:02
Wafficusso in this case20:02
fsmithredecho 'ALWAYS_SET_PATH yes' > /etc/default/su20:02
n4dirhe wants to remove su altogehter20:02
Wafficusthe %sudo ALL=(ALL:ALL) ALL is already uncommented20:02
Wafficusso do I just save in Nano and quit at this moment?20:02
miskatonicwho wants to remove su altogether? Torvalds?20:02
n4diri thought you can pick that during installation, btw20:02
fsmithredif you put yourself in the sudo group, you can use sudo for all commands20:02
n4dirmiskatonic: Wafficus only wants sudo.20:02
fsmithredwithout editing sudoers20:03
Wafficuswell20:03
WafficusI'm already doing visudo20:03
Wafficusso we're already editing some form of it20:03
fsmithreddo you want all commands or just shutdown/reboot?20:03
Wafficus^ my latest comment above applies, should I just save the file that opened in visudo if its already uncommented the correct line?20:03
Wafficusall commands honestly20:03
fsmithredyeah, exit20:03
Wafficussave and exit20:03
fsmithredyou didn't make any changes20:03
miskatonicvisudo can be configured to use nano20:03
Wafficusor just exit?20:03
Wafficusah gotcha20:03
Wafficusok20:03
gnarfaceWafficus: yes save & exit, it will do the right thing with the tmp file if you launched it with visudo20:03
fsmithredadduser sam sudo20:04
fsmithredlogout/login20:04
gnarfaceWafficus: i assume it's using nano instead of vi because you messed with $EDITOR, alternatives, or you just removed all other editors?20:04
fsmithreduser has to log out and in, not just root20:04
Wafficusno, its just the default editor20:04
Wafficushaven't added any of my dot files at all yet20:04
gnarfaceshould work20:04
gnarfaceyou should see it actually saving to a tmp file but then something else moves the temp file for you and fixes permissions20:05
Wafficusso20:05
Wafficusi didn't make any changes20:05
Wafficusafter I did visudo as root20:06
WafficusI logged out technically via tty prompt20:06
Wafficuslogged back in as sam20:06
fsmithredsudo blkid20:06
WafficusI then became root and did: usermod -aG sudo sam20:06
n4diroh boy.20:06
fsmithredok20:06
gnarfacethen log out again20:06
gnarfacewait20:06
gnarfaceyea20:06
fsmithredyeah20:06
Wafficusahah20:07
Wafficusthat worked after logging out the second time20:07
fsmithredyup20:07
Wafficusphew, the old tried and true way still works20:07
Wafficusbut yeah 'sudo -' is noted20:07
fsmithredno20:07
fsmithredsu -20:07
Wafficusrather20:07
Wafficusyeah su -20:07
Wafficussorry20:07
gnarfacesudo su -20:07
gnarface:-p20:07
fsmithredlol20:07
fsmithredI like sudo -i20:08
n4diryou sure you are ready for Gentoe?20:08
WafficusI did it before20:08
Wafficusover 2 or 3 weekends of attempts20:08
WafficusI make install guides to make it easy20:08
Wafficusso yeah idk, but I wanted to give it a shot20:08
Wafficusthough to be totally honest20:08
Wafficusit was compiling something from source, and that same SSD drive went into read only mode last weekend20:08
Wafficusso... yeah if it does the same BS again, I'll just try FreeBSD instead since that drive might be tempermental20:09
gnarfacegot enough ram?  maybe just build stuff in a ramdisk20:09
Wafficusthought hardware =/ software so yeah, different things, but its still enough to be a time waster20:09
Wafficus16 gigs of ram20:09
Wafficusi720:09
Wafficusthis PC is ok lol20:09
gnarfaceshould be enough for most stuff20:09
gnarfaceshould be enough to build the kernel but not arm efl hehe20:09
Wafficusyeah I'm going for a configured kernel this attempt20:10
Wafficusmore so because that kernel menu is a hell hole20:10
WafficusI have never seen something so unorganized in my entire lifetime20:10
Wafficusand yes, I tried the "search" and it doesn't work20:10
gnarfaceit has been getting worse as more hardware vendors are contributing20:10
Wafficuslike the instructions are ok, but trying to dive into the sub menus in that ncurses menu is like the most frustrating thing on earth20:10
gnarfacethe open source guys usually follow the established patterns, but commercial vendors like to ram their code in like a derailed freight train20:11
gnarfacelinus is just one guy20:11
gnarfacewhat the real key is, is just recogizing what you're not using, and disabling it all20:12
gnarfacebut the time that takes for one guy to do starting from a vanilla kernel, has in the past decade has escalated from 8 hours to 2 days20:12
n4dirnothing beats the fun of having to  recompile the kernel for 5 times cause 5 times you forgot something20:13
gnarfaceyea20:13
gnarfacebut computers have gotten WAY faster at it, so that's good at least20:13
n4diri guess if you really do it it gets ok, but it sure ain't my thing20:13
gnarfacewe're getting offtopic now20:14
gnarfacebut anyway, yea i guess the moral is, log out after you change groups20:14
gnarfacehehe20:14
gnarfaceand use visudo20:14
Wafficushow would I enable libvirtd on Devuan?20:37
Wafficus* since I know it doesn't use systemctl *20:37
n4dirsysv-rc-conf20:37
Wafficusi'm using openrc20:37
Wafficus*20:37
n4diroh.20:37
miskatonicopenrc as pid1 or only as daemon supervisor?20:38
WafficusI checked the openrc man page20:38
WafficusI'm guessing 'sysinit' is what I want20:39
Wafficusto enable a specific service?20:39
miskatonicsomething like rc-update add virtd sysinit ?20:41
Wafficusthat's teh weird thing20:41
WafficusI tried that20:41
Wafficusaka: 'rc-update add libvirtd'20:41
Wafficusbut it says: "bash: rc-update: command not found"20:42
Wafficuseven though there's a man page for rc-update...20:42
miskatonic/sbin/rc-update add virtd sysinit ?20:42
Wafficusthanks20:43
Wafficuswhy are basic commands in sbin not being registered20:44
Wafficusthat's so weird20:44
miskatonicdid you use su without a - ?20:44
Wafficusthat seemed to have started libvirtd fine since it gave a green x in terminal aka: "x service libvirtd added to runlevel sysinit'20:44
Wafficusafter I did: sudo ./rc-update add libvirtd sysinit (after cd'ing into the /sbin directory)20:44
Wafficusmiskatonic: I just did sudo20:45
Wafficus* rather, the command above20:45
miskatonic/sbin/* is only in the path for superuser. Sudo uses the environment of the one issuing the command, not root's20:47
Wafficusregarding openrc20:48
Wafficushow do I actually "start" a service like libvirtd20:48
WafficusI tried openrc-run but that doesn't seem to do it20:48
Wafficusaka after I'm in /sbin20:48
Wafficusopenrc-run libvirtd20:48
Wafficusgot it20:50
fsmithreddoes the service command work with openrc?20:50
Wafficusits ./rc-service libvirtd start20:50
Wafficusit was already started when it was added though so it should be fine20:50
miskatonicalso: rc-status to see which daemons are running at which runlevel20:51
* clort points to his Miskatonic University degree on the wall o/20:53
Wafficuswhat's interesting is that there doesn't appear to be a 'libvirtd' group present though20:54
WafficusI tried doing: sudo usermod -G libvirtd -a sam20:54
Wafficusbut yeah no 'libvirtd' group was found20:55
Wafficusah its "libvirt" as the name of the group, got it20:56
miskatonicthe research team of miskatonic university is now examinating the trail of devastation caused by the systemdemon monster and its creator, Dr. Frankenpoettering21:01
clortshh, the hills have eyes21:04
jellythe hills are ALIVE21:06
systemdleteI will try it on my beowulf hardware to see if it is better supported21:55
systemdlete(sorry, I may have missed some messages)21:55
phidouxgreetings any one here familiar with pulseaudio i am having issues i upgraded to chimaera and pulseaudio was able to provide analog stereo duplex for my Audigy2 sound card but now its not i can use apulse but because things keep fighting over the microphone some applications keep losing it making it hard to communicate in places like discord21:58
fsmithredphidoux, someone else came here with PA problems in chimaera, and he claimed that I helped him, but I have no idea what I did.22:02
fsmithredDiscussion is about 1/5 of the way down this page: http://maemo.cloud-7.de/irclogs/freenode/_devuan/_devuan.2020-11-21.log.html22:02
fsmithredwith kreyren and me22:03
phidouxthe issue is getting analog input and output at the same time22:07
phidouxnormaly called analog stereo duplex22:08
phidouxbut somthing is wrong with chimaera's configuration as its not showing up22:08
fsmithredcat you see all your audio devices in pavucontrol?22:09
fsmithredcat/can22:09
phidouxi use pulsemixer on the terminal and yes i get the same output from pavucontrol22:10
phidouxupgraded to chimaera for better suport with my amd rtx580 using the newer kernels22:11
fsmithredI'm about to install PA on my chimaera to see what it does22:12
fsmithredwhat's in /etc/pulse/client.conf.d/?22:13
fsmithredis the 00-autospawn file there or is it 01-enable-autospawn?22:14
phidoux01-enable-autospawn.conf22:14
phidouxwith autospawn=yes22:14
fsmithredok, that's what I have. I was thinking maybe the old config was in the way.22:14
fsmithredI've got it in the last tab.  Profile: Analog Stereo Duplex22:18
phidouxyes22:18
phidouxthe problem is its not showing up for my card22:18
phidouxhttps://pastebin.com/VLEA1qAc22:19
phidouxand it did in beowulf22:20
phidouxright now i can only have one input or output but not input and output22:20
phidouxbasicaly i would need two cards22:20
phidouxSB Audigy 2 ZS [SB0353] (rev.4, serial:0x10031102) <- the card i am using22:22
fsmithredsorry, I got no good ideas other than to look for debian bug reports22:24
n4dirthere is always #lau and #opensourcemusicians22:27
systemdleteTurns out that the new nvidia card works fine in beowulf.23:59

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