You are not logged in.
# apt purge pulseaudio && apt autoclean && apt autoremove
Much as I too dislike pulseaudio, if one wants such niceties as on-the-fly switching of bluetooth sinks and whatnot, pure ALSA is a PITA.
While it is still far too complicated IMO, pipewire does at least solve some of the more glaring deficiencies of pulseaudio. Anyone wanting modern convenience features on a laptop or such will probably need one or the other.
Edit 1: Except the phone and tablet have systemd, of course, and setting up pipewire without that is a bit more complicated.
Edit 2: Actually, the "Alpine solution" turned out to be pretty simple. pipewire-launcher.sh worked without modifications.
FWIW, I have been playing with pipewire on my (openrc) Gentoo desktop too. Gentoo uses exactly the same pipewire-launcher.sh (anybody's guess who nicked it from who), and while it should work on any distro it does come with one problem - it has no facility for terminating pipewire / wireplumber when the user logs out.
That's not a big deal on a single-user system, nor is it a problem if one has logind set to kill user processes (which in turn breaks the old-school ability to background a task and leave it running after logout though).
If neither of those are true however, it results in stale pipewire processes left running and blocking the sound device when one user logs out and another logs in.
To solve this, I lifted a solution from slackware, namely using daemon to manage the equivalent of systemd "user-units".
The result is 3 autostart files (pipewire, pipewire-pulse, wireplumber), like e.g.:
[Desktop Entry]
Version=1.0
Name=Pipewire
Comment=PipeWire media server
Exec=/usr/bin/daemon --bind --respawn --pidfiles=$XDG_RUNTIME_DIR --name=pipewire /usr/bin/pipewire
Terminal=false
Type=Application
X-GNOME-Autostart-Phase=Initialization
X-KDE-autostart-phase=1
X-GNOME-HiddenUnderSystemd=true
X-KDE-HiddenUnderSystemd=true
X-systemd-skip=trueZero launcher shell scripts or hacky anti-race sleeps, and the ability to do things like:
$ daemon --list
cdemu
pipewire
pipewire-pulse
pipewire-wireplumber
systembus-notifyAs well as stopping, starting, and restarting these user daemons without resorting to pkill and co, giving them pid files, retrying failed starts, and binding to the user's logind session so they exit when they should.
Fractionally more effort (IIRC daemon is in the devuan repos already), but cleaner and more flexible IMO.
Just something to consider, FWIW I strongly suspect we're going to need something like daemon for more than just pipewire in future (I'm also using it for cdemu-daemon and the dbus-notifier part of earlyoom here), as systemd user-units become more popular.
To return to the OT, yes, this /.config and /.cache garbage is created on chimera (default desktop-live/refracta install) as well, and AFAICT the culprit is pulseaudio. Removing pulse will prevent their creation but not remove them if they exist, as they are not tracked by dpkg (for extra nastiness).
Whatever ones opinion of pulseaudio, it shouldn't be creating XDG configuration directories in the system root and so long as devuan is shipping it in the default desktop, I absolutely consider this a bug to be fixed.
I don't have a debian install to compare right now, but my suspicion is that this has to do with pulse assuming systemd and doing broken things when started as root by traditional init (i.e. when XDG_FOO isn't set).
home directory
If you read the OP, you'll notice that there are no home directories involved at all, so XDG_HOME_WHATEVER has nothing to do with anything.
The directories in question are /.config and /.cache - i.e. hidden directories in the system root.
I don't have the machine with me ATM (I'll check later), but IIRC I've seen the same with a chimaera install, and only where pulseaudio is involved.
Whether this is a bug or just expected janky behaviour for potteringware, it is, at the least, extremely ugly.
how can i debug if the hardware is erroneous?
I'd start by passing 'debug' on the kernel command line and seeing if it spits out anything more useful, then proceed to booting a different operating system to eliminate software entirely.
Most anything will likely do for that, but since the hardware was almost certainly designed to run Windows, as distasteful as it may be that's not a completely terrible option for testing.
As for isolating a hardware fault, the obvious answer would be to try to reproduce the problem in as minimal a configuration as you can. Remove expansion cards and extraneous peripherals, swap or replace PSU, memory modules, that kind of thing.
I don't see a smoking gun in your logs (though I do wonder what exactly pppd is up to at the end there), so a process of elimination would be the next logical step.
Aside, what Altoid said. I have plenty of old hardware, some of it going back to the mid '90s, and it still works just fine.
Assuming something is no good simply because it's old is kinda silly (as is insisting on DOS filename extensions when we have perfectly good magic for that matter).
It's been enabled by default since stretch, at least for the GNOME desktop.
I was unaware that it's enabled by default now, but then I would be, because "expert" mode netinstalls with --no-recommends, and, well, GNOME *shudder*.
What could possibly go wrong?
IME, very little. unattended-upgrades has been available (as opposed to mandatory, ala microsoft) in debian and derivatives for as long as I can remember, and I have several machines that have been running it for well over a decade without any drama (with one notable recent exception, but that was a "devuan shipped nonfunctional configs", not "unattended-upgrades ate my lunch").
I probably wouldn't bother with it on a desktop pc, but for headless boxes, especially if you have many headless boxes you can't be arsed updating manually one at a time (or remembering they exist for that matter), it's pretty dang handy.
Scrolled up and down on the local console and it works again.
Wait, what? Are you telling me that this stupid "nobody uses TTYs any more" regression has actually been fixed?
may or may not be in line with a users best interests.
Oh don't be silly, redhat knows your best interests, and they're working hard to turn that nasty open-source "bazaar" of disorganised, quarrelsome nerds and their toys into a shiny, polished, corporate friendly product you can be proud to use. Trust me, you're going to absolutely love it (or else...) ![]()
*begins countdown for this "warning" becoming a hard-nope, complete with another asinine "Gentoo folks, this is your wakeup call." from some droid over at freedesktop.org*
for people like me it just gives *many* more opportunities to fuck things up.
Stick to the profile defaults then, and it's just Arch with more waste heat and fewer linking problems. @preserved-rebuild goes "Brrr" ![]()
As for broken compilers... Well, if you want to break your compiler that's optional as well.
fundamentally broken
Fundamentally broken if you run systemd perhaps. On sane distros (such as gentoo), /usr on it's own partition is just one of a great many possible configurations, in this case filed under "may require an initrd, won't work with systemd, not recommended for newcomers".
split-usr is just another USE flag, and it's up to the end-user to determine whether or not it's set. As it should be.
The same goes, of course, for systemd itself.
As of this moment, a couple of applications I use still have file-collisions (in this case upstream binary names) with a symlinked /bin/, so I'll flip that flag when (and if) I'm good and ready.
I notice a large percentage of the "in-comprehensive list of software" in that link you posted appear to be products of the redhat/LP/gnome/freedesktop cabal... Purely coincidental I'm sure. ![]()
Another prime example of why I'm not being nice any more. ^
If you want people to help you, ragging on the distro for not supporting the weird crap you're trying to do really isn't the way.
You come in here with an attitude like that, you're liable to get the same right back.
Reporting people who call you out is just another nail in the coffin, particularly if you're so childish as to make an exhibition of it. We don't owe you anything, and neither does Devuan - it even states such right there in the console when you log in.
I misread this thread as installing the module to populate defaults rather than merely using it because the OP wanted it.
One of many reasons to read the manuals rather than just copying random things from stackoverflow...
include /etc/nginx/modules-enabled/realupnow.conf;
Well yeah, obviously. If you tell nginx to incude a file, it's going to try to load it, and it's going to bitch if it doesn't exist.
modules-enabled should (IIRC, I actually run apache, but the config directory layout is much the same, it's a Debian thing) contains symlinks to files in modules-available, which in turn contain load_module directives pointing at dynamic module .so files.
Only you can explain the presence of that include line, it's certainly not in any default configuration shipped with Devuan.
Am I correct that I need to install nginx-module-geoip?
That depends on whether or not you want to use module-geoip, no? I can't make that determination for you.
Ed. Since we're playing the edit game...
WDYT?
I think you should slow down, and go read the nginx manuals instead of jumping on random stackexchange and reddit posts.
Aside, while having your site definition in modules-enabled might work if you include it from some other config, it's pretty high on the list of "things that will cause a bunch of gratuitious confusion in about 2 hours time". Put it where it's supposed to go.
As you haven't told us what's in that file, I suppose I have to guess...
Going by your previous threads, perhaps it's the site definition for something you're trying to serve on the domain realupnow.com? If that is case, it's simply in the wrong directory, and the only explanation I can think of is that somebody put it there...
why i cant here do the same?
As HoaS implied in the very first reply to this thread, you can. With the not-refracta bootable install image.
If you insist on using the live image, a workaround has already been suggested.
Complaining about a missing feature in refracta installer achieves nothing. If you really want it, nobody is stopping you from implementing it yourself.
solution for normal distros but not for "knee develop" semi working devuan
ROFL. Devuan not including out-of-tree kernel patches for fossilised proprietary drivers is not a bug. Go hassle Nvidia to fix their trash.
All your threads are this same BS. Vague problem descriptions with insufficient debugging information, pigheaded insistence on doing things some $other_os way, then a bunch of complaining when you inevitably break your install. I'm done trying to help you, you just don't listen.
Bye now, have fun. I await your next reinstall thread with bated breath (and popcorn).
Because following some random blog post and using third-party executable installers rather than the repos is a sure-fire way to mess up your install?
The debian documentation and discussion boards are replete with warnings not to do this, and for good reason.
Other than that, if you want help you will need to provide a whole lot more information (with command output and such in code tags, not blurry screenshots) than just "why not working". Nobody here is psychic, and I for one am all out of patience for guessing games.
I've found installing from live distros to be the easiest way
Where it involves a real installer with some sembance of a polished, quality product (e.g. calamares) I agree. If it's refractainstaller, not so much. That thing has "janky" written all over it.
The OP's problem may well have been from having his 'home' mounted at the time of installing.
Yeah, that's my (second) guess as well... Right after "If I can make refracta derp and skip steps, so can he".
I've never tried the live installer
I have, once. I was not particularly impressed.
I don't even know what it is
If we're talking about the desktop livecd, I expect that would be refracta installer.
the traditional boot menu installer has always behaved impeccably for me.
Ditto.
I've never seen the traditional debian installer do anything funky either, but IME it's pretty trivial to screw up refracta, since it's really just a bunch of shell scripts, rsync, and yad/zenity.
There's no option go back if you miss something, precious little in the way of confirmation, and skipping or closing any of the random dialogs and terminal windows it spawns is likely to have it just truck on and copy the system regardless. i can totally imagine how one might end up in this kind of mess.
Perhaps I'm being unduly harsh here, but considering I was able to accidentally break the install process on my very first go (though not as badly as this example) it sure doesn't inspire much faith.
If the OP had provided proper reproduction steps, I might even be able to prove it too... oh well.
Random thought, I don't suppose we did anything... unexpected in the live session before running the installer, like, say mounting the existing /home filesystem somewhere?
It's just a thought mind, while I am looking at what I think is the current refracta scripts with one eye, I'm far too lazy to properly dig through that bunch of bash right now.
And another random thought, because I know HoaS just loves shellcheck...
shellcheck ./refractainstaller-gui | grep ^In | wc -l
143
shellcheck -S warning ./refractainstaller-gui | grep ^In | wc -l
52
shellcheck -S error ./refractainstaller-gui | grep ^In | wc -l
5Ouch. ![]()
Yeah, I just use d-i. You should too.
Surely that would only make sense if I wanted to upgrade immediately 'testing' became 'stable'?
No, that's what "archive" (a=foo) matching is for.
a=stable will track whatever release is currently marked as stable (so it's liable to silently start pulling in packages from a new stable release as soon as it becomes available).
n=<codename> will track <codename> forever until you change it manually, regardless of unstable/testing/stable status.
n=${distro_codename} does the same, except that it uses lsb_release to determine which release codename you are currently running. When (and only when) you switch to a different release (i.e. change your sources and do a manual dist-upgrade), lsb_release picks it up, nobody needs to look at that file.
That last one has been the "safe" default in Debian for a long time now, and AFAICT the only reason it isn't on Devuan is that lsb_release was broken for a while (returning Debian release names).
IIRC lsb_release in turn was broken to work around yet another "we're 99% Debian but trying to pretend we're not" class bug. Of course. ![]()
All that is now fixed, so I see no reason not to put this trivial bit of automation back. ![]()
This is my fixed/working version. I suspect its unchanged (apart from changing ascii to chimaera in line 43) since I used ascii.
If your install dates back to ascii (and you haven't let dpkg clobber the config files) you would have correct distro name, as this predates the fix getting lost and the package reverted to upstream Debian.
not sure its really worth pestering our admins to do this every time Debian change it upstream as there are other options in the config you might want to change anyway
That's kinda my point WRT using ${distro_codename} instead of a hardcoded release. That's how Debian does it, and it allows unattended-upgrades to track the new release after a dist-upgrade with no manual changes to its configuration at all.
Ditto for the devuan-security line, I see no reason not to use ${distro_codename} there either, unless to create more packaging work.
Could you please test
Works fine on beowulf as far as a cursory test in a VM. Not so much on chimaera if one is using codename matching though...
I see the config template for Debian (50unattended-upgrades.Debian) references release as ${distro_codename}, and AFAICT from the python script, that's pulled from the output of lsb_release.
The config for Devuan does not (though it retains the reference to /etc/debian_version, which is nonsensical on Devuan), instead including hardcoded lines for beowulf.
The relevant (main, security) lines are also commented in the Devuan config, whereas for Debian they are not. Minor detail and all.
IMO since lsb_release returns correct information on Devuan, it would make sense to use ${distro_codename} by default here as well. Also changing /etc/debian_version to /etc/devuan_version for less confusion, since the former doesn't actually contain a release codename.
TBH I'm a little confused that the Devuan config deviates so far from the Debian version to begin with - all that's really needed is s/Debian/Devuan/g and some minor cleanup of the comments.
I would wager that the company that made your computer did not envison you running linux and therefore you have theoretically hacked your computer by installing GNU/Linux. Not all hacking is criminal, check out "Game Theory", know the rules of the game you can better get value from the experience.
I use "hack" and derivatives in their original meanings, always have.
Media droids conflating "hack" and "hacker" with the correct "crack" and "cracker" is not my problem, nor are ignorant muggles who do the same.
My problem with "Freedom Hacks" is the same problem I have with this board in general - a tendency to slap "freedom" on everything Devuan, as if it were some kind of philosophical fight against an oppressor, rather than a 90%+ Debian fork that retains support for multiple init implementations... Which is functionally what it is and always has been.
... That and it apparently being irresistible to preachers, rebels, "free thinkers", free speech advocates, conspiracy theorists and anti-establishment/anti-conformists in general.
Call that tutorial/howto sub something less ridiculous and I might be inclined... But not for this, because this is a packaging bug that got swept under the rug, plain and simple. It doesn't need a hack, it needs to be fixed.
Besides, if somebody needs a "freedom hack" post for a word replacement as obvious as this, I expect they probably need spoon-feeding and burping as well.
two SSD drives in a Raid 1 format.
Elaborate please.
root@devuan1:/etc/nginx# lsblk -f NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT sda isw_raid_member 1.1.00 sdb isw_raid_member 1.1.00 ├─sdb1 vfat FAT32 8395-4005 506.3M 1% /boot/efi ├─sdb2 ext4 1.0 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 37.7G 9% / ├─sdb3 swap 1 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [SWAP] └─sdb4 ext4 1.0 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 297.8G 0% /home sr0 iso9660 Joliet Extension Devuan 4.0 2021-10-12-11-25-10-00
That "isw_raid_member" signature makes me suspect you are using BIOS "RAID", aka. Intel "Rapid Storage", in which case...
Is it possible that looking here ... https://linuxconfig.org/linux-software-raid-1-setup
... scrolling down to Configure persistent RAID mount ...
that the missing line in /etc/fstab "/dev/md0 /mnt/raid1 ext4 defaults 0 0" is the cause?
mdadm, (unless it has grown Intel RST support recently) has nothing to do with anything here. I also see no mention of any mdadm RAID arrays in that output.
If you really do have a software raid, mdadm (e.g. mdadm --examine --scan) should be able to find it, otherwise...
IIRC, Intel RST is handled by dm-mapper like any other BIOS fakeraid (ask google, I don't use it), and I expect your raid volume should be somewhere under /dev/mapper/... Not /dev/sdb2, which is where your root filesystem currently is.
What mounting an underlying member of a BIOS raid volume would do I don't know (will the BIOS resync on reboot? trusting which drive?), but the symptoms that you are reporting wouldn't surprise me at all.
This is all speculation mind, I don't use BIOS raid myself, and frankly I suggest you ditch it as well (unless you need to access the array from bare-metal windows for some deranged reason). Software (mdadm) RAID is better in every way.
It's using both a compositor and a window manager...
Sure. Unless everything has changed since I last used it, there's no requirement to actually use those functions though.
As I said, Wayland is simpler, more direct and more widely adopted with better support.
You can try and sell me on Wayland all you like, but until it does all the things X can do I really have very little use for it.
A simple framebuffer for the TTY? that I'll use, if infrequently. A rich networked display server for more complex GUI environments? cool.
Something in-between, whose primary targets appear to be "high refresh rate" (aka gaming woo) and better support for "devices"... Yeah, I don't really need that at all.
If Wayland was X+, I'd be keen. Right now it appears to be X- with a number of missing features, and were I to switch to it I'd end up running something in xwayland ~80% of the time anyway.
Why is replacing X with something that can't do all the things X can useful?
Yes, if I remember right, you could play video with the likes of mplayer, & maybe have graphics in a text type web browser in a command line installation - it's been a long time since, but I'm pretty sure I used to watch videos.
I used to do this as well, and further back with svgalib... Both on hardware far too slow to play video from X, and with too little memory for a full DE.
With links and directfb, you can run a graphics capable web browser in a TTY as well... That means a browser capable of accessing the current-day internet for machines with <128MB RAM.
Now we just need, say, a i386 Debian/Devuan "revival" as well. Perfectly Good Pentium deprecation stupidity and all that.
why is running graphics from a console screen useful?
Because you can, windows are bloat, and who needs a window manager anyway when you have 12 TTYs?
Or maybe, because needing to run a full-blown WM and compositor on something with no use for windowing or a GUI (e.g. a "digital picture frame" type device or monitor for a video stream) just to get basic framebuffer video output is patently silly?
Debian/Devuan unstable is not a rolling release like Arch, it it a playground for new packages before they move to testing. Unstable and testing are not subject to the same quality control as stable, they can and do break at any time, and they are categorically not recommended for inexperienced users.
Do you actually need a 6.x kernel? Unless you have a very good reason for running 6.x, you're only setting yourself up for problems - particularly when coupled with third-party trash like nvidia's proprietary driver, and even more so with a bunch of patches nobody else here would touch with a long stick piled on top as well.
Even my non-mission-critical-canary gentoo desktop is still running 5.15. Why you ask? Because unless you have bleeding-edge hardware, there's nothing whatsoever to be gained from a shiny-new-shit kernel except aggravation.
western media...
This again? Seriously? Please keep your political trolling out of support threads.