Look for /var/lib/pacman/local/${pkgname}-${pkgver}-${pkgrel}/desc files that don't contain the string %REASON%. For packages installed as dependencies, the desc file will contain the string %REASON%\n1 while packages explicitly installed will omit the %REASON% field.
That's all doable with Docker, it just takes fiddling. Based on your requirements, here are some bits from my script for running GUIs in an Arch container on a PureOS host; some things may need to be tweaked for your setup:
baseline
#!/bin/bash
args=(docker run --rm -it)
args+=(--privileged)
real-time performances: Docker isn't a VM, there's no perf-hit to Docker (on Linux anyway, Docker on other platforms works by just running Docker on a Linux VM). But, if it can't see the GPU, that could be a hit...
# GPU
args+=(
--volume=/dev/dri:/dev/dri
)
# Also, I had to make sure that the user in the Docker image is a member of the 'video' group
There's a sizable chunk of Arch Linux devtools tooling that is built around SVN that'd have to be rewritten for Git.
Git isn't great for the use-case where there are a bunch of sub-projects where you might only want to check out a few. They could do as the AUR does and have a 1 pkgbase = 1 branch/repo, but that'd be a substantial change to the way that some things get worked on (developers would need to re-learn things), but that has its own drawbacks.
Most of their own code (pacman, netctl...) is in their own Git repos, but for the PKGBUILDs they use SVN; there's a read-only svntogit mirror that you can get using Git; but there's no way of an outsider directly submitting a change to SVN.
In the case of pacman-mirrorlist, they don't update it manually, but instead update it by running the upgpkg program (is this still the most recent version?) which looks at the upgpkg config file that lives alongside the PKGBUILD and the PKGBUILD itself to automatically re-generate the mirrorlist file from the ArchWeb / archlinux.org HTTP API, which is exposing the data configured from a Django-based admin web interface.
(upgpkg isn't a "standard" part of the Arch Linux devtools, but is the personal project of one of the devs, and he uses it for packages that he is the maintainer of, which includes pacman-mirrorlist. Some history at https://labs.parabola.nu/issues/1309)
I know a lot of people do this (and I think a bunch of other distros even do it by default?), but I'm not a fan because it ends up training people to always use -f because the prompt all the time is annoying.
Edit: I'm wrong, /u/RAZR_96 is right. My apologies.
Fundamentally, swap files have to go through the filesystem layer, where swap partitions don't. That's overhead and complexity right there. Because swap files actually do need to get swapped to disk "now" instead of being allowed to sit around in a cache/buffer, there's a lot of complexity with interactions with the filesystem cache/buffer, that don't exist when going through block-level abstractions like LVM or dmcrypt.
This complexity is enough that btrfs just says "nope, we won't support swap files" (you can still use swap files on btrfs if you set up a loopback device for the file, but that means you can't use it for things like hibernate).
I have servers configured to create swap files dynamically if they run out of RAM+swap (using https://aur.archlinux.org/packages/systemd-swap-git/). Eating the disk is better than having an OOM-killer caused outage.
On my laptop I'll temporarily create a swap file for running jobs that use more memory than I usually need. (For instance, in the last week I had a one-time batch job I needed to run that accidentally used a data-structure that used O(n!) space. It would have taken longer than it was worth to adjust the datastructure, so I just threw some more disk space as swap at it.)
To clarify, since OP said they're using netctl's wifi-menu: netctl can work with either dhcpcd or dhclient, and will automatically select whichever is installed.
The log entry for the famous moth in the Harvard Mark II read "First actual case of bug being found". You don't write that unless "bug" is already a common piece of jargon. Use of the word "bugs" to refer to faults in engineering is attested for more than a century prior.
That's the default VGA font embedded into the ROM on your graphics card; in your case (since it looks like that screenshot is from the QEMU emulator) that hardware is actually QEMU, and the font is the unnamed font defined in vgafont.h.
After the Linux kernel is loaded, by default in most hardware configurations, you're looking at a font defined as part of the Linux kernel, not the font stored in the graphics card ROM. With the settings Arch Linux compiles the kernel with, it will be a font named "VGA8x16" that happens to be identical to QEMU's vgafont.h.
I suspect that in both cases it was ripped from the ROM of an actual specific piece of hardware, but so far, I haven't tracked the history of it beyond that it predates Linux using git. [edit: I've been trying to track it down, here's my journey:]
It seems that it was introduced to mainline Linux as arch/m68k/console/font_8x16.c in Linux 1.3.94 (April 22, 1996), but I can't track down the patch or the release notes)
Before that, it was in the modified Linux/m68k kernel. The earliest I've found so far was atari/font_8x16.c in Linux/m68k 0.9. The file is timestamped June 29, 1994. It was not in Linux/m68k 0.06. I've been unable to track down any 0.07 or 0.08 releases or any mailing-list posts from that timeframe. I found the release notes, but they've been unhelpful.
Actually, looking closer at the release notes, it seems that Linux/m68k 0.9 was the first Linux/m68k to include any code for Atari, and imported that code from "Atari Linux version 0.3", so that's the next place I have to look.
I found Atari Linux 0.01pl2 (April 30, 1994); it is based on Linux/m68k 0.07 and 0.08 (its read.me refers to Linux/m68k as "Amiga Linux", which makes sense; prior to merging Atari Linux in 0.9-0.9pl3 it Linux/m68k only supported the Amiga). It does not yet include the VGA8x16 font.
And also Atari Linux 0.01pl3 (no clear release date; newest timestamp in the file is June 19, 1994. Because of the the close timestamps, I think this is what the Linux/m68k 0.9 announcement referred to as "version 0.3"). It does include the font. So the font's first appearance in Linux was in Atari Linux 0.01pl3. Looking at the names in files, I'm guessing it was added by Roman Hodek.
Zeroing an SSD will be ineffective because of wear leveling. Instead, you need to use the ATA security extension's SECURITY ERASE UNIT command, which you can send with the hdparm command.
You should NOT use blkdiscard, which asks the drive to discard the data, but does NOT ask for the data to be securely erased. You need to send the you need to use the ATA security extension's SECURITY ERASE UNIT command, which you can send with the hdparm command. See https://ata.wiki.kernel.org/index.php/ATA_Secure_Erase for more information.
While we're at it: -n 1 is perfectly adequate for shred on a raw block device; no need for -n 2. (See my other comment in this thread for citations).
While theoretically possible to recover data after a random overwrite:
It's only theoretical (Gutmann 1996), and has never actually been successfully done (that we know of; though if the government has that capability, they'd likely keep quiet about it).
The theory relies on the write head not being exactly lined up with the bit's area on the platter. There are way more bits per drive than there were in 1996, meaning each bit has a smaller area, reducing the possibility of misalignment. The theory gets harder as drives get bigger.
The Gutmann's 1996 recommendation of 35-overwrites is quite specifically based on MFM/RLL disks, which are no longer used. On modern PRML/EPRML drives, a "few passes of random scrubbing" is plenty; people still applying his 35-writes recommendation are doing closer to "voodoo" than anything based in fact (Gutmann, later commentary on his 1996 paper).
Nobody (USA's DoD, NIST, Germany's BSI, Canada's CSE, Austrailia, New Zealand's GCSB, Britain's CESG) has recommended >3 overwrites since 2000 (remember, the theoretical ability gets harder has drives get bigger).
Nobody has recommended >1 overwrite since 2010 (remember, the theoretical ability gets harder has drives get bigger).
NIST SP-800-88.
That said, if you're really concerned: trust no amount of wiping. NSA/CSS say to just physically destroy the drive. NIST says that if you're concerned after 1 pass of overwriting, use an external degausing device to wipe it, and if you're still concerned, physically destroy the drive.
All of the above is for HDD's, SSD's are a totally different story.
SSD's do a thing where they shuffle data around between different blocks; when you "overwrite" a block, the flash controller will probably store the new data on a different physical block, and put the "overwritten" data block aside, not even overwriting it.
Instead, you need to use the ATA security extensions's SECURITY ERASE UNIT command, which you can send with the hdparm command.
Look for
/var/lib/pacman/local/${pkgname}-${pkgver}-${pkgrel}/descfiles that don't contain the string%REASON%. For packages installed as dependencies, thedescfile will contain the string%REASON%\n1while packages explicitly installed will omit the%REASON%field.The directory listing for
/var/lib/pacman/local/is the canonical list of installed packages.The only "look what I just bought" posts I don't mind are rare/unique hardware.
I don't see no "[1]" citation.
That change comes from some anonymous IP in 2015, and had no citation. https://en.wikipedia.org/w/index.php?title=Top_(software)&diff=prev&oldid=663144855
Here's a 1997 citation for "top cpu processes." It's not as close to the original 1984 release as I would like, but it's better than Wikipedia. https://github.com/dspinellis/unix-history-repo/commit/aee34003d7964653c44c31f5bf6bcf136b32c4f3
I'm open to being wrong, please show me anywhere that William LeFebvre has written the phrase "table of processes" rather than "top cpu processes".
/r/confidentlyincorrect
It's also OK to leave plates out on the counter instead of in your cabinets, as long as you remember that's where you put them.
That's all doable with Docker, it just takes fiddling. Based on your requirements, here are some bits from my script for running GUIs in an Arch container on a PureOS host; some things may need to be tweaked for your setup:
baseline
ui
pipewire: OK, I was actually using pulse, but:
real-time performances: Docker isn't a VM, there's no perf-hit to Docker (on Linux anyway, Docker on other platforms works by just running Docker on a Linux VM). But, if it can't see the GPU, that could be a hit...
conclusion
Most of their own code (pacman, netctl...) is in their own Git repos, but for the PKGBUILDs they use SVN; there's a read-only svntogit mirror that you can get using Git; but there's no way of an outsider directly submitting a change to SVN.
In the case of
pacman-mirrorlist, they don't update it manually, but instead update it by running theupgpkgprogram (is this still the most recent version?) which looks at theupgpkgconfig file that lives alongside the PKGBUILD and the PKGBUILD itself to automatically re-generate the mirrorlist file from the ArchWeb / archlinux.org HTTP API, which is exposing the data configured from a Django-based admin web interface.(
upgpkgisn't a "standard" part of the Arch Linux devtools, but is the personal project of one of the devs, and he uses it for packages that he is the maintainer of, which includespacman-mirrorlist. Some history at https://labs.parabola.nu/issues/1309)It sounds like Guix is what you want. Guix is pretty much Nix modified to use Guile as the configuration language.
I know a lot of people do this (and I think a bunch of other distros even do it by default?), but I'm not a fan because it ends up training people to always use
-fbecause the prompt all the time is annoying.Hey, 5.0 isn't "quite some..."--holy cow, 5.0 was 2 whole years ago.
Edit: I'm wrong, /u/RAZR_96 is right. My apologies.
Fundamentally, swap files have to go through the filesystem layer, where swap partitions don't. That's overhead and complexity right there. Because swap files actually do need to get swapped to disk "now" instead of being allowed to sit around in a cache/buffer, there's a lot of complexity with interactions with the filesystem cache/buffer, that don't exist when going through block-level abstractions like LVM or dmcrypt.
This complexity is enough that btrfs just says "nope, we won't support swap files" (you can still use swap files on btrfs if you set up a loopback device for the file, but that means you can't use it for things like hibernate).
I have servers configured to create swap files dynamically if they run out of RAM+swap (using https://aur.archlinux.org/packages/systemd-swap-git/). Eating the disk is better than having an OOM-killer caused outage.
On my laptop I'll temporarily create a swap file for running jobs that use more memory than I usually need. (For instance, in the last week I had a one-time batch job I needed to run that accidentally used a data-structure that used O(n!) space. It would have taken longer than it was worth to adjust the datastructure, so I just threw some more disk space as swap at it.)
I think honey badgers are Luca Brasi in this scenario,
To clarify, since OP said they're using
netctl'swifi-menu:netctlcan work with eitherdhcpcdordhclient, and will automatically select whichever is installed.The log entry for the famous moth in the Harvard Mark II read "First actual case of bug being found". You don't write that unless "bug" is already a common piece of jargon. Use of the word "bugs" to refer to faults in engineering is attested for more than a century prior.
https://www.computerworld.com/article/2515435/moth-in-the-machine--debugging-the-origins-of--bug-.html
Ding ding ding! Looks like this was to rebuild against the newer aom.
(nit: dependency, not dependent; a dependent package would be a package that depends on ffmpeg, not the other way around)
Note that this is not an AUR package, it's the official
extra/ffmpeg--there's no.SRCINFOgetting checked in.It looks like the pkgrel bump is to rebuild against the newer aom.
vgafont.h.vgafont.h.arch/m68k/console/font_8x16.cin Linux 1.3.94 (April 22, 1996), but I can't track down the patch or the release notes)atari/font_8x16.cin Linux/m68k 0.9. The file is timestamped June 29, 1994. It was not in Linux/m68k 0.06. I've been unable to track down any 0.07 or 0.08 releases or any mailing-list posts from that timeframe. I found the release notes, but they've been unhelpful.read.merefers to Linux/m68k as "Amiga Linux", which makes sense; prior to merging Atari Linux in 0.9-0.9pl3 it Linux/m68k only supported the Amiga). It does not yet include the VGA8x16 font.I would recommend
/dev/urandominstead of/dev/zero. (And tunebs=to not be horribly slow.)Zeroing an SSD will be ineffective because of wear leveling. Instead, you need to use the ATA security extension's SECURITY ERASE UNIT command, which you can send with the
hdparmcommand.You should NOT use
blkdiscard, which asks the drive to discard the data, but does NOT ask for the data to be securely erased. You need to send the you need to use the ATA security extension's SECURITY ERASE UNIT command, which you can send with thehdparmcommand. See https://ata.wiki.kernel.org/index.php/ATA_Secure_Erase for more information.While we're at it:
-n 1is perfectly adequate forshredon a raw block device; no need for-n 2. (See my other comment in this thread for citations).Copy/pasting older posts of mine:
While theoretically possible to recover data after a random overwrite:
That said, if you're really concerned: trust no amount of wiping. NSA/CSS say to just physically destroy the drive. NIST says that if you're concerned after 1 pass of overwriting, use an external degausing device to wipe it, and if you're still concerned, physically destroy the drive.
All of the above is for HDD's, SSD's are a totally different story.
SSD's do a thing where they shuffle data around between different blocks; when you "overwrite" a block, the flash controller will probably store the new data on a different physical block, and put the "overwritten" data block aside, not even overwriting it.
Instead, you need to use the ATA security extensions's SECURITY ERASE UNIT command, which you can send with the
hdparmcommand.