libera/#devuan/ Thursday, 2021-02-25

dinkalinkFOSS 4 LiFe, Blood In Blood Out00:00
onefangA drive by WTF?00:01
gnarfacehe's testing the defenses00:22
asdflkj_there was a nice thread on the FSF member forums about using sox to generate ambient background noise to play while working like https://gist.github.com/rsvp/120983500:24
gnarfacesox is cool, it has a lot of overlapping functionality with ffmpeg00:26
gnarfaceyou'd be surprised what you can get done with just bare alsa and a custom ~/.asoundrc if you don't need to deal with encoded audio though00:27
dreamerbuilding ardour6.6 on devuan beowulf gcc8 keeps segfaulting about midway during the build01:26
gnarfacedreamer: is that a cross-build?01:37
gnarfacedreamer: i would try it in a ceres chroot, or at least with a different gcc version01:38
dreamerno, amd6401:54
dreamerI restarted the machine and tried the build again01:54
dreamernow it's almost done -_-01:54
dreamerhttps://bpa.st/NBMJ601:55
dreamerthat's what I had before01:55
dreamerit would continue couple steps in the build. then segfault again01:55
gnarfacedreamer: i assume it's a compiler bug, but if you use paste.debian.net i'll actually look at it02:22
gnarfacedreamer: i just brought up cross-building because i had problems cross-building in beowulf, too02:22
tuxd3vdreamer, try 'export CMAKE_BUILD_PARALLEL_LEVEL=1', before compiling..02:42
* Xenguy used to have some fond memories of compiling...02:49
XenguyWhen it works, it's pretty cool02:49
XenguyOtherwise annoying : -)02:50
tuxd3vdreamer, also post the output in paste.debian.net, like gnarface said above..02:51
kama_Hello?03:21
gnarfaceif you have questions just ask, kama_03:23
gnarfacedon't wait for permission, but try to be patient, the channel can be kinda slow03:23
kama_Ah, thank you, gnarface. I do have a question...03:23
sauron-lol03:23
orcus-de:)03:23
kama_I was wondering if it is possible to run Unreal Engine on devuan?03:24
* orcus-de .. glad to see - it's the same here03:24
gnarfacekama_: shouldn't be a problem afaik... several games use it on Steam03:27
kama_I'm not a big fan of systemd but I just haven't done anything about it even though I've been running Linux for years. There is nothing on my LAN that runs anything made by Microsoft. :-)03:28
kama_...or Apple. :-)03:29
onefangI have bad news for you, Microsoft contributes to Linux kernel.03:29
kama_Yeah, I knew about that. What can you do, though?03:29
gnarfaceother than systemd, devuan seems to be functionally identical to debian for the purposes of game engines' requirements03:29
kama_Embrace, extend, exterminate...03:30
gnarfaceall the packages are there, the repos are just named different03:30
onefangMost of our package mirrors even redirect to Debian package mirrors for most of the packages.03:30
sauron-the competition is over, microsoft and linux are a happy couple, got married too...03:31
gnarfacei've noted that missing systemd can impact expected behavior by the Steam Controller, it's worth noting, but as far as i can tell none of the games care about the init system03:31
onefangThose that don't are already running Debian package mirrors anyway.03:31
kama_Oh. I had the impression (from the package repositories page that they were no compatible.03:31
MinceRmore like master and slave than happy couple03:31
sauron-50 shadows of microsoft03:32
MinceR:>03:32
kama_Unreal Engine isn't distributed as a package, though. You have to build it from source.03:32
onefangMixing Devuan and Debian package repos in your sources list is incompatible, and not needed.  The merging is done behind the scenes on the Devuan package mirrors.03:32
kama_Ah, I see, onefang.03:33
kama_But I could, for instance, install a .deb from some random web site?03:33
* numzob winces03:34
onefangSo apt asks a Devuan mirror for a package that is identical to the Debian version, the Devuan mirror redirects apt to Debian to get it.03:34
onefangAll things are possible, if it breaks your OS, you get to keep the pieces.03:35
kama_Is it more likely to break my OS than if I were installing it on a Debian-based distro? I suppose that's what I'm really wanting to know.03:36
kama_I couldn't really find a lot of information on devuan.org about what differences there are between Debian and Devuan aside from the attractive prospect of not using systemd.03:37
fluffywolfdevuan is a debian-based distro.  heh.03:38
onefangThat's basically it.  The packages we do differently are mostly to remove systemd from them.03:38
kama_Oh, that sounds like exactly what I want in my life! (I'm not a big fan of the direction Ubuntu seems to be heading: Trying to appeal to the corporate desktop.)03:39
kama_I was using Linux Mint when the change to systemd happened. I really just stumbled across the Devuan page a little while ago. I know... I could have looked on DistroWatch.03:43
fsmithredI think debian and devuan have about equal risk of being trashed by third-party software03:43
sauron-kama_ same here!!! i was using linux mint 17.3, then changed to devuan.03:44
kama_I'm happy to say that I've never installed anything (other than the AMD drivers a few years back) that borked my OS.03:44
kama_I think I started on Mint 10, sauron. :-) I've still got a couple of machines on 17.3. They're going to go away soon, though.03:45
kama_I still have the .iso for the first Mint I DL'd and installed somewhere around here.03:46
kama_I was thinking of going with FreeBSD for a while. Except that I do play a game occaisionally. I'm not sure Warzone and FreeCiv are available for FreeBSD.03:48
kama_Anyway... Thank you for your assistance and answers. I have to get back to work, though.03:50
daimonhey all I have a service failing to start but when I run the command related to the daemon directly it works fine 'smbd'10:23
daimonits log files contain nothing of note, is there more logs somewhere (I checked /var/log/samba/*)10:23
xinomilodaemon.log ?10:25
gnarfacei'm pretty sure smbd is deprectaed10:25
gnarfaceyou want to start cifs now10:25
gnarfacewhich should still include reverse-compatibility support10:25
daimonxinomilo, nothing of note (incase nothing at all) is coming up in daemon.log10:26
daimongnarface, cifs does not appear to be installed and this is a brand new install of samba as of yesterday so I can't see it would be deprecated10:27
gnarfaceyou're sure you don't have a /etc/init.d/cifs file? you could be missing a package...10:27
daimonhttps://dpaste.org/wknY10:28
daimonbash: /etc/init.d/cifs: No such file or directory10:28
daimonthe dpaste is more showing, but it shows up on the lan after running smbd directly10:29
daimonI guess I Could just run nmbd/smbd in supervisord or so10:30
daimonis there anyway to find out the exact command 'service samba-ad-dc start' is actually trying to execute?10:30
daimonit does not appear to be logged anywhere or why its failing anywhere10:31
gnarfaceit would run /etc/init.d/samba-ad-dc start10:31
gnarfacewhich would probably fail because it doesn't exist10:31
daimonit does exist and but returns immediatly10:31
daimonand does not start smbd10:32
gnarfaceif you use paste.debian.net i'll look at your paste but i don't expect it to tell me anything10:32
gnarfacelook for a file in /etc/defaults/ related to this10:32
daimonbash: cd: /etc/defaults/: No such file or directory10:32
gnarfacebut i'm pretty sure you're missing a cifs init script10:32
gnarfacesorry, /etc/default/ i mean10:32
daimonright what in there gives me the precise command its using though10:33
daimonwithout having to read through bash/sh scripts10:33
koollmanI'm pretty sure there is no script called cifs, smbd is the main samba daemon, the name is normal10:33
gnarfacei was under the impression it's 100% bash scripts10:34
daimonthere also appears to be nothing related to samba or cifs in /etc/default10:34
daimonkoollman, me too, I thoguht cifs was just the network protocol10:34
gnarfacewell there was definitely a name change at some point, but maybe they changed it back since then10:35
gnarfacei haven't used it in years10:35
daimonok how would I find the exact exec command: '/etc/init.d/samba-ad-dc start'10:35
daimonis attempting to run, it must be trying to start nmbd smbd and possible winbindd but with what arguments10:35
gnarfacedaimon, it's a text file10:36
gnarfaceyou open it and read it10:36
gnarfacewith a text editor10:36
daimonits actually a shell script10:36
gnarfacethat's a type of text file10:36
daimoneverything is a type of text file by that logic :P10:37
gnarfacefalse10:37
gnarfacethis one is entirely made up of human readable characters10:37
gnarfaceunlike a machine-generated binary meant only to be read by a machine10:37
gnarfacethis one can be read by you10:37
daimonbut not understood as I have no idea how the rc system works in devuan10:37
daimonis there no way to simply get it to output the end eval it is attempting10:38
gnarfaceyou're suggesting that stack tracing bash is easier for you than opening the script in a text file and reading it?10:38
gnarfacethe program you want is called gdb10:38
daimonI am looking at it right now I see no calls to smbd or nmbd though10:39
daimonand it appears to be logging nowhere10:39
gnarfacei still question whether it's the right script in the first place10:39
daimonthe only call I can see is: start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/samba10:40
gnarfacemystery solved!10:40
gnarfacehooraay!10:40
daimonwhich just returns and executes nothing when done on console10:40
daimonand also appears to log nowhere10:40
gnarfacewell, that is strongly implied by the "--quiet" option10:41
gnarfacebut i don't actually use this software anymore, so i admit it's merely an educated guess10:41
daimonyes removing the --quiet option makes no difference it still simply returns nothing10:41
gnarfacemaybe remove --oknodo too10:42
daimonI simply called /usr/sbin/samba with no args10:42
daimonthat also returns nothing10:42
gnarfacethat is something daemons typically do10:42
daimonand also did not execute nmbd or smbd10:43
daimonaccroding to ps10:43
gnarfacei seriously think they're deprecated, like i said10:43
gnarfacethey had to rename smbd to cifs for legal reasons or something like that10:43
daimonalso no binary named cifs or samba exists and port 445 udp has not been opened10:44
daimoninfact the length of the process tree ps aux | wc -l10:44
daimonhas no changed what so ever10:44
gnarfacei do recall vaguely that you're supposed to make a change to the samba config file too, but it wouldn't be different than in debian10:44
gnarfacelike i said, it's been years...10:44
daimonyes I believe you are actually wrong in this case10:45
daimonsimply because running nmbd / smbd does create a samba instance and does create a process and also writes log entries10:45
gnarfaceanyway make sure you have rsyslogd installed just in case that's all that's missing10:45
gnarfacei think you must be missing some other package though10:45
daimonroot      2093  0.0  0.0 224596  1864 ?        Ssl  Feb24   0:00 /usr/sbin/rsyslogd10:45
daimonindeed it is installed and running10:45
gnarface /var/log/daemon.log would be the default location for deamon logs unless they have their own10:46
gnarfacehmmm, i think the cifs kernel module didn't auto-load for me either10:47
daimonthey do hajve their own /var/log/samba but no log file modification date changes after attempting to run 'service samba-ac-dc start'10:47
gnarfacemake sure that's loaded10:47
daimonwait why would I load the cifs kernel module I am not trying to mount netbios shares10:47
gnarfacei think you'd need it with or without netbios for connecting to any version of windows after 8 or maybe vista10:48
daimonI think I will just run smbd/nmbd directly in daemon, then all the windows 10 and so machine can connect as expected10:49
gnarfaceshould work i think it'll just basically look like windows 98 to them10:49
gnarfacei just would expect that to be less well supported10:50
daimonnot quite, windows 98 etc used an old version of netbios windows 10+ do not support10:50
gnarfacebut again i did expect this to have more components ...10:50
gnarfaceno i mean on the linux side i'd expect this to be less well supported usage10:50
gnarfaceyou were supposed to have init scripts10:50
daimonI do have not scripts10:50
daimonI do have scripts *10:50
gnarfacedebian has been killing them off lately10:51
daimonjust not for 'cifs' as cifs is a protocol10:51
daimon /etc/init.d/samba-ad-dc would be an appropriate name10:51
daimonas that infers samba410:51
gnarfacewell, does it do anything different if the cifs module is loaded?10:52
daimonno10:52
daimonsimply returns10:52
gnarfacestrange10:52
gnarfacenothing in the dmesg output or syslog file even?10:53
daimonno10:53
daimonor daemon.log or /var/log/samba/*10:53
daimonor /var/log/messages10:53
gnarfacewhich installer image was this?10:53
daimonfor the base distribution or for samba10:54
daimonsamba/stable-security,now 2:4.9.5+dfsg-5+deb10u1 amd64 [installed]10:54
gnarfaceno i meant which devaun image10:54
daimonbeowolf 3.0.110:54
gnarfacenetinstall?10:55
gnarfaceserver.iso?10:55
daimonnetinstall10:55
gnarfacei'd check the documentation to see if there's a way to enable verbose debugging, and then i'd add that flag to the command-line flags in the init script as a test10:56
daimonthere is, it makes no difference10:56
daimonunless I do it via smbd directly -d=910:56
gnarfacewell that definitely points at a tertiary issue10:56
xinomilosmb.conf ?10:57
xinomilohave an old debian8/sysvinit server running fine with samba 4.2.14+dfsg-0+deb8u1110:57
daimonsmb.conf is what both smbd and nmbd read10:57
daimonxinomilo, if you do ps aux | grep smbd on that system10:58
daimondoes it happen to be running10:58
xinomilodaemons running there : smbd + nmbd10:58
daimonalso does your init script happen to /etc/init.d/samba-ad-dc10:58
daimonto be *10:58
xinomilothe /etc/init.d/samba script : case $1 in11:01
xinomilostart)11:01
xinomilo/etc/init.d/nmbd start11:01
xinomilo/etc/init.d/smbd start11:01
xinomilo/etc/init.d/samba-ad-dc start11:01
xinomilono samba-ad-dc running though11:01
xinomilomaybe it's normal that way11:01
daimonroot     19653  0.0  0.1  48416 15496 ?        Ss   09:59   0:00 /usr/sbin/smbd -D11:01
daimongot it11:01
daimonif I service start smbd / nmbd all is well11:01
daimonbut samba-ad-dc appears to do nothing11:01
daimonahh smbd and nmbd are added to rc.d as autostart11:02
daimoncool so maybe nothing was wrong at all I was just using the wrong init script :)11:02
daimonI bet samba-ac-cd is for winbindd11:02
xinomilosamba-ac-dc : if [ "$SERVER_ROLE" != "active directory domain controller" ]; then11:04
xinomilo    exit 011:04
daimonah ha11:04
xinomiloonly applicable to active directory11:04
xinomilonot my case11:04
daimonmine neither I am kind of used to freebsd that has 'samba' as a meta for smbd/nmbd/winbindd11:05
daimonso I assumed on debuan it would be samba-ac-dc11:05
daimonoversight on my part :)11:05
xinomiloso you should only have smbd and nmbd11:05
xinomilorunning11:05
daimonyep11:05
daimonand those works perfect11:05
daimonwhen I use init.d/smbd,nmbd they start up correctly11:05
xinomiloiirc, you only need to run /etc/init.d/samba start11:06
xinomilostop/start to be sure11:06
daimonroot@maizzie:/etc/init.d# ls | grep sam11:06
daimonsamba-ad-dc11:06
daimonright but that does not exist on mine just smbd/nmbd/samba-ad-dc11:06
daimonbut it seems fine as smbd/nmbd is all it needs11:06
daimonand got it perfect :) https://i.itsosticky.com/6muabb.png11:11
ribcageafter running for 100 days on buster, a program misbehaved and became zombie, systemd wouldnt even let me shutdown or reboot. Then I lost my SSH console and had no access anymore since it's headless, not even a gpu. After issuing shutdown, reboot, systemctl --force shutdown and pressing the physical button, as I was coming back with a keyboard for trying REISUB or ctrl+alt+delete, it finally powered down,12:24
ribcageafter like half an hour of doing hell knows what...12:24
ribcageLesson #1: I need a serial console for such cases. Lesson #2 gotta migrate to devuan :D12:25
djphLesson #0: ugh, systemd.12:38
scoofythe wonders of doing everything in PID 112:39
DHEpid 1 is too important a job to be dependent on dbus and pam and journald and specific kernel build options and specific mount options and [...]12:42
scoofyidelly, PID 1 should do nothing, just fork other processes....12:42
djphjust wait for systemd-kerneld12:43
DHEparsing a config file to see what programs it should run first is kinda my limit...12:43
scoofysystemd is the opposite philosophy - it should do everything, including serving http reqeuests etc12:43
djphugh, this one box is still on oldstable12:43
DHEbut I do have to say, openrc really impressed me on gentoo back in like 200812:43
djphI need a new computer :( this one screams when it's trying to run cura :(12:44
sixwheeledbeastmaybe it just needs a clean out15:05
djphsixwheeledbeast: it's some either late 200x or at the very newest 2012 model PC ... cleaning it out isn't gonna help the anemic processor :)15:08
sixwheeledbeastMy machine is pretty old maybe 8y, but a good dust blow out and new thermal paste dropped the temps.15:10
DHEI mean 2012 model PC is like a 2nd or 3rd gen core i3/i5/i7 CPU? Unless you've gone Atom or something but that's your own fault...15:11
sixwheeledbeastit was fairly clean inside but amazing what dust sticks to the heatsink surfaces15:12
djphDHE: nah, this is some AMD I forget what15:22
djphyeah, it's definitely clean ... just chokes on the heavy processing for slicing15:22
djphI mean, it eventually gets the slice done; but :)15:22
numzobit slices, it dices!  (sorry, i'll stop now)15:23
sixwheeledbeastphenom if that age15:23
djphsounds about right15:24
sixwheeledbeastwell I would expect at least K1015:25
djphyeah, a phenom II N93015:25
sixwheeledbeasti can't imagine many k8's will be running out there15:26
djphIt certainly does all my day-to-day "simple" stuff - IRC, TeX, programming, etc.  Just falls over with heavy lifting15:26
sixwheeledbeastyer. i was given a phenom system it's currently running a game server but don't expect it to do much else or load avg goes through the roof and it overheats.15:29
sixwheeledbeastyou've certainly had it's best years anyway15:29
djphyep.  I find it to be quite the useful system; but ... yeah, shows its age when it comes to "modern" things.15:30
sixwheeledbeastthey all do, everything with a GUI just gets so heavy now15:30
djphIt'll probably end up being my workbench "where'd that datasheet go" machine :)15:30
DHEdjph: ah... yes, in 2012 AMD was not know for performance.15:38
djphYep, were still decent CPUs though :)15:38
dreamertuxd3v, gnarface: after a reboot I tried the build again. was fine. I dunno what happened -_-15:57
dreamerI'm suspecting the disk has issues15:57
dreameror this i5 we got from the trash15:58
dreamermaybe I'll do a memtest sometime15:58
* dreamer gotta catch a bus now15:58
james1138Hello all. I have been working a lot - so I have not had a chance to check earlier. However, I am getting time-out error trying to access the Devuan forum. I tried 3 different browers (Vivaldi, Chrome & Fennec/Firefox) as well as tried from laptop and Android phone - and still cannot bring up the forum.  Has something changed?? I can see maybe 1 or19:37
james11382 browsers not working - but three? I can also see either laptop or smartphone not getting to forum - but both?19:37
lkjasdfdev1galaxy.org works fine for me in Palemoon19:39
james1138Humm...19:43
james1138Lkjasdf - have you tried using Chrome or Firefox? Just wondering if it me?19:44
lkjasdfno19:45
numzobjames1138: are you inadvertenty blocking a domain that is needed?19:45
numzobthat would affect all browsers19:45
daimonhey all can anyone help with mdadm and raid creation: https://dpaste.org/p7C3 apparently 'error 524' ?19:45
lkjasdfI don't have FF and I only have chrome on a school proxy that blocks the forum19:45
daimonah got it19:46
james1138I shall check for domain blocks - but that should not be phone and laptop.19:46
Beerjames1138 Any DNS client utility available on your platform? dig? nslookup? Which OS are you using?19:49
james1138Devuan Beowulf19:50
lkjasdftry lynx?19:50
Beerinstall the dnsutils package19:52
Beerthen try dig on the domain of the forums19:52
james1138Will try that at lunch break19:52
xinomilotry tor browser19:53
Beerdig won't take into account you local hosts file, if you ever played with that?19:53
BeerIt will howver tell you how the domain is resolved, by default with IPv419:54
Beersee if there is a problem there19:54
BeerCheck you get a 54.36.142.184 A record19:54
Beeryou could also make a request with cURL to mimic what a browser would do19:55
xinomilotor browser uses tor-resolve, so you can actually check if it's a problem with your dns, isp given ip address or something else..19:55
Beerif you get anything else than a 2xx/3xx HTTP status code, it will indicate a problem19:55
james1138I am back. Strange - it ended up that I had to use a older version of Vivaldi browser to access Devuan Forum.21:37
DashiePie_I guess I wasn't the only one21:40
numzobwhat the hell?21:43
tuxd3vWhat hapenned?21:50
tuxd3vfrom time to time, there are a purge21:51
tuxd3v:)21:51
MinceRmaybe the kiddies decided that spamming users on freenode isn't getting them the results they wanted21:57
tuxd3vI don't know but a lot of people was disconected()21:58
onefangFreenode is made from several servers, perhaps one of them crashed?22:00
tuxd3vit could be, and the peol,e hanging there got disconected..22:00
daimonhey all got a bit of a weird problem ... when my system starts, it tries to start plex before the nfs mounts plex requires actually mount, how would I prevent this?22:00
daimonor delay plex22:00
tuxd3vwhat is plex22:01
tuxd3v?22:01
daimonmind you the nfs mounts have not actually connected either, not sure why all I had to do was type 'mount /mnt/nas_volume1' and it worked straight away22:01
daimonits a server that plays video across your lan using DLNA22:01
daimonso smart tv's etc can watch22:01
tuxd3vso plex require _netdev in the mount options?22:02
daimonbut anyhow ... my system is perfect except plex not starting automatically and my nfs mounts not mounting automatically22:02
daimonnot sure why for either22:02
daimonas the nfs mounts are in fstab and the moment I login all they require is: 'mount /mnt/nas_volume1' and bang they work22:03
daimonthe moment I do that: service plexmediaserver start, and plex works too22:03
daimonplex has no mount options22:03
daimonits a software daemon22:03
daimonI would suspect the nfs issue is creating the plex issue22:03
tuxd3vso your deamon requires network, and also nfs mounts working22:04
daimonI have two nfs mounts here is one:22:04
daimonnas:/mnt/HD/HD_a2                               /mnt/nas_volume1        nfs     defaults                0       022:04
daimonyes the daemon does22:04
tuxd3vnas:/mnt/HD/HD_a2                               /mnt/nas_volume1        _netdev,nfs22:04
daimonah22:04
tuxd3vadd like this22:04
daimonI assume that means it is attempted after net_ready22:05
tuxd3vcorrect22:05
daimoncool I imagine that will be all I need I will give that system a reboot in a little while see if it solves if it resolves the issue :) if plex still does not come up I will adjust its init script to delay it a while22:06
tuxd3vthis is what I have :22:09
tuxd3vnfs _netdev,nfsvers=3,proto=tcp,hard,intr,rw,local_lock=all,noexec,nosuid,rsize=16384,wsize=16384 0 022:09
daimonthat's quite the option set22:10
tuxd3vthis ones you could have22:10
tuxd3veasilly22:10
tuxd3v_netdev,nfsvers=3,proto=tcp22:10
tuxd3vI have Helios4 system22:11
tuxd3vI didn't brought the Helios64 because memory is not ECC22:11
daimonsuprising you would think later models of the same system range would have the same memory capab22:12
tuxd3vI  was expecting helios64 to have ECC memory but they dropped the option, at least its the Idea I get..22:14
tuxd3vI was thinking in Aquiring it, but without ECC its a no go22:14
gnarfacedreamer: if you're running without swap, just running out of ram after your nvidia drivers leaked xorg memory could have caused it, i think.  or if you're running short on drive space, rebooting might have flushed /tmp or something...22:27
gnarfacedreamer: anyway, bad drive or ram is possible too, but i'd still consider trying it with one of the adjacent gcc versions22:31
daimonhey all I cannot seem to use my sound card on a modern install of xfce23:58
daimonwhen I click the pulseaudio volume control it sits saying '... connecting to pulse audio service'23:58
daimonbut never does23:58

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