libera/#devuan/ Thursday, 2022-09-29

one%n07:16
gnarfaceyou're going to have to be more specific07:18
FatPhil_Maybe he's just trying to bring about a printf buffer overrun?09:08
oneHey lo19:12
oneAnyone home?19:12
oneI suck at IRC, so please forgive me if I am being a dumbo. Getting acquainted with the messenger and coding again... LOL19:13
djphhi one19:13
one\djph Has anyone built an IRC4Noobs? LOL19:13
oneoops, see...19:13
oneLOL19:14
oneHey djph, Im still starting my first cup of coffee, and just digging into Devuan, and IRC...19:14
hagbardone: Most here, or in irc in general, are idling/afk most of the time. So it might be wise to just state your question, and see if someone has an answer some time later.19:15
onehagbard, thanks for the pointer... are there more active participants in a discord or something else? Matrix etc..? My only real exposure was using IRC for crypto a few yrs ago, and it was mostly to comunicate with devs specifically..19:17
djphno19:18
djphIRC is basically multiplayer notepad.19:18
djph(same with the other things)19:18
oneBut, I really like devuan, have putzed around with Devuan Chimaera and Anscii2, as well19:18
oneJust, new, so digging into sysvinit has me probably overcomplicating something uncomplicated19:19
golinuxWhy do you think it needs "digging". It just works.19:19
oneI am also enjoying guix manager, and having issues trying to do the debian install. Historically I'd just use the install-script without issue19:20
onedigging is me getting acquainted19:20
oneIm what needs work, LOL19:20
golinuxDo you have a question?19:20
golinuxafk19:21
oneI guess two... Im needing to start the guix-daemon or maybe the socket? This only arises when doing guix manager install via debian19:22
oneWhen comparing systemd command to sysvinit its the use of systemd vs service?19:22
oneI've successfully restarted and started the daemon before using systemd. But all attempts to implement the sysvinit comparable(what I think it is, probably uninformed) are failing19:23
oneprobably silly mistake, but spent what I'd say is too much time on something I should "get"19:24
oneI think I'm looking for a lifesaver or a rope for 101 stuff, my looooorddddddd19:24
hagbardMost demons have script in /etc/init.d/19:25
hagbardYou'd call it like: /etc/init.d/somedemon start19:26
oneI think the scripts didn't get installed somehow or I'm overlooking.19:26
hagbardor stop, or restart19:26
oneahh, that's it19:26
oneI'm trying to do it like I could with systemd, which didn't require explicit path use in the comand19:27
oneI think that's the rub, let you all know if i screw something else up, but hopefully its that simple19:27
onethanks!19:27
___usedYou don't need the path. `service` command does it.19:33
___usedsudo service thisthat start|stop|restart|enable|disable19:34
___usedman service >> one19:34
___usedNote topical order is reversed versus systemd: systemd has: service start|... thisthat19:34
___used /usr/sbin/service is a script, you can read it. It calls /etc/init.d/thisthat $arg etc19:35
___used[ironically it is written by RH...]19:36
onehmm... I will just comb what I had done earlier, and see if my brain is compensating for a typo and Im not picking up on it. I was using a little chart that showed a side by side.... just like you all have intimated...19:37
onewith commands...19:38
___usedsudo is required for service unless you are root.19:38
one__used, thanks for all the help19:40
rwpone, The "service" command is preferred because it cleans the user environment before invoking the init service.  Avoids various potential problems depending upon what is in the user environment.20:02
rwpExamples "sudo service nginx stop" "sudo service nginx start"20:03
onefangThough there is a potential problem with the service command.  We still have some systemd units in lots of packages, even if they have sysvinit scripts as well.  The service command will run the systemd unit by preference over the sysvinit script.20:07
onefangWhich may or maynot screw things up.20:07
rwpEven on Devuan?  I would love to poke at an example to learn of this problem!20:09
onefangThat's what the man page for service says.20:09
rwpI am pretty sure that applies to upstream Debian and yes service does call systemctl there if it exists.20:10
rwpBut I am pretty sure that on devuan since systemctl does not exist that it does not call it.20:10
onefangIf you do poke at that, let me know your results.20:10
rwpAFAIK using service on Devuan is good to go.20:11
rwpAnd on Debian/Ubuntu/others with a systemd system then service passes control to systemctl.20:11
Jjp137just skimmed /usr/sbin/service and yeah that seems correct20:13
onefangWhich seems correct?20:14
Jjp137what rwp said; very early on in the script there is an is_systemd variable that is set to 1 if /run/systemd/system is a directory20:15
___used/usr/sbin/service deals with either systemd or sysvinit without user intervention20:22
___usedAnd it seems to detect there is no systemd on Beowulf just fine20:23
___usedUsing what Jjp137 said20:24
onesweet... figured the deal22:13
oneI was missing a daemonize package from debian that wasn't listed as a dependency on the guix installation. So I installed aptitude to easily pull the package22:14
onestarted the service... and vuallah22:14
onenot sure anyone else here is interested in guix, buit I found this if anyone needs it....  https://issues.guix.gnu.org/4786522:16
oneI have been exploring all operating systems i can get my hands on and guix is great when you need to run multiple managers.22:16
rwpone, As things related to Devuan this discussion is good but #guix has many experts on Guix there.22:51

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