libera/#devuan/ Saturday, 2023-02-04

bgstack15I finally got a Debian vm running, and xfe segfaults there too. Time to fire off the reportbug thingy, brb01:14
Xenguybgstack15, That's a pretty wild bug if it's replicated03:06
bgstack15I couldn't get reportbug to successfully use mx.devuan.org so I haven't sent the bug yet.04:17
bgstack15It's wild, only if you use CTRL+L. Otherwise the app runs fine.04:17
onefangCan we name this bug CTRL+heLL?  Then we can make a logo and web site.04:21
gnarfacebgstack15: file it with debian, since it's affecting both platforms04:23
martinledghello 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
martinledgI see that there's chrony that can do the same. What do you guys use to adjust the system time ?15:32
rktaI run sntp from cron15:32
martinledgalright thanks I'll try that15:33
martinledgdo you have a guide that explains what command I should run for sntp and cron?15:37
rktaI just have sntp -sS de.pool.ntp.org >/dev/null in my /etc/cron.daily15:40
martinledgahh thanks, and did you find out that ntp website ?15:41
martinledgi mean sorry where did you find that website15:42
martinledgntppool.org I guess15:45
rktaIt's not a website, it's the server's address. Here is a list: https://support.ntp.org/Servers/NTPPoolServers15:45
martinledgthanks man15:45
rktaReplace 'de' with the country your computer lives15:46
martinledgI'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
rktaWe all started as noobs. :)15:47
martinledgthankx again man15:47
rktauw15:48
martinledglast question, to  do the cronjob, you just run this command crontab -e as root, correct ?15:58
martinledgthen I do something like 0 11 * * * to run the sntp command everyday at 11am16:00
gnarfaceyes16:10
gnarfaceyou can setup a crontab for any user, but sntp probably needs root access16:11
martinledgyes I am running crontab -e as root so it should work I think16:11
gnarfaceif the job generates any output, it will be mailed to that user unless you define MAILTO in the crontab to point somewhere else16:13
martinledgthat is why rkta do > /dev/null if I understand that right16:14
gnarfaceyes16:14
gnarfaceprobably16:14
martinledgI did crontab -l and I have this output :16:14
martinledg0 11 * * * sntp -sS be.pool.ntp.org > /dev/null16:14
gnarfaceyou might need the full path to sntp16:15
martinledgso if I switch on my computer at noon will the cron job still run or not ?16:15
gnarfaceit will not16:15
martinledgoh ok16:15
martinledgso what's the best way to sync my system clock then16:16
gnarfacepersonally i like ntp16:16
gnarfacethe overhead is minimal16:16
martinledgyou use ntp with cronjob as well ?16:16
gnarfaceno it has a daemon that runs16:17
martinledgah ok16:17
martinledgisn't a simple command just safer ?16:17
martinledgI mean with sntp you don't need a daemon that run all the time on the machine - i don't know16:17
gnarfaceyou're connecting to the same servers either way16:18
gnarfaceif you run the daemon you have the option of being a server16:18
gnarfacethat can be handy if you have lots of computers16:18
martinledgok i see16:18
martinledgbut it's just for my thinkpad16:19
martinledgi don't know if you remember me gnarface you helped me a lot weeks ago16:19
gnarfacei think i vaguely remember a thinkpad from a few weeks ago but i'm not clear on specifics16:20
rktare pc off when cron should run, see anacron16:21
gnarfaceanyway, glad it worked out for you16:21
martinledgyea gnarface you helped me to set up virtualmanager with another user here (forgot his name), now my computer runs very well. I'm glad16:22
gnarfaceanother idea is you can fire off that sntp command from a boot-up script as well as the cron job16:22
gnarfaceor from /etc/rc.local16:22
martinledgrkta, are you saying that the cron job will still run if I power on my computer past 11 am ?16:22
gnarfacehe's suggesting switching to a different cron daemon, one that supports retroactive job firing16:23
martinledgyea I remember /etc/rc.local years ago I forgot what it does16:23
gnarfacebut 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 started16:23
martinledgyea I think I'm gonna do that actually16:24
rktaanacron is not a daemon16:24
martinledgthe rc.local thing it runs scripts at the startup of the computer if I recall16:24
gnarfaceit's not?16:24
rktabut it will make sure your job are run if your box is not 24/7 on.16:25
gnarfaceyea, 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/ script16:25
martinledgrkta, my cronjob will still fire with what I did or not?16:26
martinledgI did crontab -e and run this:16:26
martinledg0 11 * * * sntp -sS be.pool.ntp.org > /dev/null16:26
martinledgif not, I'm gonna use a bash script with that command and I'll use /etc/rc.local16:27
gnarfaceeasy to test the cron job if you just assign one for a couple minutes from now16:28
rktamartinledg: 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
gnarfacereally it's a lot of work to not run ntpd16:29
gnarfaceand you have the option of using the debian ntp pool servers if you're paranoid about the general public ones16:29
martinledgdude you're stressing me out now gnarface16:29
gnarfacealthough i guess it's true in either case that you can use the debian pool16:30
martinledgu use the debian ntp servers ?16:30
gnarfacewell most my machines use my own ntp server16:30
gnarfacei forget if i left that one on the debian ones or the main ones, lemme check...16:30
gnarfaceuh, yea left it at the stock default16:31
martinledgstock default is pool.ntp.org ?16:31
gnarfaceno, stock default is: 0.debian.pool.ntp.org, 1.debian.pool.ntp.org, 2.debian.pool.ntp.org, 3.debian.pool.ntp.org16:32
gnarfaceall 4 of those16:32
martinledgoh ok16:32
martinledgso if you're paranoid you use those, but what's paranoid about not using the general public ones?16:33
martinledgit's just time anyway nothing goes on those servers besides your system clock time16:33
martinledgor am I missing something16:34
gnarfacei 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 minimal16:34
gnarfacelike you say, it's not a very large attack surface16:35
martinledgthat's why I always like your input gnarface, you always bring me new information I don't have, I always learn with you hahaha16:36
raphahi all!16:36
martinledghi rapha16:36
raphahow does one install Java 8 in Devuan?16:36
gnarfacei think the package you want is named openjdk-9-jdk16:36
rapha(it seems https://exist-db.org/exist/apps/doc/basic-installation won't work with 11+ :( )16:36
gnarfacei mean sorry, openjdk-8-jdk obviously (that was a typo)16:37
raphaoh, *9*, i didn't even know there was a version 916:37
raphaoh, lol, ok16:37
raphathen i must be lacking the repo for that16:37
gnarfaceit goes all the way up to version 2116:37
raphayeah, but not sequentially, right? isn't it 8 - 11 - ...16:37
gnarfaceah it might be pulled out of the current release16:37
raphadamn :(16:38
raphaany chance to still get to it?16:38
raphaor wrong libc, wrong everything?16:38
gnarfacehttps://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=openjdk-8-jdk&x=submit16:38
gnarfacelooks like it's in unstable16:38
gnarfacebefore that, last seen in ascii16:38
gnarfacenot a great set of choices, but there you have it16:39
gnarfacethough theoretically you could run either in a VM16:39
raphai'm already in a VM :P16:40
raphaperhaps i'll try to shoehorn the unstable sources in16:40
raphait's just temporary16:41
raphathanks for the link!16:41
gnarfacewouldn't be recommended but it's your system16:41
raphayeah i know this is sacrilegous in the de(bi|vu)an world :)16:43
gnarfaceyou sure it needs to be java 8? that's pretty old16:44
gnarfacei also see 11, 17, 18, 19, 20 and 2116:44
gnarfacethe 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 crash16:45
gnarfacethe 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 already16:47
Xenguymartinledg, I installed chrony and didn't have to lift a finger, it just worked16:47
martinledghmm, interesting Xenguy I'm still debating whether I should use a daily script with sntp or try chrony16:48
raphagnarface: 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
Guest54hi. 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
fsmithreddid you make /etc/resolv.conf immutable so that network-manager won't change it?22:35
Guest54yes22:35
Guest54i’ve also removed old symlink22:36
fsmithredlol, then undo that first. chattr -i /etc/resolv.conf22:36
fsmithredthen edit22:36
fsmithredthen chatter +i same file22:36
fsmithredno22:36
fsmithredchattr22:36
Guest54no the install has a problem with files within /etc/resolvcomf22:37
Guest54which i can not purge. i’ve already tried to remove -i22:38
fsmithredls -l /etc/resolvconf22:38
fsmithredmine looks like this22:40
fsmithreddrwxr-xr-x 2 root root 4096 Jan  9  2022 update.d22:40
fsmithredGuest54, 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.d22:42
Guest54yes22:42
fsmithredwhat's the error you're getting? If it's more than a couple lines, please use paste.debian.net22:44
fsmithredwhen I try to install it here, i get an error message about resolv.conf being immutable. Is that what you got?22:45
fsmithredI don't want to actually install it, because I keep fighting with the ISP on name resolution.22:46
fsmithredand I got it working now.22:46
Guest54no, it has a problem with interface-order22:46
fsmithredyou using old interface names or new ones?22:46
fsmithredeth0 or enp-something?22:47
Guest54sry, i mean the installer can not recreate that folder/mapping22:47
Guest54because the old one can not be deleted in resolvcomf22:47
fsmithredis that file immutable?22:48
fsmithredand what's in it? I don't have one of those.22:48
Guest54its writeable but sudo rm keeps saying ‘operation not permitted’22:50
fsmithredlsattr /etc/resolvconf/interface-order (or the correct path)22:54
fsmithredbrb22:55

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