bgstack15 | I finally got a Debian vm running, and xfe segfaults there too. Time to fire off the reportbug thingy, brb | 01:14 |
---|---|---|
Xenguy | bgstack15, That's a pretty wild bug if it's replicated | 03:06 |
bgstack15 | I couldn't get reportbug to successfully use mx.devuan.org so I haven't sent the bug yet. | 04:17 |
bgstack15 | It's wild, only if you use CTRL+L. Otherwise the app runs fine. | 04:17 |
onefang | Can we name this bug CTRL+heLL? Then we can make a logo and web site. | 04:21 |
gnarface | bgstack15: file it with debian, since it's affecting both platforms | 04:23 |
martinledg | hello I just noticed that there is no option in devuan to configure time by default. Should I install the ntp package or sntp ? I don't know which one is better to install to sync my clock or should I just leave it as it is? | 15:27 |
martinledg | I see that there's chrony that can do the same. What do you guys use to adjust the system time ? | 15:32 |
rkta | I run sntp from cron | 15:32 |
martinledg | alright thanks I'll try that | 15:33 |
martinledg | do you have a guide that explains what command I should run for sntp and cron? | 15:37 |
rkta | I just have sntp -sS de.pool.ntp.org >/dev/null in my /etc/cron.daily | 15:40 |
martinledg | ahh thanks, and did you find out that ntp website ? | 15:41 |
martinledg | i mean sorry where did you find that website | 15:42 |
martinledg | ntppool.org I guess | 15:45 |
rkta | It's not a website, it's the server's address. Here is a list: https://support.ntp.org/Servers/NTPPoolServers | 15:45 |
martinledg | thanks man | 15:45 |
rkta | Replace 'de' with the country your computer lives | 15:46 |
martinledg | I'm such a noob, I feel so bad asking you dumb questions. Every time I come here you guys helped me and I'm so grateful for that :) | 15:46 |
rkta | We all started as noobs. :) | 15:47 |
martinledg | thankx again man | 15:47 |
rkta | uw | 15:48 |
martinledg | last question, to do the cronjob, you just run this command crontab -e as root, correct ? | 15:58 |
martinledg | then I do something like 0 11 * * * to run the sntp command everyday at 11am | 16:00 |
gnarface | yes | 16:10 |
gnarface | you can setup a crontab for any user, but sntp probably needs root access | 16:11 |
martinledg | yes I am running crontab -e as root so it should work I think | 16:11 |
gnarface | if the job generates any output, it will be mailed to that user unless you define MAILTO in the crontab to point somewhere else | 16:13 |
martinledg | that is why rkta do > /dev/null if I understand that right | 16:14 |
gnarface | yes | 16:14 |
gnarface | probably | 16:14 |
martinledg | I did crontab -l and I have this output : | 16:14 |
martinledg | 0 11 * * * sntp -sS be.pool.ntp.org > /dev/null | 16:14 |
gnarface | you might need the full path to sntp | 16:15 |
martinledg | so if I switch on my computer at noon will the cron job still run or not ? | 16:15 |
gnarface | it will not | 16:15 |
martinledg | oh ok | 16:15 |
martinledg | so what's the best way to sync my system clock then | 16:16 |
gnarface | personally i like ntp | 16:16 |
gnarface | the overhead is minimal | 16:16 |
martinledg | you use ntp with cronjob as well ? | 16:16 |
gnarface | no it has a daemon that runs | 16:17 |
martinledg | ah ok | 16:17 |
martinledg | isn't a simple command just safer ? | 16:17 |
martinledg | I mean with sntp you don't need a daemon that run all the time on the machine - i don't know | 16:17 |
gnarface | you're connecting to the same servers either way | 16:18 |
gnarface | if you run the daemon you have the option of being a server | 16:18 |
gnarface | that can be handy if you have lots of computers | 16:18 |
martinledg | ok i see | 16:18 |
martinledg | but it's just for my thinkpad | 16:19 |
martinledg | i don't know if you remember me gnarface you helped me a lot weeks ago | 16:19 |
gnarface | i think i vaguely remember a thinkpad from a few weeks ago but i'm not clear on specifics | 16:20 |
rkta | re pc off when cron should run, see anacron | 16:21 |
gnarface | anyway, glad it worked out for you | 16:21 |
martinledg | yea gnarface you helped me to set up virtualmanager with another user here (forgot his name), now my computer runs very well. I'm glad | 16:22 |
gnarface | another idea is you can fire off that sntp command from a boot-up script as well as the cron job | 16:22 |
gnarface | or from /etc/rc.local | 16:22 |
martinledg | rkta, are you saying that the cron job will still run if I power on my computer past 11 am ? | 16:22 |
gnarface | he's suggesting switching to a different cron daemon, one that supports retroactive job firing | 16:23 |
martinledg | yea I remember /etc/rc.local years ago I forgot what it does | 16:23 |
gnarface | but like i said, you could also just put the command in /etc/rc.local and it'll also fire at boot up, after everything else has started | 16:23 |
martinledg | yea I think I'm gonna do that actually | 16:24 |
rkta | anacron is not a daemon | 16:24 |
martinledg | the rc.local thing it runs scripts at the startup of the computer if I recall | 16:24 |
gnarface | it's not? | 16:24 |
rkta | but it will make sure your job are run if your box is not 24/7 on. | 16:25 |
gnarface | yea, rc.local runs very last. if you want something to run earlier in the boot process you have to edit or create an /etc/init.d/ script | 16:25 |
martinledg | rkta, my cronjob will still fire with what I did or not? | 16:26 |
martinledg | I did crontab -e and run this: | 16:26 |
martinledg | 0 11 * * * sntp -sS be.pool.ntp.org > /dev/null | 16:26 |
martinledg | if not, I'm gonna use a bash script with that command and I'll use /etc/rc.local | 16:27 |
gnarface | easy to test the cron job if you just assign one for a couple minutes from now | 16:28 |
rkta | martinledg: It will run if your pc is up at this time. I recommend to use anacron any way to make sure all system related jobs are run. | 16:28 |
gnarface | really it's a lot of work to not run ntpd | 16:29 |
gnarface | and you have the option of using the debian ntp pool servers if you're paranoid about the general public ones | 16:29 |
martinledg | dude you're stressing me out now gnarface | 16:29 |
gnarface | although i guess it's true in either case that you can use the debian pool | 16:30 |
martinledg | u use the debian ntp servers ? | 16:30 |
gnarface | well most my machines use my own ntp server | 16:30 |
gnarface | i forget if i left that one on the debian ones or the main ones, lemme check... | 16:30 |
gnarface | uh, yea left it at the stock default | 16:31 |
martinledg | stock default is pool.ntp.org ? | 16:31 |
gnarface | no, stock default is: 0.debian.pool.ntp.org, 1.debian.pool.ntp.org, 2.debian.pool.ntp.org, 3.debian.pool.ntp.org | 16:32 |
gnarface | all 4 of those | 16:32 |
martinledg | oh ok | 16:32 |
martinledg | so if you're paranoid you use those, but what's paranoid about not using the general public ones? | 16:33 |
martinledg | it's just time anyway nothing goes on those servers besides your system clock time | 16:33 |
martinledg | or am I missing something | 16:34 |
gnarface | i mean, there's theoretical weaknesses to the protocol, and the ever present possibility of a hack on the daemon itself, but the risks are pretty minimal | 16:34 |
gnarface | like you say, it's not a very large attack surface | 16:35 |
martinledg | that's why I always like your input gnarface, you always bring me new information I don't have, I always learn with you hahaha | 16:36 |
rapha | hi all! | 16:36 |
martinledg | hi rapha | 16:36 |
rapha | how does one install Java 8 in Devuan? | 16:36 |
gnarface | i think the package you want is named openjdk-9-jdk | 16:36 |
rapha | (it seems https://exist-db.org/exist/apps/doc/basic-installation won't work with 11+ :( ) | 16:36 |
gnarface | i mean sorry, openjdk-8-jdk obviously (that was a typo) | 16:37 |
rapha | oh, *9*, i didn't even know there was a version 9 | 16:37 |
rapha | oh, lol, ok | 16:37 |
rapha | then i must be lacking the repo for that | 16:37 |
gnarface | it goes all the way up to version 21 | 16:37 |
rapha | yeah, but not sequentially, right? isn't it 8 - 11 - ... | 16:37 |
gnarface | ah it might be pulled out of the current release | 16:37 |
rapha | damn :( | 16:38 |
rapha | any chance to still get to it? | 16:38 |
rapha | or wrong libc, wrong everything? | 16:38 |
gnarface | https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=openjdk-8-jdk&x=submit | 16:38 |
gnarface | looks like it's in unstable | 16:38 |
gnarface | before that, last seen in ascii | 16:38 |
gnarface | not a great set of choices, but there you have it | 16:39 |
gnarface | though theoretically you could run either in a VM | 16:39 |
rapha | i'm already in a VM :P | 16:40 |
rapha | perhaps i'll try to shoehorn the unstable sources in | 16:40 |
rapha | it's just temporary | 16:41 |
rapha | thanks for the link! | 16:41 |
gnarface | wouldn't be recommended but it's your system | 16:41 |
rapha | yeah i know this is sacrilegous in the de(bi|vu)an world :) | 16:43 |
gnarface | you sure it needs to be java 8? that's pretty old | 16:44 |
gnarface | i also see 11, 17, 18, 19, 20 and 21 | 16:44 |
gnarface | the risks are that you might corrupt your installation's package dependency tree so bad you need to reinstall to update later, or just that what you install will only crash | 16:45 |
gnarface | the right way to do it would be to get the java 8 source package and build that for the release you're on, but i have a feeling that there's a reason it's not in the repos already | 16:47 |
Xenguy | martinledg, I installed chrony and didn't have to lift a finger, it just worked | 16:47 |
martinledg | hmm, interesting Xenguy I'm still debating whether I should use a daily script with sntp or try chrony | 16:48 |
rapha | gnarface: i was looking for later versions in connection with that package. didn't see anything. all i see is "so it is important that you use the version that eXist-db requires: Java 8 (since eXist-db 3.0)" ... where did you see anything about 11? | 18:11 |
Guest54 | hi. i have removed resolvconf previously, but when i try to reinstall it i get an error message that the /etc/resolvconf is not writable. i tried to remove old files but i can’t delete some of them. any ideas? | 22:32 |
fsmithred | did you make /etc/resolv.conf immutable so that network-manager won't change it? | 22:35 |
Guest54 | yes | 22:35 |
Guest54 | i’ve also removed old symlink | 22:36 |
fsmithred | lol, then undo that first. chattr -i /etc/resolv.conf | 22:36 |
fsmithred | then edit | 22:36 |
fsmithred | then chatter +i same file | 22:36 |
fsmithred | no | 22:36 |
fsmithred | chattr | 22:36 |
Guest54 | no the install has a problem with files within /etc/resolvcomf | 22:37 |
Guest54 | which i can not purge. i’ve already tried to remove -i | 22:38 |
fsmithred | ls -l /etc/resolvconf | 22:38 |
fsmithred | mine looks like this | 22:40 |
fsmithred | drwxr-xr-x 2 root root 4096 Jan 9 2022 update.d | 22:40 |
fsmithred | Guest54, are you running chimaera? | 22:41 |
Guest54 | -rw-r—r—1 root root 878 interface-order || drwxr-xr-x 2 root root 4096 resolv.conf.d ||drwxr-xr-x 2 root root 4096 update.d | 22:42 |
Guest54 | yes | 22:42 |
fsmithred | what's the error you're getting? If it's more than a couple lines, please use paste.debian.net | 22:44 |
fsmithred | when I try to install it here, i get an error message about resolv.conf being immutable. Is that what you got? | 22:45 |
fsmithred | I don't want to actually install it, because I keep fighting with the ISP on name resolution. | 22:46 |
fsmithred | and I got it working now. | 22:46 |
Guest54 | no, it has a problem with interface-order | 22:46 |
fsmithred | you using old interface names or new ones? | 22:46 |
fsmithred | eth0 or enp-something? | 22:47 |
Guest54 | sry, i mean the installer can not recreate that folder/mapping | 22:47 |
Guest54 | because the old one can not be deleted in resolvcomf | 22:47 |
fsmithred | is that file immutable? | 22:48 |
fsmithred | and what's in it? I don't have one of those. | 22:48 |
Guest54 | its writeable but sudo rm keeps saying ‘operation not permitted’ | 22:50 |
fsmithred | lsattr /etc/resolvconf/interface-order (or the correct path) | 22:54 |
fsmithred | brb | 22:55 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!