The officially official Devuan Forum!

You are not logged in.

#451 Re: Hardware & System Configuration » apt-mark » 2022-10-03 04:03:17

Huh? apt-mark is included with apt, it's never been a separate package AFAIK.

cat /etc/devuan_version 
chimaera
dpkg -S `which apt-mark`
apt: /usr/bin/apt-mark

#452 Re: Desktop and Multimedia » Accessing fora on the web » 2022-09-08 05:16:04

Fringe browser labels Devuan a fringe OS...

Pot, meet kettle lol

If the site in question isn't running some pile of "browser check" javascript trash, you can probably cheat by just changing your user-agent...
Then again Palemoon is kinda garbage anyway, as is the general attitude of the developers.

#453 Re: Desktop and Multimedia » [SOLVED] Why i can't upgrade ceres? » 2022-09-08 05:04:15

Because deb.devuan.org failed to update due to an expired GPG key.
See this topic regarding expired keys, or the 50 bazillion general search hits regarding this kind of error on any number of Debian-based distros. This is why we read the "new and announcements" section, no?
You're running unstable with a bunch of third-party repos enabled, so surely you can read those errors and warings from apt just as well as I can too...

You also appear to have a number of duplicates and errors in your sources in general, but that's another matter.

#454 Re: Other Issues » [SOLVED] How to Navigate Back to a Previous XFCE Session? » 2022-08-29 04:56:05

Head_on_a_Stick wrote:

Both screen and tmux are available from the repositories big_smile

And unavailable early in the boot process, the initrd, or by default on many minimal installs.
Shift+pgup is both ingrained muscle-memory and a lot less annoying (IMO) than the likes of vi-style keybinds, and screen is gratuitous bloat when all you want is a fully functional VT.

Console scrollback has been around forever, and it's one of the very first things that made me go "wow, this is way better" when transitioning from DOS.
Frankly this "everyone just uses the GUI (or laptop/phablet/whatever trendy disposable junk is FotM) these days" rubbish is getting extremely annoying. I for one use real VTs on a real PC every day, and have since the late '90s.

Now I' guess I'm just waiting for GNU/Linux to remove VTs altogether, make touchscreens mandatory, and replace all kernel output with inane spinning widgets and emojis.
I'm sure all the windows refugees will just love it, since there'd be no need to learn to read and no keyboard to clean the drool out of.

#455 Re: Other Issues » [SOLVED] How to Navigate Back to a Previous XFCE Session? » 2022-08-28 14:00:32

alexkemp wrote:

a VT does NOT have a mouse

apt install gpm
alexkemp wrote:

nor history support

Used to have scrollback, removed recently (Grrr) because "nobody was using it" (which is bollocks).
Patches exist to restore this functionality, but Debian/Devuan does not include them.

alexkemp wrote:
$ tty/dev/pts/0

Psuedo-terminal virtual filesystem, used by GUI terminal emulators. Predates systemd by about a decade.

#456 Re: Hardware & System Configuration » Dovecot, samba, sysvrc and the case of the vanishing PID files » 2022-06-10 17:58:38

Well that was quick.

We have a weiner, and really, I should have seen it coming...
Via auditd (yeah, it's better than fnotifystat):

proctitle=/usr/bin/python3 /usr/bin/systemctl list-units --full --all 
type=PATH msg=audit(11/06/22 05:16:39.046:1736) : item=1 name=/var/run/samba/nmbd.pid inode=41571 dev=00:15 mode=file,644 ouid=root ogid=root rdev=00:00 nametype=NORMAL cap_fp=none cap_fi=none cap_fe=0 cap_fver=0 
type=PATH msg=audit(11/06/22 05:16:39.046:1736) : item=0 name=/var/run/samba/ inode=16650 dev=00:15 mode=dir,755 ouid=root ogid=root rdev=00:00 nametype=PARENT cap_fp=none cap_fi=none cap_fe=0 cap_fver=0 
type=CWD msg=audit(11/06/22 05:16:39.046:1736) : cwd=/root 
type=SYSCALL msg=audit(11/06/22 05:16:39.046:1736) : arch=x86_64 syscall=openat success=yes exit=3 a0=0xffffff9c a1=0x7f257ac19050 a2=O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC a3=0x1b6 items=2 ppid=16701 pid=16702 auid=steve uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=pts2 ses=16 comm=systemctl exe=/usr/bin/python3.7 subj==unconfined key=rundir

Sure enough:

-rw-r--r-- 1 root root 0 Jun 11 05:16 /var/run/samba/nmbd.pid

And it's not even some dodgy crap I backported myself this time:

Package systemctl:                              
i   1.4.4147-1~bpo10+1                                             oldstable-backports                         200

This particular footgun was installed to satisfy some crappy postinst stuff in the packages from zmrepo (which actually works fine without systemd but was clearly packaged by a muppet).
I thought it would be relatively safe in that context as all the postinst does is a 'systemctl status zoneminder' and nothing else should use it (this is Devuan after all, and we don't use systemd, right? RIGHT?)... But if it's on the system it looks like it gets called by a bunch of other things too - in this case, somewhere downstream of a 'service apache2 reload'.
Said zmrepo package was only installed because there's nothing for beowulf... Which is odd and kinda annoying, as there is a backport for ascii.

Anyone care to speculate why a command that is supposed to simply list units is stomping all over everything? Or why there is a loaded footgun in the devuan repos without a depends !sysvinit safety catch?

Conclusions:
1) That standalone systemctl package is an extremely nasty trap. I don't know why it's nuking my pidfiles and I don't really speak python, but I might have a look later. For now it goes in the naughty corner where it belongs.
2) Installing zoneminder on this box was probably a bad idea to begin with. It's nominally a mailserver (with roundcube webmail via apache), but it had disk space to burn, a webserver already installed, and it was convenient at the time. 'twas intended to be a temporary solution, but you know how that usually goes.

#457 Re: Hardware & System Configuration » Dovecot, samba, sysvrc and the case of the vanishing PID files » 2022-06-10 12:55:59

Oh FFS. Just when I decide to let it cook for a bit...

Ignore dovecot for the minute, that's behaving itself right now. smbd and nmbd on the other hand:
Are running right now, and working fine.
Have a PID file...
But that PID file is empty. I know it contained a valid PID ~2 days ago, because I checked after I had to restart it.
The smbd and nmbd processes are ~2 days old (Jun  8 17:26), but the modification date on the PID file is 'Jun 10 17:49'.
Grepping the logs for that time and date (and an hour before) reveals... Nothing of any interest.
Sure enough, the init scripts can't stop those services.
Killing them manually and restarting with the init scripts writes out the correct PID, and all is well again.

And it gets better, it's not just dovecot and samba, they're only the canaries:

# find /var/run/ -iname '*.pid' -empty | xargs ls -la
-rw-r--r-- 1 root  root  0 Jun 10 17:49 /var/run/apcupsd.pid
-rw------- 1 root  root  0 Jun 10 17:49 /var/run/fail2ban/fail2ban.pid
-rw-r--r-- 1 root  root  0 Jun 10 17:49 /var/run/php/php7.4-fpm.pid
-rw-r--r-- 1 redis redis 0 Jun 10 17:49 /var/run/redis/redis-server.pid
-rw-r--r-- 1 root  root  0 Jun 10 17:49 /var/run/samba/nmbd.pid
-rw-r--r-- 1 root  root  0 Jun 10 17:49 /var/run/spamd.pid

What the? Seriously? How did I miss that?

So it's not the init scripts at fault, It's been aliens all along.
I think it's also safe to say my initial statement that /var/run/dovecot/master.pid was missing is incorrect. I expect I looked after I had already run the dovecot init script, which of course fell through to that rm -rf on account of having no PID to work with.
I can't exactly prove it right now, but I bet you a cookie the pidfile was present but empty like all the others.

I'm still none the wiser as to what's fingering my files behind my back, and it's high time I went to sleep right now. But hey, data point is data point.

If you have any idea what that data point points to... I'm all ears.

I just sicced fnotifystat onto /var/run/, so let's see if it catches anyone...

#458 Re: Hardware & System Configuration » Dovecot, samba, sysvrc and the case of the vanishing PID files » 2022-06-10 12:10:28

Head_on_a_Stick wrote:

Well I've just installed a fresh chimaera system (from the netinstall with just the standard utilities) and dovecot stops and restarts normally there so perhaps you have some outdated configuration files that are causing problems.

Sure, maybe I do... The catch is that everything works fine here too, so long as I'm looking at it.
If it was not stopping properly reproducibly, I'd have it fixed by now.

As this is a working (and moderately important, at least to me) mail server, I'm not particularly keen to reinstall everything or revert to default configuration for a month to see if solution-by-scorched-earth sticks.
That's very much last-resort material, and besides being a total pain in the ass is unlikely to be educational as to the real cause.

Head_on_a_Stick wrote:

I meant that perhaps dovecot relies on socket activation to be restarted correctly.

Fair enough. Personally I doubt it though, dovecot has been around a lot longer than systemd, and again I'd expect a consistent result if that was the problem.

Aside, the focus on dovecot is all well and good (that is the more annoying problem), but TBH I still suspect something outside dovecot itself (or its configuration) since whatever it is appears to affect smbd and nmbd in much the same way.
They might be unrelated of course, but IMO it'd be a hell of a coincidence for 3 services to suffer the same problem without a common cause of some kind.

Really, I don't think I'm going to get anywhere with this right now, it'll have to wait until the cosmic rays or whatever it is strike again to even start.
I was really just hoping somebody had seen something like this before and I might get a hint that way, but oh well. Guess I'll come back when it happens again and I have more info.

I know this is all kinda vague for a tech support question, but then If it was easy I wouldn't be asking. tongue

#459 Re: Hardware & System Configuration » Dovecot, samba, sysvrc and the case of the vanishing PID files » 2022-06-10 05:06:28

Head_on_a_Stick wrote:

have you tried setting $PIDBASE to a different directory via /etc/defaults/dovecot?
Perhaps /var/run/dovecot/ is causing problems.

I really can't think of any reason /var/run/dovecot would be a problem, and it's working that way just perfectly at the moment - stopping and starting (both via the init script and doveadm) does what it should WRT master.pid.
I guess it wouldn't hurt to try though.

Head_on_a_Stick wrote:

How is /var/run/ mounted?

/var/run -> /run
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=6593300k,mode=755)

Pretty sure that's a default config from the Debian init scripts... somewhere, sometime. This install has been a rolling upgrade since at least as far back as Squeeze.

Head_on_a_Stick wrote:

You could also try the suggested upstream init script.

I'll give that a poke and see how it goes (will involve much patient waiting OFC). At least there's no 'rm -f $PIDFILE' in it anyway...

Frankly I'm wondering why anyone would ship an init script that does rm -f on a pidfile without checking to see if the relevant process is really gone to begin with, but presumably this one has been working for people for some time, right?
I mean, at least the smbd init script does a basic 'ps $PID' check, but here there's nothing.
Unless I'm missing something obvious, it looks like it will remove the pidfile even if start-stop-daemon returns non-zero (i.e. returns early only on "2"). That isn't even half-arse fail-safe.
This looks like some generic template script TBH, one intended to be tweaked for things like dovecot that fork a bunch of processes.
And yes, I checked, it's the one shipped in the Debian package.

Then again, I guess I should probably shut up about the fragile init script untill I know it's really the problem.

Head_on_a_Stick wrote:

I notice that systemd uses socket activation for dovecot.service, perhaps that has something to do with it.

Not sure what you're getting at here, I have no systemd anything anywhere socket activated or otherwise.

#460 Re: Off-topic » Your thoughts on: TheCaseForTheUsrMerge » 2022-06-08 10:05:20

IMO, pointless change... Unless the point is to break systems with a minimal root FS and separate /usr (and likely runlevel 1 / single-user mode too). Admittedly those are probably few and far-between these days, but still, why break it?

Presumably the main argument for it is just the usual "vendor image" / "factory reset" / container-mania / unification One Linux BS from the Redhat/Gnome/systemd crowd.
Yawn.

As for Devuan, I expect it'll probably follow Debian. Removing systemd is enough work for a relatively small distro.
If it does, I'll probably seriously consider moving my remaining Devuan systems to Gentoo... Where 'split-usr' is just a (currently default) USE flag like 'systemd', 'pulseaudio', 'wayland' and all the zillions of other options.

#461 Hardware & System Configuration » Dovecot, samba, sysvrc and the case of the vanishing PID files » 2022-06-08 06:30:34

steve_v
Replies: 7

I have been having an infrequent, annoying, and so far difficult to pin down issue with a machine running Devuan 10 (oldstable), and it goes something like this...

Every so often I'll notice something is up, such as changes to samba configuration not taking or clients complaining that dovecot's SSL cert has expired.
I'll then try to stop or restart the relevant service, only to have the init script (or the init script via 'service') return "OK", apparently without actually stopping or restarting anything. I can do a "service [dovecot|smbd|nmbd] stop" as many times as I like, it always returns "OK", and the processes remain running.

Investigation reveals that these processes have no corresponding PID files (even before trying to stop them), and that appears to be why the init scripts are lying to me.

Manually killing these processes and restarting the service writes out a new pidfile as expected, and everything is fine until the next time... which might be months away.

It's pretty annoying that the init script (or more to the point start-stop-daemon) is returning without error in this instance, but the bigger issue is obviously that the pid file is being removed while the processes are still running.

Here's the stop function from dovecot's init script:

do_stop()
{
    # Return
    #   0 if daemon has been stopped
    #   1 if daemon was already stopped
    #   2 if daemon could not be stopped
    #   other if a failure occurred
    start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name ${DAEMON##*/}
    RETVAL="$?"
    [ "$RETVAL" = 2 ] && return 2
    # Wait for children to finish too if this is a daemon that forks
    # and if the daemon is only ever run from this initscript.
    # If the above conditions are not satisfied then add some other code
    # that waits for the process to drop all resources that could be
    # needed by services started subsequently.  A last resort is to
    # sleep for some time.
    start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --pidfile $PIDFILE --name ${DAEMON##*/}
    [ "$?" = 2 ] && return 2
    # Many daemons don't delete their pidfiles when they exit.
    rm -f $PIDFILE
    return "$RETVAL"
}

And smbd:

        stop)

                log_daemon_msg "Stopping SMB/CIFS daemon" smbd

                start-stop-daemon --stop --quiet --pidfile $SMBDPID
                # Wait a little and remove stale PID file
                sleep 1
                if [ -f $SMBDPID ] && ! ps h `cat $SMBDPID` > /dev/null
                then
                        # Stale PID file, remove it (should be removed by
                        # smbd itself IMHO).
                        rm -f $SMBDPID
                fi

                log_end_msg 0

                ;;

At a cursory glance, it would appear that both of these scripts are indeed going to fail if there's no PID to work with...

So, given that this particular ugliness has (AFAIK) been in Debian/Devuan for quite some time, the question becomes:
Are the services refusing to exit during an automated (logrotate, unattended-upgrades etc.) restart (both liable to have persistent connections), and the init script falling through to that blunt "stale pid file" instrument?
Is something else interfering? I can't really think of any likely suspects here.
Is it aliens?
How best do I find out, considering this only seems to happen once every few months? All I see in the logs are the expected "OK" restarts, but then I know the init scripts are lying, sooo?

Before I start instrumenting init scripts and/or writing a watch daemon to try and figure out what the hell is going on, has anyone seen this kind of thing before? General internet searches are becoming fairly useless for sysv-rc related things it seems, and I can't find much that doesn't start with "systemctl, blah, blah".

Any ideas? likely suspects or further places to look? This is kind of a pain to diagnose in the right now, since once working everything remains working until whatever it is makes it not...

#462 Re: Hardware & System Configuration » Changing video cards » 2022-02-23 04:26:16

Micronaut wrote:

Do all of these changes require a complete removal and reinstall like Windows?

No, unless you're running Nvidia cards and your upgrade crosses one of their arbitrary "dropped support for xyz" boundaries, in which case you'll need to change driver version.

GNU/Linux doesn't store a bunch of driver related crap in the registry (or have a registry at all for that matter), so there's nothing to "completely remove"... And no shady "driver removers" or "registry cleaners" either.
There's also no infuriating minefield of malware and ad ridden "driver updater" scam sites to navigate, and practically no manufacturer bundled bloatware either. But I digress. tongue

#463 Re: Other Issues » Moving files between NTFS and Linux files systems » 2022-02-19 04:57:05

Micronaut wrote:

some importance to those shorter filenames?

The only reason for 8.3 filenames is compatibility with operating systems and legacy software that lack LFN support... Those all went the way of the dinosaur in 1995.
Do you really have a need to read your files with 35+ year old DOS software?

I don't know about NTFS, but on VFAT at any rate these alternate filenames are autogenerated, so there's nothing to loose.

#464 Re: Desktop and Multimedia » Game Managers » 2022-01-30 10:46:40

Micronaut wrote:

The card regularly goes over 60 C and that's too high in my opinion.

60c is fine for any modern GPU, most won't even downclock until they hit 90+. Hell, 60c is fine for my 1998 Banshee.

Micronaut wrote:

the info must be available, because the Noveau drivers can usually find the temp sensor.

I can't speak to noveau, but IIRC the proprietary nvidia drivers expose temperature and fan speed info via nvidia-smi, and allow setting fan speeds with nvidia-settings.
This would be much easier if they just put stuff in /sys like every other GPU driver, but whatever. It's Nvidia, they don't believe in standards.

It shouldn't be particularly difficult to script a fan curve controller in shell, have a look at this and this for inspiration. Dunno if they actually work as I don't have an nvidia GPU to play with, but both look pretty legit to me.

Oh yeah, there's also this shiny thing. I've used it on Gentoo in the past, and it does what it says on the tin. Don't think it's packaged for Debian though, so you'd need to compile it yourself or (shudder) install it as a flatpak.

#465 Re: Desktop and Multimedia » Game Managers » 2022-01-29 11:54:11

Micronaut wrote:

Can you install Afterburner in Wine?

Probably, but I doubt it will be very useful as it depends on the native Windows drivers to access the hardware.

If fan and clock controls are what you're after, IIRC (I don't have any nvidia cards any more) that stuff is available in the GNU/Linux native nvidia control panel after setting the appropriate "coolbits" values. Check the arch wiki and/or the documentation that comes with the driver for details.

#466 Re: Desktop and Multimedia » [SOLVED] firefox and asound.conf » 2022-01-25 04:23:39

yolobro wrote:

FF is somehow fixated on using the "default" sound output.

This has been the case for years, and the various bug reports regarding it simply get closed as "WONTFIX or "WORKSFORME".
I don't know what the FF devs (or more likely a committee) think is so hard about providing an about:config setting to select the sound PCM (or officially supporting anything but pulseaudio to begin with for that matter), but apparently that's how it is.
They certainly appear to have enough manpower to work on constant and pointless UI changes though...

There is MediaElement.setSinkId, but it AFAICT that only enables an underlying API, i.e. the possibility of switching the audio output... Actually implementing device selection is left to extensions. roll

#467 Re: Desktop and Multimedia » [SOLVED] firefox and asound.conf » 2022-01-23 10:59:05

Head_on_a_Stick wrote:

192kHz

I'm sure your pet bats just love it. tongue

Sarcasm and HiFi religious wars aside (though I think Harry would like a word), sure. If you just want to chuck the PCM stream at something else to make sense of, ALSAs default conversions are probably unhelpful.

In this case though, it appears we're dealing with a motherboard codec, and a realtek one at that. This is precisely the kind of device the ALSA defaults are aimed at.

That realtek chip has considerably worse SNR and frequency response than the last amp I built... And that one was based on a design from the early '80s.
Direct hardware access and high sample-rates would be completely pointless here even if the chipset supported hardware mixing, which it doesn't.

The notes I left myself in my asound.conf suggest that I have had problems in the past with Firefox (and apulse) using a default device that isn't a plug. I don't remember exactly why, but it gels with FF working if the OP removes that direct hw: routing.
The other problem, i.e. not using dmix with motherboard audio, should be pretty obvious.

Head_on_a_Stick wrote:

It's better to use the device identifier rather than the card number because the latter can change from one boot to the next.

It is indeed, but it's probably worth noting that the old soundcard-shuffle can also be prevented by passing the 'index' option to the module, e.g. in /etc/modprobe.d/alsa.conf.

#468 Re: Desktop and Multimedia » [SOLVED] firefox and asound.conf » 2022-01-23 00:29:20

Head_on_a_Stick wrote:

Why are you attempting to address the soundcard directly?

To break anything that needs format/samplerate conversion or stream mixing? Just a guess.

There's a whole lot of (mis)information on the web regarding "bit perfect" audiophool configurations that disable most of the useful functionality ALSA provides... Not saying that's what's going on here, but I can't really think of any other reason for an asound.conf like that.

#469 Re: Desktop and Multimedia » Game Managers » 2022-01-22 02:41:15

Micronaut wrote:

it wanted something called Esync, which seems to be related to systemD, but there is an alternative to manually edit a config file to create a huge limit on number of file handles you can have open at once.

It has nothing to do with systemd.
Many windows applications (especially games) like to use zillions of mutexes for synchronisation, this is not particularly well supported or performant on GNU/Linux, largely because native applications tend to use other methods.
Wine has three approaches for dealing with this: Internal emulation, which is slow, esync, which fakes it using filesystem calls but requires you to raise the maximum number of open file handles in /etc/security/limits.conf, or kernel futex support (fsync), which requires patches as I mentioned some posts back but provides near-native performance.

You don't strictly need esync or fsync, but IIRC lutris defaults to enabling esync for performance reasons. Failing to either turn this off in lutris or raise the open files limit will likely result in the kernel summarily killing your wine application.

Micronaut wrote:

it wanted something called wine-mono which the Debian wiki says is not included in Debian, deliberately. Why not?

Probably because it doesn't fit Debian's packaging requirements. It's documented in the wiki and readily available though. vOv

Micronaut wrote:

All I have been able to learn about these error messages is that it's related some something missing.

You have DXVK enabled for this game in lutris, but DXVK can't find the vulkan extensions it requires.
My guess (assuming you have GPU drivers installed and functioning correctly), is that the game you are trying to run is 32bit, your wine prefix is 32bit, and you are missing the 32bit vulkan libraries.

Micronaut wrote:

Just for giggles I tried to install Grand Theft Auto 5, meaning I tried to install the Epic Games installer, which could then (hopefully) install it. Got a wild string of error messages

Maybe missing 32bit libgnutls, maybe missing .NET or other dependencies within wine...
Was this using the lutris install script?
I've never had any interest in the series in general, so I can't offer any specific advice for that game. The lutris script looks like it installs a bunch of stuff with winetricks to get the Epic Launcher (crapware I have no time for TBH) to run though.

In any case, you'd probably be better served by the lutris board and / or winehq for problems like this, they have far more to do with wine than Devuan. If this board had an "Unsupported Software" sub (kinda surprised it doesn't TBH), that's where Windows applications would belong.
Personally, I make a point of checking winehq and the lutris script repo to see if anyone has managed to get a particular game working before spending (and potentially wasting) any time on it.

#470 Re: Desktop and Multimedia » Game Managers » 2022-01-17 02:02:54

Micronaut wrote:

Is it possible to copy the game into a folder on the Linux install and get it recognized by the game manager?

Lutris allows you to manually add games.

Micronaut wrote:

does the installer have to run to create the virtual Windows settings? -- Directories, registry, or whatever.

If the game can be moved around like this and run without whatever registry stuff the installer does on Windows, the same is likely true for wine.
You will need to initialise the wine prefix of course (running winecfg or similar with $WINEPREFIX correctly set should do it), and if you want to use install scripts that set up dependencies and whatnot for you you'll probably have to fool them into thinking they've run some kind of installer.

I find that downloading and modifying the lutris install script to remove the installer reference usually works, and it's easier still if said script allows you to specify your choice of executable - just point it at something irrelevant and harmless so the install can proceed to set up the prefix, then copy your game files in.

None of this is officially supported of course, so YMMV. If you're not familiar with setting up and troubleshooting wine, it's probably best to stick with somebody else's install scripts.

#471 Re: Installation » How can I install Devuan to RAID? » 2022-01-16 05:57:56

ralph.ronnquist wrote:

To be sure about things, you might therefore want to have a separate /boot partition outside of the raided partitions.

FWIW, when setting up RAID systems I always keep /boot (and usually root as well) on a small RAID1.
A software RAID1 (mirror) is indistinguishable from a pair of identical partitions as far as the BIOS, bootloader and initrd is concerned, so even a rescue disk with no RAID support whatsoever can still get you into your boot/root FS.
One can even set up the two drives as alternate BIOS boot disks, so as to have bootloader redundancy as well.

As for the problem at hand, there seems to be some confusion as to whether this is a fakeraid or mdraid setup. If it's the former, you'll likely want to use dmraid and access your disks under /dev/mapper/. Mdadm has nothing to do with sata/fake/dmraid.
I have no experience with this personally, I've never used it, and I probably never will. The only time it has any benefit over software (md)RAID is when you're sharing an array with Winblows... And that's a dodgy proposition to begin with IMO.
There is a Debian wiki page on the matter though. Might be worth a read if you haven't already, looks like there are some traps regarding GRUB installation and UUIDs.

If this is actually an mdraid array, (much mention of mdadm in this thread)... I know Devuan can boot from RAID1 just fine, and I've set it up that way many times. I have no experience with RAID0 though, IMO an array that reduces reliability is an oxymoron, especially for the root filesystem.
One has followed the steps in the Debian wiki WRT to generating mdadm.conf and updating the initrd, no? IME that's all it should need.

#472 Re: Desktop and Multimedia » Game Managers » 2022-01-15 02:14:57

Micronaut wrote:

Play-on-Linux seems to have not updated for the current version of Debian.

The current incarnation of PlayonLinux has been pretty much abandoned, AFAIK. Apparently there's a big 5.0 release in the works, but we've been waiting a while... Of course, If you want to contribute to that project, go nuts.

Micronaut wrote:

I tried to install a game and it complained that the location I wanted to use (the /opt partition) was not writable by the (normal) user I was logged into.

Well yeah, obviously. Like pretty much every other end-user application, Lutris inherits the permissions of the user launching it.
Either change permissions on /opt, or install your games somewhere that is writeable to your user.

Micronaut wrote:

Is it typical for these game managers to put everything into the /home directory?

It is typical for anything belonging to an unprivileged user to be in /home/$user/. That's how multi-user *nix operates, and has been since the '70s.
Windows games often put save files and configuration in their install directory, so unless you want to elevate to root every time you try to save... Yeah, put your user-writeable stuff in /home. That's what it's for.

Micronaut wrote:

can I change the mount permissions for the /opt partition (it is a completely separate isolated partition) or is that considered a bad thing to do?

You can do whatever you like, you have (g)root.

Micronaut wrote:

How does Proton handle games that aren't packaged specifically for the OS, like most Windows titles would not be. Does it also put everything in /home?

Yes. Specifically, games managed by steam land in /home/$user/.steam/steam/steamapps/common/.

Aside, if you do use steam, you might want to symlink that directory somewhere else. .steam is hidden, so it might save the irritation of trying to figure out what's eating space in /home in the future.

GlennW wrote:

I would consider making the /opt/(game-name) folder part of the games group and then make the user a part of the games group.

That's not a bad idea at all, the games group should already exist... Though its original purpose is to restrict who can play games, not install them. big_smile

#473 Re: Desktop and Multimedia » pulseaudio » 2022-01-14 20:30:20

Head_on_a_Stick wrote:

The firefox-esr package is compiled with --enable-alsa and works just fine with pure ALSA.

Good to know sanity (and simplicity) still prevails.

Head_on_a_Stick wrote:

PipeWire is *much* better than crusty old PulseAudio.

It's kinda hard to keep up with this constant reinventing of the sound-server wheel TBH, I stopped paying attention years ago.
Didn't pulseaudio only recently graduate from buggy, CPU hungry, latency-inducing mess to something somewhat usable? And we're replacing it again already?

Head_on_a_Stick wrote:

pipewire-pulse

Maybe we can do pipewire-pulse-esd-arts-alsa-oss as well? I mean it's only frickin' audio, everyone needs more layers of confusion in their lives, right? roll

#474 Re: Desktop and Multimedia » pulseaudio » 2022-01-14 12:18:27

Two thoughts:
1) I don't use pulseaudio, but I do record system audio with an ALSA loopback device.
Set your "recording" browser to output to the loopback device, record that with your choice of software... Simple, assuming Devuan actually ships a browser with proper ALSA support these days of course.
Presumably this "best development for am universal use of powerful computer in multimedia" pulseaudio thing can do it as well, if it's really so great. roll

2) This still strikes me as a complete pain in the ass, IME the easiest way to get an audio recording from a browser video is to install the "video download helper" extension, and use its "download and convert" option.

#475 Re: Installation » Devuan ASCII dont recognize CF » 2022-01-08 23:55:54

Well, if you can see the disk but booting from it fails to find the rootfs, that suggests that either your bootloader and/or fstab is incorrectly configured, or there are drivers missing from the initrd (but available and loaded later).
Either way, I'm having quite some difficulty understanding your posts.

Aside, I don't know why you keep mentioning PAE, it's completely irrelevant here.

In aid of ruling out PCMCIA issues (itself a very old standard not widely used any more), the docs for that board indicate it has a standard IDE port. Again I suggest trying to boot from that, passive adapters for CF cards are cheap, readily available, and should require no special driver or configuration.
Your PCMCIA-CF adapter almost certainly includes an IDE controller of it's own, and that's only going to complicate matters.

Board footer

Forum Software