libera/#devuan/ Sunday, 2020-05-03

systemdleteWhy does runlevel tell me "N 2" when I think I am in multi-user (5?) level?02:05
systemdleteThis is the situation immediately after boot.02:06
systemdlete  /var/run/runlevel does say 202:06
systemdletenvm.02:09
systemdleteI keep forgetting this is rc, not sysvinit02:10
masonsystemdlete: Yeah, it's not quite as rigorously segmented as sysv.02:11
systemdleteI'm having a long "hang" upon boot.  I see cups and cups-browsed, then it hangs for a few minutes02:11
systemdleteFinally, I see dovecot start.  So I am guessing it is dovecot at fault here.02:12
sgagemy inittab shows default level is in fact 202:12
systemdleteBut starting dovecot from cmd line after login works instantly, so I am guessing it is dovecot02:12
systemdletesgage: ignore please02:12
systemdleteit is correct; I was not02:13
sgageAOK02:13
systemdlete:)02:14
systemdletemason:  Any idea about dovecot (or whatever is causing it to pause?)02:14
masonsystemdlete: Yeah, pop some echo lines into the scripts around there, and you can see exactly where you're hanging up.02:15
masonstart and end of each script, and you'll know right where you are02:15
systemdleteFor the moment, I have disabled dovecot, and I am rebooting to see if that's it02:15
systemdleteThen I can debug dovecot or the like02:16
masonsystemdlete: Ah. Are you using ifupdown? If so, change allow-hotplug to auto.02:16
masonsystemdlete: I don't know why it defaults to allow-hotplug, but it's kind of bad.02:16
systemdleteOh... right.  Maybe it is waiting on a wireless connection?02:17
masonOr maybe it's something else, but that one bites me on just about every install.02:17
systemdlete:)02:17
systemdleteI mean, :(02:17
masonExactly.02:17
systemdleteI confirm it hangs on dovecot, and probably for the reason you are saying.  Now changing interfaces file...02:19
systemdletemason:  My file is already set for 'auto'02:20
* systemdlete goes off to pollute dovecot startup with tons of traces... 8|02:21
masonHm. Then yeah, instrument the start-up scripts and where you're hanging will pop right out.02:21
masonWas it definitely dovecot?02:21
systemdleteJust dovecot really02:21
masonkk02:21
systemdleteyep.02:21
systemdleterebooted with it disabled, and *snap!* it was back up instantly02:22
masonso, if you've narrowed it down that far, you can replace dovecot with something that runs dovecot under strace, for example.02:22
systemdletedovecot is def the sticky wicket.02:22
masonLike, move the actual binary and put in a shell script with the right name, where the shell script passed its arguments to an strace'd dovecot binary and saves the trace off to some pid-based name.02:23
systemdleteset -xv first02:23
systemdletethat will help zero in on which part of the script hangs, might not be dovecot itself. It does other setups02:24
systemdleteIt's hanging on doveconf, actually02:24
systemdlete(that's why I wanted to do xv first)02:25
systemdleteAnd then I can try it after login to see if I can replicate that behavior02:25
tuxd3vhello guys, I need some help to configure my bluethoot headset02:39
tuxd3vI installed blueman02:39
tuxd3vI already paired the devices02:39
tuxd3vfor what I understand blueman needs dbus02:39
tuxd3vI should have dbus running by now?02:40
tuxd3vit fails to connect: Procoll not availlable???02:41
tuxd3vDBUS failed error02:42
tuxd3vits what I get02:42
tuxd3vblueman.bluez.errors.DBusFailedError:Protocol not availlable02:45
systemdletemason: Mystery solved (almost).  strace of doveconf shows it hangs on call to getrandom(... in a VM!   I recall there is a way to fix this, but I don't remember what03:25
rrqhaveged03:28
tuxd3vits possible to use Alsa, in Mate Desktop instead of Pulse Audio?03:31
sgagetuxd3v: that's what I'm doing right now. Got some nice music going on Pandora :-)03:55
sgageYou may have to install apulse to satisfy some programs, but no-pulseaudio works fine.03:56
systemdleterrq:  I think that was it, but it looks like it has not started in time for dovecot.  Dovecot is still doing its hangy thing on boot04:59
systemdleteoh, wait05:00
systemdletelooks like it wont start05:00
no_9I just installed ASCII, can't seem to install kaffeine or KDE... anyone know what's up with that?07:11
bpmedleyno_9 : Fresh install?07:12
no_9Yasss07:12
bpmedleyWhat error messages are you getting?07:13
no_9I can't install hex chat either, so I have to manually transfer07:14
no_9Package KDE standard is not available but is referred to by another package07:14
bpmedleyAny network issues?  Can you ping a remote host like google.com?07:15
no_9I have no problem being online, I tried to get on here or via mibbit but apparently freenode doesn't like mibbit07:15
bpmedleyWhat's in /etc/apt/sources.list ?07:16
no_9I've already Run apt-get update, apt get upgrade, app gat get dist upgrade07:17
bpmedleyBut, what's in the sources.list?07:17
no_9The sources list is what was on the web page for Devuan for ascii07:17
bpmedleyWhat's your apt-get install command?07:17
no_9Its amd64 btw07:18
no_9Apt-get install kde then i tried apt-get install kde*07:19
bpmedleytry "apt-get install task-kde-desktop"  just guessing07:20
no_9Trying07:21
no_9Package task KDE desktop has no installation candidate07:22
no_9Likewise for KDE desktop07:22
no_9Wait that's not right07:22
no_9Package task KDE desktop is not available, but is referred to by another package07:23
no_9I get that same message for KDE standard07:23
no_9I really didn't want to use KDE, I just wanted to use some KDE apps, like kaffeine07:24
no_9Does devuan not have its own multimedia Source? Do you have to use a Debian release multimedia source?07:25
no_9Something is really not right, I just tried to install midnight Commander and I get package MC has no installation candidate07:38
ulletare you encountering unsupported codecs no_908:17
no_9pk i got hexchat installed08:36
no_9ok too08:36
no_9i think i inaccurately copied the sources list 1st time around08:37
ulletheh08:39
no_9nothing is so sure after 3-4 shiner bocks08:39
no_9what do you guys do for multimedia?08:44
no_9use debian jessie?08:45
ulletdevuan no_908:55
ulletall my media plays fine for me08:55
no_9well whats your line in /apt/sources.list for multimedia? i couldnt find olne for devuan08:57
no_9one08:57
ulletnone08:57
ulletjust the three beowulf entries no_908:59
no_9link pls?09:00
no_9i thought beowulf was a cluster distro09:00
ullethttp://0x0.st/i2uP.list09:00
no_9if i mix that in w/ 64 bit ascii am i going to break everything to hell?09:01
ulletwell to upgrade from ascii to beowulf i switched the ascii lines to beowulf and apt updated / apt upgraded09:02
ulletbut there might be issues09:02
no_9WAIT a minute theres no multimedia spurces in that09:02
no_9sources09:02
ulletyeah09:03
ulleti see there's a forum post that mentions deb.devuan.org/merged/dists/ascii/contrib and deb.devuan.org/merged/dists/ascii/non-free09:03
no_9ive just used debian jessie multimedia09:03
ulleti don't think devuan has a 'multimedia' repository09:04
no_9already got jack qsynth installed and rosegarden is installing...09:04
ulletmhm09:05
ulletso for nonfree stuff you might want smth like09:05
ulletdeb http://deb.devuan.org/merged ascii main contrib non-free09:05
ulletdeb http://deb.devuan.org/merged ascii-security main contrib non-free09:05
no_9i got ascii on a usb stick & it uses the swap partition on the hdd09:07
ulletnice09:07
no_9i just wanted to see if it installed my faves then i was migratring it to the hard drive09:08
ulletwhat's an example of a package that needs multimedia repo?09:08
no_9jack?09:08
ulletin debian09:08
ulletif i apt-cache search jack i see it09:09
no_9qhackctrl?09:09
ulletyou know apt-cache search?09:09
no_9bah09:09
no_9qjackctrl09:09
ulletqjackctl also09:09
ulletyou know apt-cache search?09:09
ulletuse apt-cache search, no_909:09
no_9cant i feel in the dark til i find something?09:10
ullet:)09:10
ulletthe assumption that you require a multimedia repo for jack or qjackctl is revealed to be incorrect by running apt-cache search for those packages09:10
no_9well i'll try that after this install finishes09:11
no_9beowulf is not for clustering? a distro by that name was for that...09:17
ulletyeah that was a popular thing around 20 years ago09:24
ulletbeowulf is also a name for a devuan distro09:24
no_9well whats the most recent stable?09:25
no_9i thought it was ascii09:25
ulletstable is ascii09:26
ulletnot sure why you'd want that09:26
no_9beowu;f is...testing?09:26
ulleti thought it was equivalent to 'sid' from debian09:27
no_9oh shit--experimental09:27
no_9sid was rge kid who broke all his toys maaaaan09:28
no_9the kid**09:28
ulletfor general home-use i pick beowulf to not have ancient versions of software09:28
ulletand since it's the environment i'm used-to, i used it for business too09:29
no_9stuff sometimes doesnt work for weeks on sid dood09:35
no_9i appreciate the efforts of those who use it09:36
ulletk hm09:36
ulletdifferent people's usage patterns and preferences expose different problems09:37
no_9but you have to have something the equivalent of the old chevy when you got to go somewhere today09:37
no_9ie stable09:37
ulletok09:38
no_9always nice to know the beast will actually START09:38
_abc_I see ascii and so on has packages so old it lives up to the bad name debian has created for this "feature" of the distribution. Some things are updated (firefox libreoffice) others dangerously not so (irssi and so on). Is there a howto and a "devuan way", perhaps just a checklist, to maintain a package stream repo locally with updated versions of what one needs?10:30
Wonka_abc_: you know about ascii-backports?10:32
_abc_I do but I think I have it enabled and still does not help? Let me check.10:32
Wonkahttps://www.devuan.org/os/documentation/dev1fanboy/upgrade-to-ascii has the four useful lines10:33
_abc_Yes it is on and does not help10:34
_abc_ascii-backports is on10:34
Wonkahm. cannot help further then; I'm running on unstable mostly...10:34
_abc_My sources.list looks pretty much like the one in your link, except I also had ascii-contrib on in the past, is commented now, and I also have the sources for all the other four enabled10:37
ejryesterday around this time i asked for advice in here about an fsck error message i get when i boot into devuan. it is related to an external encrypted device i had attached to my system some days ago. I was advised to run fsck on the decrypted device, which i did, but the error message persists (even thoug fsck said the device was clean)11:31
ejris there anything else i can do?11:31
fsmithredejr, maybe change the frequency of checks using tune2fs11:58
ulletwhy did debian switch default user to 1001 instead of 1000 ?12:04
ulletcan i mount old drives mapping 1000 to 1001?12:04
fsmithredwhere did you get 1001? or how?12:05
ulletin crappy debian12:07
ulletsorry it's offtopic12:08
fsmithrednot really12:08
ulletbut maybe others have the issue12:08
fsmithredI just checked a buster to beowulf system, and user is 100012:08
fsmithredwho is 1000 on your system?12:08
ulletduring mount time, there is probably a way to map uid:gid12:08
fsmithredor add your user to the group12:09
agris!ops12:15
agrisCan a channel operator please privmsg me12:17
ulletthere is no 1000 on the system fsmithred12:19
agristobypus, Sigyn12:20
agrisMinceR,12:20
ulletdebian stretch 9.1212:21
ulletullet:x:1001:1002:....12:22
ulletuser2:x:1002:1003:.....12:22
openbsdtai123Is there a small too in devuan to create a bootable usbstick with EFI ?13:13
openbsdtai123(too=> tool)13:13
ulletidk13:14
ErRandirullet: the 1st UID used can be adjusted in /etc/adduser.conf13:31
ulletthat's curious. because it shows FIRST_UID=1000 and GID as well13:33
ulletmaybe the vendor added a hidden user >_<13:33
ulletthanks ErRandir13:33
ErRandiror maybe they added a temp uid for the install and removed that later13:34
fsmithredopenbsdtai123, use dd or cat. The isos are already efi-bootable except for the minimal-live isos and the i386 desktop-live13:54
openbsdtai123thank you. I did cat of efi... I would like to mod it to boot slack and devuan using EFI (I know efi :( helas). I will try cat and then to add a partition.14:05
fsmithredyou want multi-boot with live systems, or installer isos?14:09
fsmithredif just live systems, you can use refracta2usb (not in repo)14:09
openbsdtai123I saw that elilo could eventually do this...14:10
fsmithredI've never used elilo14:10
fsmithredfor multi-boot usb, you're better off making a fat32 partition instead of imaging the isohybrid file. With the amd64 isohybrids, you can't make a second partition.14:28
ShorTiejustice ??14:33
ulletfor great justice15:12
MinceRthere is no justice. there is just us.15:15
ham5urgI wanted to install a devuan lxc container inside a devuan machine. But no template is available. Has anybody got it run?15:40
ullettell the lxc folks to make one?15:41
zatumilmaybe you can find a devuan dockerfile and use this in your lxc etc ...15:46
fsmithredham5urg, maybe this: https://dev1galaxy.org/viewtopic.php?id=61715:49
fsmithredoh, if you use that, don't use the mirror he used. Use deb.devuan.org instead.15:51
systemdleteSo it looks like beowulf has trouble launching doveconf during boot, but not after boot.  I cannot get haveged to work, unless I run it from the command line.  But it doesn't seem to matter since it doesn't run at boot anyway.21:46
systemdleteA lot of people use dovecot, so it is helpful to attend to this.21:46
systemdleteAgain, putting an strace on doveconf during boot shows it hangs on getrandom()21:47
systemdleteThis is running as guest VM under vbox 6.121:48
fsmithredlooks like haveged runs here21:52
fsmithreddoes it start after dovecot?21:53
systemdleteThat's my theory.  I don't see where it is starting or failing to start in the boot. I may have missed it though.22:12
systemdleteThe log files show that audit is DENYing it to start22:12
systemdletebeowulf-vm kernel: [  949.375612] audit: type=1400 audit(1588475434.092:46): apparmor="DENIED" operation="mknod" profile="/usr/sbin/haveged" name="/run/haveged.pid" pid=4122 comm="haveged" requested_mask="c" denied_mask="c" fsuid=0 ouid=022:12
systemdleteI did not explicitly install apparmor, though.22:13
systemdleteI find it interesting that it works for YOU fsmithred.  Do you have apparmor installed?22:13
fsmithredI guess so - I see apparmor messages22:14
fsmithredhang on.. (I don't have dovecot)22:14
systemdleteah.22:14
fsmithredyeah, I do22:14
systemdleteoh.22:14
fsmithredhave apparmor22:14
systemdletedovecot?22:14
fsmithredI had to mess with haveged in my refracta live isos22:15
fsmithredno dovecot22:15
fsmithredis there an /etc/init.d/dovecot?22:15
systemdletecan you install it (please) just to see if you get the hang also?  (yes, there is an init for it)22:15
fsmithredlook at /etc/rc2.d/22:15
fsmithredwhich comes first, haveged or dovecot?22:16
fsmithredS0...22:16
systemdleteBoth are S0322:16
fsmithredhm22:17
fsmithredthey're probably alphabetical when the numbers are the same22:17
systemdleteBut even if I twiddled with the ordering a bit (assign S02 to haveged, e.g)22:17
systemdletehaveged does not start, period, when I run "service haveged start" from the command line AFTER boot22:17
systemdleteI mean, happy to try it, if you think that gives us more info22:18
fsmithredI think haveged runs and stops22:18
systemdletemaybe safer to change dovecot to S04*22:18
fsmithredI see a message at 29 seconds into boot22:18
systemdletebut it does not launch a daemon22:18
fsmithredbut it's not running now22:18
systemdleteyup22:18
systemdleterun "service haveged status"22:19
systemdletedoes it say running?22:19
systemdletealso, ps -ef |grep haveged22:19
fsmithrednot running, and not in ps output22:19
systemdleteaha!22:19
fsmithredlemme see what it does in live session22:20
systemdleteSo at least you and I are getting the same results for haveged, which is comforting22:20
systemdlete(my install of beowulf is not too screwed up)22:20
systemdletefsmithred:  There is a -F option to haveged that does work, at least at the command line, bare of the service scripts22:21
systemdleteI can't seem to get that option to work with the service scripts22:22
systemdletescript22:22
systemdletethe problem is that the service scripts need the service (haveged) to fork itself off22:22
fsmithredoh, haveged is running in live session22:22
fsmithredbecause I started it - had to make a live-config script to run it so ssh host keys could be generated at boot22:23
systemdleteSo then the start-stop daemon would have to be set to do that instead.  But it might work for me.22:23
systemdleteIs that the problem -- missing keys?22:23
systemdletenvm22:23
systemdleteI get it22:23
fsmithredI have to generate new keys every time the live session boots...22:24
fsmithredotherwise, everyone who uses that iso has the same host keys22:24
systemdleteright, right  -- I spoke too soon22:24
systemdletebtw, is this in a VM or on HW22:24
systemdletefsmithred?  VM or not?22:25
fsmithredlive session is in VM22:25
fsmithrednon-live is on hardware22:26
systemdleteoh.22:26
fsmithredthat's this system I'm currently using22:26
systemdleteok22:26
systemdleteso we might be comparing apples and oranges22:26
systemdlete(I'm not sure how haveged works -- does it access randomizing hw if available? idk)22:27
fsmithredwe're comparing haveged in two different environments22:27
fsmithredneither am I22:27
fsmithredI just know it needs to run before those keys get made22:27
fsmithredoh22:27
systemdleteand before dovecot22:27
fsmithredcat /etc/default/haveged22:27
systemdleteright, did that already22:27
systemdleteI have not modified it.  Still says  Daemon args are -w 102422:28
systemdleteI tried adding that -F option but then the service doesn't background itself22:28
systemdletebut I can get haveged to run directly from shell with -F, otherwise it exits and takes any children with it, apparently22:29
systemdleteI think there is an option to start-stop that will do that, though22:29
fsmithredmaybe hack the do_start script to leave you some output in a file22:29
systemdletedo_start?22:30
fsmithredin /etc/init.d/haveged22:30
systemdleteoh, you mean the function?22:30
systemdleteI can do that.22:30
systemdleteI was going to hack it a bit anyway, just to see if I could get the silly thing to work at all22:30
fsmithredlooks like it starts it twice - once with --test and once wit DAEMON_ARGS22:31
systemdlete(I don't care -- I'm not really using beowulf VM for anything anyway)22:31
systemdleteYes.  Not sure why, but it does do that.22:31
systemdleteI think the first time is to get some info22:31
systemdleteI've been toying with haveged for a day now22:32
systemdletenot like it matters.  I'm not going anywhere today...22:32
fsmithredman start-stop-daemon explains what the return values mean22:33
systemdleteThat's rare in *nix22:33
systemdlete(sarcasm only)22:33
fsmithredlol, yeah22:33
systemdletethe service script seems to return 0 always22:34
systemdleteI've also tried running haveged exactly like the script, and it also returns 022:35
systemdleteAt least, I've never seen it return non-zero yet22:35
systemdleteI put a set -xv to see how haveged and start-stop are being called22:35
systemdleteSo I could test it directly from shell22:35
systemdleteAnd I also looked for I/O redirection, etc.  (there was none, but I always check anyway)22:36
systemdletestart-stop-daemon --start --pidfile /var/run/haveged.pid --exec /usr/sbin/haveged -- -w 1024 -v32 -F22:39
systemdleteworks22:39
systemdletebut take the -F away and there is nothing!22:39
systemdleteguess what fsmithred -- my theory works!22:39
fsmithred?22:40
systemdleteIf I run the start-stop daemon with -b (background the target) and pass -F to haveged, the service script finally works !!!22:40
systemdleteIt's stupid, clumsy, and ridiculous, but it works22:40
systemdleteit's no way to run a country, but...22:41
fsmithredso you can change the command in the init script22:42
fsmithredor maybe in /etc/default22:42
fsmithredthat would be cleaner22:42
systemdletewell, I can change the options to haveged, and I've done that yesterday when fooling with this22:43
fsmithredyeah, you can't use the -b that way - wrong command22:43
systemdletebut there is no similar option for the script itself22:43
systemdletethis would be a...22:44
fsmithredhack the init script and watch out for any upgrades to haveged22:44
systemdlete***hack***!!!22:44
systemdleteyup22:44
systemdletesad22:44
systemdletehopefully upgrade will fix this to begin with22:44
systemdletemaybe a new version of haveged that works more like one would expect22:44
fsmithredcheck for bug reports in debian22:45
systemdletewill do22:45
systemdleteor is it the haveged project?22:45
fsmithredstart with debian - someone else may have reported it22:45
systemdleteok22:45
systemdletewhat is the meaning of the name?22:45
fsmithredand if you file, they'll let you know if it needs to go upstream22:45
systemdletehaveged22:45
systemdleteok22:45
fsmithredhavege is some algorithm, I think22:46
systemdleteah, ok22:46
systemdleteHAVEGE (HArdware Volatile Entropy Gathering and Expansion) algorithum22:47
systemdlete(love that "u" in the last word there)22:47
systemdletehttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=94162622:50
systemdleteso it appears they know about this22:50
systemdletehas something to do with switching to sysvinit from... uh... err...22:51
* systemdlete burps on himself22:51
systemdleteexcuse me22:51
systemdletethe trail of damage never ends22:52
systemdletefor now, I will hack the script.  I'm not going to bother with /etc/default at all.  if the problem gets fixed, I'd rather make a clean break22:52
systemdleteBut... while I can get it to start now, it fails to quit when I run stop22:56
systemdleteapparently, status_of_proc does not work for this case22:56
fsmithredI run it without any options in the live-config script23:02
systemdlete"it" -- haveged or start-stop23:02
fsmithredhaveged23:02
systemdletehmm23:03
fsmithredyou could just put a line in /etc/rc.local23:03
systemdleteI probably don't  need to worry about stopping it.  And, if I need to, can always do killall or other manual op for now...23:03
systemdletewhen you say YOU run it etc, is this a custom ISO you are using?23:04
fsmithredyeah23:04
systemdletewell...23:04
systemdleteI think my solution will suffice for the moment.23:04
fsmithredyeah, I don't think you want it to stop23:05
systemdletealthough, I don't plan on using dovecot anyway, which is how this ball started rolling in the first place23:05
systemdleteIn my actual beowulf environment, on real hw, upgrading from ascii, someday, then yes.23:05
systemdletethat is the only reason I am testing dovecot23:05
systemdleteI suppose I might want to test dovecot a little just to see if THAT works... lol23:06
fsmithredgood idea23:07
systemdleteI see I need to force haveged to run before dovecot.  I should be able to rename it from S3haveged to S3_haveged23:09
systemdletecrum23:10
systemdletenope23:10
systemdletedot, dash, equals might work23:10
systemdleteoh wait23:11
systemdleteunderscore comes before lowercase, so that should work23:11
systemdleteok, man gotta plan23:11

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