sfox | hey what are the runlevels on devuan? | 02:19 |
---|---|---|
sfox | i typed runlevel and the answer is N 2 | 02:19 |
sfox | i think 3 is multiuser and some higher number is graphical mode right? | 02:19 |
sfox | 2 seems low for a normal runlevel | 02:19 |
gnarface | sfox: it's not anything like redhat's use of runlevels. basically everything is just in runlevel 2 | 02:19 |
sfox | how can i check if a service is in a runlevel 2? | 02:20 |
gnarface | (this is the same as with debian) | 02:20 |
sfox | ls -l /etc/rc2.d ? | 02:20 |
gnarface | if you're using sysvinit yea that should work | 02:20 |
sfox | is there a tool to check all runlevels for a particular service and report? | 02:20 |
gnarface | sysv-rc-conf is the only one that comes to mind but there might be others | 02:21 |
sfox | what package is that in? it's not in $PATH for me | 02:22 |
gnarface | package of the same name | 02:22 |
gnarface | not installed by default | 02:22 |
sfox | ok | 02:22 |
gnarface | note that also if your /etc/init.d/ script filename for the service doesn't end with ".sh" the startup/shutdown orders are secondarily controlled by the LSB headers inside the script itself (they look like comments to the script but they're parsed by init) | 02:23 |
sfox | thankyou | 02:23 |
gnarface | no problem | 02:24 |
sfox | where can I find some documentation on this what what runlevels mean what? | 02:24 |
sfox | debian documentation is hard to look through since it's mostly systemd specific now | 02:24 |
gnarface | none of the behaviors have changed since debian wheezy so if you can't find the LSB stuff on their wiki anymore try checking on archive.org | 02:24 |
gnarface | it's fairly self-explanatory if you stare at them a little bit though | 02:24 |
Xenguy | https://wiki.debian.org/RunLevel | 02:25 |
Xenguy | ? | 02:25 |
gnarface | that's runlevel stuff but no mention of the LSB behavior there | 02:25 |
sfox | " 2 through 5 (multiuser modes)" | 02:25 |
Xenguy | aha | 02:25 |
gnarface | yea, none of the stock stuff uses anything but 2 though. 3, 4, and 5 are basically reserved for whatever you want | 02:25 |
gnarface | sfox, Xenguy: here, still on their wiki just marked deprecated: https://wiki.debian.org/LSBInitScripts | 02:26 |
sfox | ok thanks. | 02:27 |
gnarface | the only real big problem with these is that if you customize them heavily the package manager may still clobber your changes, so keep a backup of /etc/init.d/ if you start doing that | 02:27 |
sfox | that's the information i was wondering about | 02:27 |
gnarface | and unlike it says in that RunLevel wiki page, /etc/inittab is still used here | 02:28 |
sfox | wow, sysv-rc-conf is nice | 02:29 |
sfox | i can't believe i haven't used this before and have just been using chkconfig all these years | 02:29 |
gnarface | so, also a helpful clarification i'm not sure is mentioned on there: i found that the /etc/rc?.d/ start links can be overridden by the LSB headers, but the kill links will override LSB headers | 02:30 |
sfox | can a system V init run things in parallel to improve boot speeds? | 02:30 |
sfox | I don't think it does that by default | 02:31 |
gnarface | yes it does, and it actually had that feature before systemd was even being talked about | 02:31 |
gnarface | that's what these LSB things are for actually | 02:31 |
gnarface | information to the contrary is paid FUD | 02:31 |
gnarface | literal actually commercially propagated lies | 02:31 |
sfox | i inferred parallelization from LSB, but I never saw how to turn that feature on anymore | 02:32 |
gnarface | yea it's been on since like lenny or squeeze | 02:32 |
sfox | oh so I don't need to set anything | 02:32 |
gnarface | nope, it's already doing it | 02:32 |
gnarface | and if you benchmark you'll find it actually does it faster than systemd in most cases | 02:32 |
gnarface | so one of their primary selling points, about boot speed, was itself a paper-thin lie | 02:33 |
sfox | That's really concerning gnarface | 02:33 |
gnarface | oh, tangentially, some services have a config chunk in /etc/default/ that contains configuration variables, often including a last-word "enable/disable" order | 02:34 |
gnarface | though usually it's on by default, you should always check there first if you want to disable something | 02:34 |
gnarface | or add some non-standard command-line parameters to the daemon (as it's often used) | 02:35 |
gnarface | sfox: heh, yes it's very concerning, and that's why we're all here. | 02:36 |
sfox | I'm afraid I myself may at some point parroted that lie before having heard it | 02:37 |
gnarface | well, we've all been taken in by some sort of deception at one time or another. what really matters is how you react when you're exposed to the truth. | 02:39 |
gnarface | but we don't bitch about it in here. this channel is reserved for support issues. bitching goes to #devuan-offtopic | 02:39 |
rwp | I am disappointed that chkconfig was removed from the Debian repositories. Though the command line syntax of it was horrid. | 05:19 |
brocashelm | what replaced it? | 05:57 |
rwp | In Debian it was replaced with systemd. | 06:00 |
rwp | I keep a copy of the last version and put it in /usr/local/sbin/chkconfig so that I can continue to use it. | 06:00 |
tom-1 | Hello . I would appreciate any advice or help. Can you please tell me what command in the terminal can I know what font I am using now? Not a list of fonts, but which one am I currently using? | 10:46 |
phogg | using where? In the terminal? | 11:13 |
brocashelm | quickest way i know is using neofetch (check Terminal Font) | 11:20 |
onefang | GUI terminals often have a settings menu for setting the font, and would show you the current font. Non GUI terminals would use whatever the system font is, can't recall off the top of my head what /etc file that is set in. | 11:43 |
djph | onefang: I don't remember the file, but the debian (and derivative) TTYs can be tweaked with 'dpkg-reconfigure console-setup' | 12:02 |
djph | oh, I've got an /etc/default/console-setup here ... | 12:03 |
onefang | That sounds like it. | 12:14 |
n4dir | there is console-setup and console-data, i always forget which does what | 12:18 |
n4dir | one is installed per default, iirc, the other not, so if feature x is missing, it usually is the one not installed, in my case | 12:19 |
hacksenwerk | Hello. I added somed lines at the bottom of /etc/rc.local to reset the tty after boot and show some text with echo. | 12:39 |
hacksenwerk | I also want to show a list of all users available on the system with: users | sed 's/ /\n/g | 12:40 |
hacksenwerk | But that doesn't work. | 12:40 |
hacksenwerk | Probably because no one is logged in already to run that command | 12:40 |
hacksenwerk | Is there a other way to display a list of all users before login? | 12:40 |
hacksenwerk | Oh weird, fater login in that users command show not only user1 and root, it shows user1 user1 user1 root | 12:43 |
hacksenwerk | *after | 12:43 |
hacksenwerk | Hmm.. ah nevermind, I will just echo the usernames then. ^^ | 12:44 |
onefang | Are things being printed on screen, then quickly replaced by login screens? That's why I disable logins on TTY1 and just leave it for boot and log messages. | 12:45 |
hacksenwerk | onefang: yes but I run just the reset command in /et/rc.local (you can use also clear) | 12:45 |
hacksenwerk | rwp: I marked all packages that apt autoremove --purge libelogind-compat wants to remove too, as manually installed, but some are still there when I run that remove command again.. :( | 12:52 |
hacksenwerk | Like cmus, smartmontools, the whole xserver and so on. | 12:52 |
hacksenwerk | Fuck this ISP! | 12:53 |
hacksenwerk | They should get their servers ddosed to death >:( | 12:54 |
hacksenwerk | My internet connection is more unstable than fsmithred satelite internet... | 12:54 |
hacksenwerk | hmprf... | 12:54 |
hacksenwerk | apt-cache rdepends libelogind-compat lists only libpam-elogind and that one is not installed on my system. | 12:55 |
hacksenwerk | wtf?! apt autoremove --purge libelogind-compat wants also take packages like dmeventd and lvm2 with it! o_0 | 12:57 |
hacksenwerk | Seems like I am in a situation where "install the whole system again" would be a good solution. | 13:03 |
hacksenwerk | And change to some other isp! | 13:04 |
u-amarsh04 | hacksenwerk I always find aptitude to be useful in exploring hypotheticals of package addition and removal | 14:35 |
hacksenwerk | u-amarsh04: But that's just a frontend of apt and apt is already a frontend for dpkg... | 14:37 |
Wonka | oh yes, best package management experience I had yet | 14:37 |
Wonka | "just". | 14:37 |
hacksenwerk | I tried aptitude long time ago and I don't like it. | 14:38 |
hacksenwerk | That problem should be solveable without an additional frontend to dpkg imho. | 14:38 |
Wonka | one can surely construct a very very long command line... | 14:39 |
Wonka | in an iterative process... | 14:39 |
u-amarsh04 | aptitude has control-u for undo or you can control-c out of it | 14:39 |
Wonka | or one could use aptitude and do essentially the same in a TUI | 14:39 |
hacksenwerk | u-amarsh04: nah.. nothing I would use. | 14:39 |
u-amarsh04 | I've just grown with aptitude, and just use dpkg for a few things like installing locally built kernels | 14:40 |
hacksenwerk | My undo is done by making backups of the actual package list and do a rollback with it if I have to. | 14:40 |
u-amarsh04 | I've had a bit of pain like that when installing a bundle of package upgrades together leaves undesirable results and I need to reinstall older versions | 14:42 |
hacksenwerk | Anyway I think I will just reinstall devuan, this time without any desktop stuff, so elogin_foobar should stay away from my system in the first place. | 14:42 |
u-amarsh04 | I haven't had to reinstall an operating system my other pc since 2004 - started with Debian and migrated to new hardware and moved to Devuan without ever reinstalling | 14:43 |
Wonka | u-amarsh04: I use "apt install ./linux-image-....deb" since dpkg started nagging me to do that... | 14:43 |
hacksenwerk | u-amarsh04: :) | 14:44 |
hacksenwerk | u-amarsh04: To me it seems something is broken here because of that elogind stuff and I don't like to mess arround with fixing it, while this process takes hours of my precious lifetime again... Reinstall is done in minutes. | 14:45 |
hacksenwerk | But I will not doing it today, maybe next week or so. | 14:46 |
u-amarsh04 | ah, ok | 14:46 |
u-amarsh04 | I do use elogind myself | 14:47 |
hacksenwerk | I installed programs like cmus for example first, so it doesn''t make any sense, that removing elogind stuff that I want to remove, wants to remove packages like cmus... | 14:48 |
hacksenwerk | Also the bare xserver I use was installed before that xfce stuff, that probably brought that elogind stuff with it... | 14:49 |
hacksenwerk | Yeah /var/log/apt/history.log says so, also the display manager slim has some elogin stuff. | 14:50 |
u-amarsh04 | cmus depends on libsystemd0 (which can be provided by libelogind-compat - in my system, or libelogind0 or libsystemd0 itself) | 14:52 |
hacksenwerk | apt list --installed *elogin* libelogind-compat libelogind0 | 14:52 |
hacksenwerk | both packages want to break my system if I try to remove them. | 14:52 |
hacksenwerk | u-amarsh04: Are you on debian? | 14:53 |
u-amarsh04 | no, Devuan | 14:53 |
hacksenwerk | You are right! | 14:54 |
hacksenwerk | wtf what does it need that for? | 14:54 |
hacksenwerk | lvm2 also depends on libsystemd0 | 14:55 |
hacksenwerk | I thought that was a dummy package or something | 14:56 |
hacksenwerk | *Scream* so devuan contains systemd stuff *crying* | 14:56 |
hacksenwerk | man that's hard :( | 14:56 |
u-amarsh04 | yes, libsystemd0 in Devuan doesn't depend on systemd, it's a substitute package to satisfy other package's requirements without having to have systemd installed | 14:57 |
hacksenwerk | Poettering has done a really good job to fuck up linux... | 14:57 |
hacksenwerk | u-amarsh04: Yeah.. but I wonder if someday programs decide to make some hard depencie on some systemd functions so devuan can not ship them any longer... :( | 14:58 |
hacksenwerk | That's a scary thought... | 14:59 |
u-amarsh04 | but my installation just uses libelogind-compat and libelogind0 - libelogind-compat provides the libsystemd0 alias and dummy functions | 14:59 |
hacksenwerk | Well... so far it seems that you helped me out with that. I don't need to reinstall (yay!) because cmus or lvm2 or one of the others would bring that elogin stuff again on my system. | 15:00 |
hacksenwerk | u-amarsh04: Yes I have those both too and no libsystemd0 | 15:00 |
hacksenwerk | So that's the whole issue here: I tried to remove essential packages, so apt behaves total normal here ^^' | 15:01 |
hacksenwerk | u-amarsh04: Thank you very much for pointing that out! | 15:01 |
onefang | "but I wonder if someday programs decide to make some hard depencie on some systemd functions so devuan can not ship them any longer." That's why we have the list of banned packages. | 15:01 |
hacksenwerk | onefang: yeah I know that list... | 15:01 |
hacksenwerk | Hopefully I never have to read it again... | 15:02 |
onefang | I wont link it then. | 15:02 |
hacksenwerk | onefang: lol I have the link anyway :) | 15:02 |
hacksenwerk | Ok. Enough computer for today. I really need to reduce my computing time again now that I'm no longer ill. | 15:03 |
hacksenwerk | And it is wonderful weather out there! | 15:03 |
hacksenwerk | Reality here I come! :) | 15:04 |
onefang | Have fun. | 15:04 |
hacksenwerk | Read you later. :) | 15:04 |
hacksenwerk | onefang: thx | 15:04 |
tom-1 | phogg: Hello. yes,terminal | 15:29 |
tom-1 | brocashelm: Thanks for the reply. I know that there is such a program, but I would like to know how to find out through the terminal which font I use, preferably with one command, if possible | 15:30 |
tom-1 | for example the fc-list command shows all fonts in the system | 15:31 |
rrq | tom-1: the font decision(s) belong to the terminal emulator; the default choices for a console are in /etc/default/console-setup | 15:54 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!