one | %n | 07:16 |
---|---|---|
gnarface | you're going to have to be more specific | 07:18 |
FatPhil_ | Maybe he's just trying to bring about a printf buffer overrun? | 09:08 |
one | Hey lo | 19:12 |
one | Anyone home? | 19:12 |
one | I suck at IRC, so please forgive me if I am being a dumbo. Getting acquainted with the messenger and coding again... LOL | 19:13 |
djph | hi one | 19:13 |
one | \djph Has anyone built an IRC4Noobs? LOL | 19:13 |
one | oops, see... | 19:13 |
one | LOL | 19:14 |
one | Hey djph, Im still starting my first cup of coffee, and just digging into Devuan, and IRC... | 19:14 |
hagbard | one: 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 |
one | hagbard, 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 |
djph | no | 19:18 |
djph | IRC is basically multiplayer notepad. | 19:18 |
djph | (same with the other things) | 19:18 |
one | But, I really like devuan, have putzed around with Devuan Chimaera and Anscii2, as well | 19:18 |
one | Just, new, so digging into sysvinit has me probably overcomplicating something uncomplicated | 19:19 |
golinux | Why do you think it needs "digging". It just works. | 19:19 |
one | I am also enjoying guix manager, and having issues trying to do the debian install. Historically I'd just use the install-script without issue | 19:20 |
one | digging is me getting acquainted | 19:20 |
one | Im what needs work, LOL | 19:20 |
golinux | Do you have a question? | 19:20 |
golinux | afk | 19:21 |
one | I guess two... Im needing to start the guix-daemon or maybe the socket? This only arises when doing guix manager install via debian | 19:22 |
one | When comparing systemd command to sysvinit its the use of systemd vs service? | 19:22 |
one | I'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 failing | 19:23 |
one | probably silly mistake, but spent what I'd say is too much time on something I should "get" | 19:24 |
one | I think I'm looking for a lifesaver or a rope for 101 stuff, my looooorddddddd | 19:24 |
hagbard | Most demons have script in /etc/init.d/ | 19:25 |
hagbard | You'd call it like: /etc/init.d/somedemon start | 19:26 |
one | I think the scripts didn't get installed somehow or I'm overlooking. | 19:26 |
hagbard | or stop, or restart | 19:26 |
one | ahh, that's it | 19:26 |
one | I'm trying to do it like I could with systemd, which didn't require explicit path use in the comand | 19:27 |
one | I think that's the rub, let you all know if i screw something else up, but hopefully its that simple | 19:27 |
one | thanks! | 19:27 |
___used | You don't need the path. `service` command does it. | 19:33 |
___used | sudo service thisthat start|stop|restart|enable|disable | 19:34 |
___used | man service >> one | 19:34 |
___used | Note topical order is reversed versus systemd: systemd has: service start|... thisthat | 19:34 |
___used | /usr/sbin/service is a script, you can read it. It calls /etc/init.d/thisthat $arg etc | 19:35 |
___used | [ironically it is written by RH...] | 19:36 |
one | hmm... 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 |
one | with commands... | 19:38 |
___used | sudo is required for service unless you are root. | 19:38 |
one | __used, thanks for all the help | 19:40 |
rwp | one, 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 |
rwp | Examples "sudo service nginx stop" "sudo service nginx start" | 20:03 |
onefang | Though 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 |
onefang | Which may or maynot screw things up. | 20:07 |
rwp | Even on Devuan? I would love to poke at an example to learn of this problem! | 20:09 |
onefang | That's what the man page for service says. | 20:09 |
rwp | I am pretty sure that applies to upstream Debian and yes service does call systemctl there if it exists. | 20:10 |
rwp | But I am pretty sure that on devuan since systemctl does not exist that it does not call it. | 20:10 |
onefang | If you do poke at that, let me know your results. | 20:10 |
rwp | AFAIK using service on Devuan is good to go. | 20:11 |
rwp | And on Debian/Ubuntu/others with a systemd system then service passes control to systemctl. | 20:11 |
Jjp137 | just skimmed /usr/sbin/service and yeah that seems correct | 20:13 |
onefang | Which seems correct? | 20:14 |
Jjp137 | what 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 directory | 20:15 |
___used | /usr/sbin/service deals with either systemd or sysvinit without user intervention | 20:22 |
___used | And it seems to detect there is no systemd on Beowulf just fine | 20:23 |
___used | Using what Jjp137 said | 20:24 |
one | sweet... figured the deal | 22:13 |
one | I 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 package | 22:14 |
one | started the service... and vuallah | 22:14 |
one | not sure anyone else here is interested in guix, buit I found this if anyone needs it.... https://issues.guix.gnu.org/47865 | 22:16 |
one | I 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 |
rwp | one, 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/!