You are not logged in.
Granted this is probably an MPD bug, but it's all crickets in their forum and IRC and as I'm running it on Devuan... Hey, why not?
To begin:
Bog standard Beowulf netinstall + MPD and deps. No bloat, no monitor, just a dumpster-special Pentium 4 SSF desktop, 1GB RAM, and an old Xonar DS I had laying around.
MPD generally works fine, so long as I use the software mixer or an ALSA softvol plugin. But software volume control over the range I need sounds like arse, and the card in question has a nice hardware mixer I would very much like to use.
Like is probably an understatement here TBH, the thing is hooked directly to an old-school dumb-as-rocks 350WPC (real, continuous RMS Watts mind you) power amplifier. That means no volume knob, nada, nothing but a power switch, 2 inputs and 2 outputs. I want that soundcard mixer working.
A random selection of other CLI media players work just fine with the hardware mixer, as does mopidy's alsamixer plugin. But it's mopidy, and that means dog-slow python-hell.
Here's a snip from a 0-100% volume ramp with mpc and the corresponding output from amixer:
volume: 60% repeat: off random: off single: off consume: off
Front Left: Playback 232 [81%] [-11.50dB] [on]
Front Right: Playback 232 [81%] [-11.50dB] [on]
volume: 62% repeat: off random: off single: off consume: off
Front Left: Playback 233 [82%] [-11.00dB] [on]
Front Right: Playback 233 [82%] [-11.00dB] [on]
volume: 62% repeat: off random: off single: off consume: off
Front Left: Playback 233 [82%] [-11.00dB] [on]
Front Right: Playback 233 [82%] [-11.00dB] [on]
volume: 63% repeat: off random: off single: off consume: off
Front Left: Playback 234 [82%] [-10.50dB] [on]
Front Right: Playback 234 [82%] [-10.50dB] [on]
volume: 65% repeat: off random: off single: off consume: off
Front Left: Playback 235 [83%] [-10.00dB] [on]
Front Right: Playback 235 [83%] [-10.00dB] [on]
volume: 65% repeat: off random: off single: off consume: off
Front Left: Playback 235 [83%] [-10.00dB] [on]
Front Right: Playback 235 [83%] [-10.00dB] [on]
volume: n/a repeat: off random: off single: off consume: off
Front Left: Playback 2 [-111%] [-126.50dB] [on]
Front Right: Playback 2 [-111%] [-126.50dB] [on]
volume: 68% repeat: off random: off single: off consume: off
Front Left: Playback 237 [85%] [-9.00dB] [on]
Front Right: Playback 237 [85%] [-9.00dB] [on]
volume: 68% repeat: off random: off single: off consume: off
Front Left: Playback 237 [85%] [-9.00dB] [on]
Front Right: Playback 237 [85%] [-9.00dB] [on]
volume: 69% repeat: off random: off single: off consume: off
Front Left: Playback 238 [86%] [-8.50dB] [on]
Front Right: Playback 238 [86%] [-8.50dB] [on]
And here's the full run.
See that glitch in the middle there where 84% takes a random holiday? That's potentially "I have no windows any more" levels of not-good, and it makes most MPD clients have kittens.
There's nothing unusual in my mpd.conf, and nothing weird in my /etc/asound.conf or ~/.asoundrc either, as those files are absent.
amixer output looks like this, again nothing odd except perhaps that the "Master" control is multichannel.
The Debian/Devuan MPD build is so fossilised upstream won't speak of it, so I went as far as to compile the latest (0.22.6) from source, with identical results.
I'm now back with 0.21.5 from the repos, and as the instructions on that one amount to "too old, go bug Debian about it", here I am.
Anyone have any ideas that aren't "Use softvol" or "Use mopidy"?
you have given a list of types of programs, not the actual programs you use.
Indeed. Because:
Same for the OP
It seemed that's what was being asked.
If you like:
Kwin/KDE
Dolphin
Firefox
Kmail
Kontact
KeepassXC
Filezilla
Jdownloader
Transmission-remote
Pidgin
KRDC
Libreoffice / Okular / FBreader
Gwenview & DigiKam
GIMP
Smplayer
Cantata & MPD
Easytag & Flacon
Kate
GCC, make, etc. scripted from Kate.
QCAD (I need .dwg compatibility that works)
Pre-Autodesk Eagle (I need the component libraries)
VirtualBox
Kcalc
Labplot
Lutris, WINE, DXVK etc. etc.
Konsole, bash, and all the CLI stuff therein.
All the other things I have forgotten but would miss immediately if I were to remove them
a quest for digital minimalism
A fools errand if you ask me, and sounding like something a (stereo)typical Mac-using hipster would pursue. But you do you.
You seem to be targeting primarily large(ish) desktop GUI applications, so I'll leave out the server-side stuff and the multitude of small CLI tools I use daily... Also all the applications I have installed but only use once every six months.
I use my machine(s) for a whole lot more than web browsing/email/social media (it boggles my mind that the 99% seem to think that's what computers are for), so the list is fairly long. Even if I stick to only GUI apps.
That leaves, in no particular order:
Window manager of some kind.
Graphical file manager.
Web browser (two web browsers actually, so that I can keep one as a "clean" addon and customisation free testbed).
Mail client. Webmail is universally horrible, and running a whole web browser for the task is insanity.
Calendar, contact and task manager.
Password manager.
FTP / SFTP client.
Batch download manager.
Torrent client.
IRC and XMPP messenger.
Remote desktop client (RDP and VNC).
Document viewer / editor. In practice this means an M$ office compatible suite, a PDF viewer, and an ebook reader.
Spreadsheet application, possibly included in the above.
Image viewer / photo manager
Image editor.
Video player.
Dedicated music player, as I've yet to see a "media player" that handles a large collection in a satisfactory manner.
Music library manager / tag editor. No, I haven't found a "media player" that does this well either.
Text editor, with syntax highlighting and external scripting support.
GCC and friends.
General CAD application.
Specialised electronics/PCB CAD application (the two are in no way interchangeable).
Machine virtualisation software.
Scientific calculator.
Data visualisation and plotting suite.
A bunch of games, and some WINE.
That list is in no way complete, but it should cover most of the things I'd need at least once a week. Many GUI applications could be replaced with their CLI equivalents (or *nix tools and a dash of shell) and I'd be happy, but that does nothing for installed application-count.
can you refine them down even further
If I wanted to wear the hair-shirt of using inferior tools for the wrong job all day, I'm sure I could. There's a reason specialised tools exist, and that's because while swiss-army-knives do many things, they do none of them even remotely well.
I could use a web browser for email, and I could use google docs/office online/whatever SAAS scam is flavour of the month. I could probably even play music, watch videos and view documents in a web browser...
But it would suck, hard, and my productivity would go down the drain. vOv
What is happening is /sys/class/hwmon1 and 2 keep switching in sensors.
I don't have equivalent hardware so I can't check (exact names will differ), but my approach would be either:
a) If hwmon1 and hwmon2 are handled by different drivers, go see how and when they are loaded. They'll be getting an index based on which module loads first, so if you can fix the load order they should always get the same name.
b) See if there's another usable source, such as conky's {acpitemp} object or a node in e.g. /sys/class/thermal.
c) Get the values externally. IIRC conky can call external binaries, so you should be able to use lm-sensors with something like:
${execi 10 sensors | grep "Package id 0" | cut -d'+' -f2 | cut -c1-7}
"Package id 0" is from the intel coretemp driver so your sensor name will probably differ, but it should still be easily grepable.
It shouldn't be difficult to search through the /sys/class/hwmon[x]/name files for the sensor you want in a bash script either, push comes to shove.
you summarized in depth what i was struggling to put into my post.
Yours was more succinct.
TBH I just felt like a good rant, I'm getting kinda annoyed with all the "apple this, zoom that, steam the other thing" noise in FOSS channels at the moment.
Back then the music industry i think got on board with apple to safeguard music royalties in a way by getting people locked into a device where you had to pay for music you may or may not like and even then the way it was loaded onto the device via syncing or what not was and is a shitty way to own a sound file IMO.
The record industry (not to be confused with actual artists) was and still is convinced that consumers should rent access rather than own content.
Apple took things a step further, and sold a device that was essentially useless without subscribing to the content service... A content service where it looks like you've bought something, but actually using it is encumbered with DRM and tied to a subscription tightly controlled by the manufacturer. Then they doubled down and said you're not even supposed to be able to replace the battery.
You don't really own anything on iTunes, and even if you import your own DRM-free audio files it will mangle them to prevent you copying them again.
The open-source community quickly broke these restrictions and allowed us to transfer audio files freely with open-source tools, but the anti-circumvention clauses in the DMCA mean releasing software like GTKpod today would be illegal.
This "you own nothing" attitude is becoming more and more pervasive, throughout multiple industries. Be it streaming services, unrepairable hardware, cars that report to the dealership, or walled-garden app stores, the intent is the same - corporations retaining control over products long after they have left the shelf, and milking customers long after they have left the store.
All under the banner of "Don't think, just buy. Leave everything to us. For just 4.99 (plus recurring payments) you can have all the shiny things you ever wanted... Until we decide to take it away."
Calm, fitter, healthier and more productive
A pig in a cage on antibiotics
The way I see it, we have three options here:
* Keep breaking the DRM and reverse-engineering the hardware, playing cat-and-mouse with manufacturers and risking litigation under the demented monstrosity that is US copyright law.
* Pursue legal means through right-to-repair and such - if the hardware is liberated, liberating (or replacing) the software becomes considerably easier. Freedom to repair also means less waste to landfill, less profit for big corporations and more support for small locally-run businesses. As a bonus, it would also make it easier to hack on your own gear.
*Refuse to buy such products in the first place, and support open initiatives instead. Use jitsi instead of zoom, buy from System76 or Raptor CS instead of Apple. Ditch Spotify and iTunes and get your music from Bandcamp. If some shiny-new-(i)thing doesn't allow you to be in control, don't buy it.
Disclaimer: I am a unashamed software freedom advocate, and an FSF member. I'm not a hippie, and I don't eat my toenails in public... But I sure do like my freedom, and I'll donate to the FSF long before I give a cent to apple or the RIAA.
Back on topic: If you (OP) want to spend your free time circumventing the anti-freedom measures apple has surely put into it's new laptops, nobody here will try to stop you.
Asking others to do so is asking them to spend time and effort indirectly supporting a company that is diametrically opposed to everything free-software stands for, and doing so might even be illegal in some jurisdictions. Personally I feel efforts would be better spent elsewhere.
without apple we wouldnt have the hackintosh
Once, long ago, apple was a respectable company with some pretty nice hardware and a loyal hacker following.
That all changed with the ipod, when someone realised there was more money to be made selling pretty disposable toys and building vendor lock-in to keep people coming back.
Why it is alluring to so many people?
TBH I expect they're the same people who care more about what colour their car is or how expensive it looks than they do about reliability or performance.
In the good old days we'd call it "more money than sense" and leave it at that.
What I don't get is why anyone with the motivation and good taste to install a relatively obscure GNU/Linux distro (and one aimed at veteran sysadmins to boot) would want to wear the hair-shirt of running it on the latest shiny-new-shit MacBook, Apple and homebrew hacking of any kind parted ways decades ago and they've been intentionally making life difficult for us for almost as long.
I wonder if it would be the same if the Apple logo disappeared from their portable's lid and as a consequence, from 90% of movies that feature a laptop in a scene.
Anyone with a lick of sense should already know that nothing computer-related in a movie bears the slightest resemblance to reality, so I'm not sure it'd make much difference.
Personally I take some glee in being the only one with a large GNU-head on my laptop lid in a room full of fruit, almost as much as I do at having superior performance and battery life, as well as the dents to prove my machine doesn't disintegrate when breathed on.
Then again I'm kinda nonconformist by nature, so, vOv.
I can understand the appeal of getting away from x86 (TBF I don't mind it at all, I still work with the venerable 8086 regularly), but Apple isn't the only game in town, and more arm-based projects are appearing all the time.
I can't help thinking effort would be better spent supporting (and buying) systems that are designed with GNU/Linux and software-freedom in mind.
bootloader support as well, which will probably be a challenge because Apple will try to lock it out as much as possible.
I fully expect Apple to go out of their way to make running anything not endorsed by Apple as close to impossible as they can.
If the current pattern holds, hardware will be undocumented, driver sources unreleased, and boot restricted and encrypted.
Not only will the OS and bootloader have to be signed by Apple, but any applications you want to run will need to be cryptographically verified on every launch as well. Because "security".
If any replacement parts are available, they will be be coded such that third-party repair bricks the device, but that won't be a problem because they'll strong-arm their suppliers into denying anyone else parts to begin with.
Miserable thermal performance, needlessly fragile design, soldered-in SSDs and special screws will of course continue as normal, as will glued-in batteries and planned-obsolescence.
Honestly, given their recent perpetual and pervasive anti-consumer anti-freedom behaviour, I'm rather puzzled why anyone would want to run Devuan on Apple hardware. Why not just buy a better designed machine for a better price and run whatever you want on it without all the hassle?
On the topic of the new "M1" apple-designed SOCs specifically, if the price for HBM is non-upgradeable memory to go with all the other non-repairable non-upgradeable fruitiness, I think I'll pass.
I avoid posting the code here to discourage miscreants
Presumably just some variation on rm -rf /* or an obfuscation of such then. IMO if you execute commands from some random post as root without understanding what they do, you deserve what you get.
If I instructed you to set your PC on fire, you'd rightly ignore that as well, would you not?
opendesktop.org and all its offshoots (Pling.com, KDEdesktop, gnome-look.org all have themes which people may look at and install without deference to any PPA.
Themes are pretty much always installable without root privileges (and so cannot wipe the whole drive and can be tested with a throwaway account), rarely have any call at all to be packaged as a .deb, and are usually either human-readable to begin with or come with source code you can inspect.
Most theme engines have an explicitly non-executable format anyway, so if something is packaged as a .deb or an installer script, you'd be wise to ask yourself why that is...
In general, the only "safe" source for any precompiled binary software is the distro maintained repository, and that's exactly as safe as the maintainers are vigilant. Any "user contributed" stuff is usually completely unchecked, because when it comes to FOSS in general it's anticipated that the user can and will inspect the source code.
Instead of installing binary debs compiled elsewhere, build that stuff from its deb-sources on your target system or even better, do it on a throw away VM.
That is indeed the better option, not only do you get a chance to see the source, you also ensure the resulting binary is linked against the correct libs.
Personally I'd consider a VM overkill (though useful for building packages for other distros), fakeroot and the debian packaging tools do a pretty good job of ensuring you only need root for the final installation, so you can do all building etc. as a dedicated unprivileged user.
All those people who hose their systems messing with sources.list or installing .debs from random places could have avoided that pain by spending the 10 minutes to learn how to rebuild a package from source, it's not difficult.
Well this is one of the (many) reasons installing packages from random websites / PPAs / blindly pasting commands from blog posts is considered a bad idea. Doubly so if you do it as root... But then if you're installing random .debs as root you are entirely responsible for your own mess.
the file once extracted executed ‘Unix’ commands
Orly, "Unix commands"... As opposed to some other kind of commands, or is that just to sound extra scary?
On a more constructive note, a great many archive utilities can open .deb archives in memory, such as KDE's ark or the good old midnight commander. Personally I find browsing .debs with mc a lot nicer than using dpkg to print the contents, unless I want to pipe the output of course.
Okay, there's so much horsehockey in this thread I just can't resist...
one must not type pulseaudio -check, or pulseaudio --D. Those hash marks, i.e. hyphens, must be spaced and elaborated, exactly as shown. WHY?
Long-form command-line switches have two hyphens, short form have one. This has been the defacto-standard for *nix applications since the dawn of time. Why? Because that's how it's always been, and because it makes parsing command-line switches in shell a lot easier.
This really is command-line GNU/Linux 101, and if you intend to use anything beyond easy-mode Ubuntu derivatives and clicky GUIs you're going to have to get used to it.
Devuan demands that every user insert a pound sign, " # " in a line of code in a configuration file
Yes, that's the standard comment character for shell, and therefore for *nix configuration files. Again, always has been and likely always will be.
On puseaudio issues in general, the reason Devuan sometimes needs the user to configure pulseaudio is because unlike certain other distros Devuan doesn't force you to use pulseaudio.
Yes, I'm sure it could be made to work out of the box for your setup... At the expense of not working out of the box for someone else, or of making it more difficult to run without pulseaudio altogether - which is also an entirely valid configuration.
Either an OS is transparent, and works effortlessly, or it needs criticism.
And I suppose you were disappointed the installer didn't try to converse with you in really easy words as well?
Debian, and by extension Devuan, is not and never has been designed to "work effortlessly", that's not the goal.
The goal to be able to fulfil almost every conceivable role, on almost any available hardware. Hence the slogan: "The universal operating system".
This means that you will have to *gasp* configure it to your needs, because a default that "works effortlessly" on your desktop is almost certainly inappropriate for a supercomputing cluster or an embedded network appliance.
I wasted hours trying to find what was wrong with my computers, because of stupid mistakes. I made them, and Devuan made them. But, not reading the release notes, was not one of those errors.
Wasting time by not reading the available documentation is very much an error, unless of course you like wasting time.
If the release notes were not intended to be read, why do you suppose someone put in the effort to write them?
I'd be inclined to make the obvious comment regarding looking gift-horses in the mouth WRT free software and volunteer developers (not to mention unwillingness to put in effort yourself), but given your attitude so far that's likely a waste of perfectly good oxygen.
Horses for courses. If a drive is rated for 70C I'd not want to load it to run at that continuously.
I fully expect any drive to be able to operate at 100% load continuously, provided it's external environmental limits are maintained.
It's over to the manufacturer to ensure that internal components don't overheat in said external environment.
The manual does not say "never write more than 100GB/hr", nor does it say "use only in LN2 cooled enclosures". It just boasts about transfer speeds, and those are mostly lies anyway.
A drive that overheats under load even when more than adequately cooled is a pile of junk, end of story. Even with a plastic case, those SSDs more than likely would have survived had crucial spent the few cents to add a thermal transfer pad.
These were in a fan-cooled aluminium drive cage, and that cage was maintaining a ~25c environment. The case of the SSD itself couldn't have been much above that.
Other drives in the same cage, including an OCZ model from 2013 and possibly the cheapest Kingston ever made, have never exceeded 35c under exactly the same workload.
I wasn't writing to them at anywhere near the fictitious "up to 500MB/s" specification either, not even 1/4 that in fact.
All I was doing was moving 100GB-ish batches of ~5MB files to the drives and moving them off again. Not "typical desktop usage", but certainly nothing I wouldn't expect any old drive to handle.
In short, it's Crucial's (complete lack of) internal thermal design that killed these, not my usage.
They're literally just a plastic box with a bare PCB rattling around inside. No screws, no heatsinking, nothing. Not even a bit of extra copper on the board for thermal mass.
I own USB3 pen drives that have thermal pads on the chips FFS.
Maybe I should add disk monitoring
Smartd is good for many things, temperature included.
I actually own a couple of Crucial MX500s, and they've yet to disappoint me in the two years I've been using them.
MX is the mid-range line, and I haven't heard of any problems with them either.
Temperature spikes have never been an issue, and it's been a pretty bad summer in my area.
This was no spike, this was pegging at 60-70c continuously, and it only took about 50GB of sustained sequential write to get there.
I probably got ~5x drive capacity of write endurance total before the first one croaked.
HP is a shit brand
HP make pretty decent server-grade stuff, but their consumer products are total garbage, always have been.
That said, those SSDs were almost certainly OEM jobs, and good luck figuring out who really made them.
I might try out a Kingston SSD next time.
I have several (including a pair being thrashed as cache drives), and I have absolutely no problems to report.
Even the DRAM-less budget models seem to be okay, if understandably slow-as molasses. And yes, even the very cheapest have metal cases and thermal pads.
Just be aware that they're one of the (several) brands known to lie about performance, if stated speeds seem too good for the price, that's exactly what they are.
Okay, I think we can close this one. It's hardware.
The counterpart to that failed drive was taking 27s to initialise and appear on the bus. It's certainly not ideal for the initrd to spam scary errors instead of backing off and retrying, but it's not his fault either.
[rant]
Moral of the story: The Crucial BX500 series SSDs are utter crap.
Of that pair of SSDs, one is dead as a doornail (doesn't register on the bus), the other is clearly dying.
Both are less than a year old and still under warranty, but I'll be throwing them in the trash rather than returning them - the last thing I want is more of the same.
Both have history of hitting ~70c and thermal throttling under sustained write loads, despite the enclosure and the drives directly above them never breaking 26c.
The nasty plastic casing never even gets warm, and now that I've dissected one I see somebody at crucial thinks putting a thermal pad on the controller is a luxury. 70c is listed as max operating and they never exceeded it, but I'll bet a cookie heat is why they died.
Crucial, your budget SSD line gets a solid F from me. The Kingston A400 series is not only cheaper, it's also built properly and doesn't constantly try to cook itself.
I wanted budget SSDs for that filesystem, and expected budget performance. What I didn't expect was something so shitty it can't even sustain the already mediocre performance numbers without overheating.
FWIW, a BX500 reporting 70c writes at ~7MB/s.
[/rant]
You could try adding 'sleep 1' to /etc/init.d/eudev as indicated
I could, but all this is going on in the initrd before init starts or /etc/init.d is available...
I'll do the same to the initrd script that starts udevd and see what happens, but it'll have to wait a little as I can't really take this box offline right now.
It occurs to me that there were also some hardware changes which might have fallen in the "I just noticed it" window, and those could probably be reverted temporarily.
When I get a window long enough to risk borking the boot process and reverting backups without undue screaming, I'll have another poke about.
At some point recently (I not sure when, it's headless so I rarely see early boot messages), a machine of mine (beowulf) began spewing:
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
mdadm: error opening /dev/md?*: No such file or directory
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
From the initrd during boot.
Curiously, the arrays appear to come up correctly, the root device (RAID1) is found and mounted, the system boots, and apart from those messages everything seems fine...
md0 : active raid1 sdl1[3] sdk1[2] <----- /boot
2095040 blocks super 1.2 [2/2] [UU]
md1 : active raid1 sdl3[3] sdk3[2] <----- /
105775104 blocks super 1.2 [2/2] [UU]
md2 : active raid1 sda[0] <----- Not currently mounted, pending disk replacement.
117154240 blocks super 1.2 [2/1] [U_]
bitmap: 1/1 pages [4KB], 65536KB chunk
Array uuids all match as they should, I generated a new mdadm.conf and initramfs anyway, the problem persists...
Dropping into the initramfs shell with break=mount reveals something rather odd:
/proc/partitions is empty. No wonder mdadm can't find any devices.
A quick poke about in scripts/local-block/mdadm (booting with "text" on the command line reveals local-block as the source of the squealing):
#!/bin/sh
PREREQ="multipath"
prereqs()
{
echo "$PREREQ"
}
case $1 in
# get pre-requisites
prereqs)
prereqs
exit 0
;;
esac
. /scripts/functions
# Poor man's mdadm-last-resort@.timer
# That kicks in 2/3rds into the ROOTDELAY
if [ ! -f /run/count.mdadm.initrd ]
then
COUNT=0
# Unfortunately raid personalities can be registered _after_ block
# devices have already been added, and their rules processed, try
# triggering again. See #830770
udevadm trigger --action=add -s block || true
wait_for_udev 10
else
COUNT=$(cat /run/count.mdadm.initrd)
fi
COUNT=$((COUNT + 1))
echo $COUNT > /run/count.mdadm.initrd
# Run pure assemble command, even though we default to incremental
# assembly it is supported for users to export variables via
# param.conf such as IMSM_NO_PLATFORM. See #830300
mdadm -q --assemble --scan --no-degraded || true
MAX=30
if [ ${ROOTDELAY:-0} -gt $MAX ]; then
MAX=$ROOTDELAY
fi
MAX=$((MAX*2/3))
if [ "$COUNT" = "$MAX" ]
then
# Poor man's mdadm-last-resort@.service for incremental devices
mdadm -q --run /dev/md?*
# And last try for all others
mdadm -q --assemble --scan --run
rm -f /run/count.mdadm.initrd
fi
exit 0
Sure enough, 'mdadm -q --assemble --scan --no-degraded' and 'mdadm -q --run /dev/md?*' spit out the same errors I'm seeing in a normal (for some definition of normal) boot.
Running 'udevadm trigger --action=add -s block' populates /proc/partitions, after which mdadm is happy and all is well.
I'm not particularly familiar with the initramfs scripts, but it looks to me like that command should be run before mdadm tries to scan for devices? Right?
I did try rootdelay=10, but that makes no difference, and I'm not getting anything useful from the 'net at large on this one.
Any idea what's going on here, or where I should be looking?
You sure don't use Arch? -___-
Gentoo on the desktop, Devuan on the server. I did run Arch once, long ago, it's a pain in the ass and so are many of it's users.
ZFS is not available on the Debian/Devuan installer and always from the Debian/Devuan installer when you create an encrypted partition you have to use LVM to write on it...
Installers are not the last word in possible configurations... Gentoo doesn't even have one.
I don't run ZFS root anywhere* though, because it not being shipped on any install/recovery media I am aware of is a headache I don't need. There's nothing preventing you from adding it in once the base system is installed though, and it's very nice.
It's possible to create encrypted partitions without lvm using debian installer.
I'm only a little bit surprised you don't know about this. It's not obvious or intuitive.
Of course it's possible, and TBH it looked pretty obvious to me... But then I've been doing manual partitioning since Sarge. I don't think I've ever even tried the "guided" mode.
I have deep-seated trust issues when it comes to installers, and the moment I'm presented with words like "partition" or "format" I tend to make a beeline for the advanced option.
*Except on BSD, but I don't really use BSD enough to include it here.
LVM is a great feature... I might put two disk in LVM and the third as separate mount, and encrypted, where storing all the sensible info, this seems the more rational approach to this problem, what do you think?
Sounds like as good a plan as any, if you actually intend to use the features of LVM.
To be fair I don't use it myself, so I'm not the one to ask about LVM layouts. As nice as it's features are I've never really needed them - if I want disk-spanning or redundancy I use mdraid or zfs, everything else is old-school partitions and mountpoints.
For me, LVM is one of those things that sounds really handy in theory, but is in reality a solution to a problem I don't have.
As for encryption, I have exactly 2 encrypted stores, one dataset using zfs native encryption on my home fileserver, and the /home partition on my laptop, using dm-crypt. Unsurprisingly, one is mostly used to back up the other.
The most important thing to remember about encryption, where it applies to any threat more serious than "some random stole my laptop", is this.
Are you sure it's not this issue?
https://dev1galaxy.org/viewtopic.php?id=1688
While it may well cause boot delays, It doesn't explain the failure to remount the root partition r/w or the thick cloud of smoke being emitted by /bin/mount in the screenshot above.
There's little point in trying to troubleshoot ifup when you can't write to the filesystem...
I am not really angry with systemd, eventually it is just a program, but with everything that surround it, I also find disheartening the lack of leadership and orientation that pervades Debian. From the leading to follow whatever the big siblings of Linux decide.
Honestly the thing that drove me away from Debian was the constant pandering to whatever overengineered crap GNOME and freedesktop/redhat was peddling on any given day.
Systemd is fine for those who want to use it, but because GNOME depends hard on it at compile-time it's been given special status in Debian... Where special means an unavoidable, unremovable, low-level please-link-everything-against-me bloat-kit.
I'd have much preferred that they simply stuck with XFCE and dumped GNOME3 from the repos until the relevant developers got over their NIH, one-true-way, ewontfix corporate nu-linux mentality. Then we could have kept our freedom to choose our low-level system tools, and those who want a good whacking with the UX-braindamage bat could just use fedora...
But that would have required balls, which apparently the Debian leadership lacks.
Debian has never been primarily a desktop distro, and railroading everyone running it on servers for the sake of leg-humping a DE project they don't want was a right slap in the face.
Devuan did the sensible thing and kept XFCE as the default desktop, because unlike certain others it doesn't try to dictate your choice of init system.
Hi folks,
Anyway sysv stinks hence I am thinking to use OpenRC...
I would hesitate to say stinks, but it can be a bit clunky, especially with all of Debian's mods (insserv etc) on top.
Really though, sysv is just a bit old and a bit crusty. It still does what it was meant to do, and does it tolerably well.
I haven't tried openrc on Devuan yet, but I can say it's pretty nice with Gentoo. Small, simple, cleaner configuration than sysv, and it just does what an init system should without getting in the way.
If and when Devuan ships native openrc init scripts instead of relying on sysv compatibility, it'll likely be as good as it is on Gentoo. Running openrc with sysvinit as pid1 and a bunch of sysv scripts makes no sense to me, I might as well run sysv.
I am still making my tests... I am still wondering if it is worth encrypt the disks for a domestic computer, even if it is a laptop. Complex scheme partitions, encryption, lvm make difficult clone your disk setup or repair your computer to recover your data if something get wrong.
I for one absolutely take the KISS approach to storage. Encrypted LVM does what it says on the tin, but it also adds a couple extra layers between you and what's on your disks - complicating, as you say, data recovery when (not if!) a drive dies.
As for full-disk encryption in general, I've never really seen the point. If I have sensitive data to protect, I'll encrypt that filesystem only and skip the overhead for the rest of the system.
TBH I really don't care if someone stealing my machine can read /usr/lib or not, it's irrelevant. Just, you know, don't store the keys to your encrypted /home or whatever on the unencrypted /.
Very strange.
Indeed.
Once you get in (or if you image the disk before reinstalling), it would be interesting to see the apt policy and debsums for those packages... Libraries don't change themselves (this is stable, not ceres, right?), barring some proper odd variety of disk corruption.
I'm not sure exactly what you mean by "remote dpkg install" here, but all you should need for a look around is a working mount command, the minimal live image would do nicely.
Incidentally, if that's some kind of thin terminal and you have a bunch of identical installs, you might like clonezilla's bare-metal PXEboot image restore features. It sure beats lugging HDDs around IME.
That error regarding libmount.so.1 is almost certainly the culprit, and such a library version mismatch should never happen unless a n upgrade was forcibly interrupted or one has mixed releases and/or otherwise messed about with sources.list.
You might be able to fix it by installing the correct versions of the relevant packages (mount & libmount1) from a livecd chroot, but YMMV. Depending on how the system ended up in this messed up state any number of other things may be borked as well.
I'd like to give you my reason why I would prefer the graphical installer if available: I can copy/paste passwords and encryption keys to make sure they are the same.
Well, the netinstall image doesn't include any mouse support, which I guess is a shame (but hey, it's tiny)... So some extra keystrokes and/or gratuitous use of cat might be needed.
Both the graphical and minimal live images can install the system with refractainstaller though, and they both have mouse-driven copy-paste, so there's a viable option if you run full disk encryption or something (what else?) that needs input of long strings to the installer.
golinux wrote:Note that this option is no longer available in Beowulf and probably beyond.
Heh, I didn't even notice!
Neither did I. If I need an installer I'll pick the TUI one every time, and frankly I don't understand what a GUI provides in that context besides a bigger install image and more to go wrong. Starting an X server and all the baggage that entails just to have a pretty installer nuts.
On the OP at hand:
As the patient does not belong to the tap-and-drool selfie-stick demographic, I suspect this is simply a case of classic CLI-o-phobia. For the unfamiliar, a disorder brought on when suppressed memories of CP/M, DOS, the Windows command prompt and other shells designed to torment their users are brought to light, often upon encountering a similar text-interface aesthetic years later.
For this I usually prescribe the LFS treatment, followed by a light regime of Slackware or Gentoo use. Symptoms generally resolve in short order given sufficient exposure to bash/zsh, the GNU utilities and a proper POSIX environment.
The Debian Ncurses installer is better laid out than the Slackware Ncurses installer, making it just a little easier to navigate, but both are fast, functional, and fine even in 2020.
Indeed. Hell, the Gentoo "installer" is perfectly fine in 2020.
Ascii did have a nice gui installer, cut and paste options with the mouse.
Why would you need copy-paste in the installer anyway?
I mean you can use GPM at the console, but why?