Adélie Linux issueshttps://git.adelielinux.org/groups/adelie/-/issues2023-11-02T15:54:31Zhttps://git.adelielinux.org/adelie/spack/-/issues/7bootstrap: !(x86_64 || aarch64) UnknownPackageError: Package 'spack.pkg.built...2023-11-02T15:54:31ZZach van Rijnbootstrap: !(x86_64 || aarch64) UnknownPackageError: Package 'spack.pkg.builtin.zlib-api' not found.Found on S822L (ppc64):
```
...
==> Installing gmake-4.4.1-xsi7wftl4nwnrbcjhmo5kol4lz5mcgek [1/2]
==> No binary for gmake-4.4.1-xsi7wftl4nwnrbcjhmo5kol4lz5mcgek found: installing from source
==> Fetching https://mirror.spack.io/_source-...Found on S822L (ppc64):
```
...
==> Installing gmake-4.4.1-xsi7wftl4nwnrbcjhmo5kol4lz5mcgek [1/2]
==> No binary for gmake-4.4.1-xsi7wftl4nwnrbcjhmo5kol4lz5mcgek found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/dd/dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3.tar.gz
==> No patches needed for gmake
==> gmake: Executing phase: 'install'
==> gmake: Successfully installed gmake-4.4.1-xsi7wftl4nwnrbcjhmo5kol4lz5mcgek
Stage: 0.17s. Install: 3.83s. Post-install: 0.04s. Total: 4.06s
[+] /usr/src/packages/user/spack/src/spack-adelie-v0.20.3_p1/tmp/bootstrap/store/linux-adelie1-ppc64/gcc-8.5.0/gmake-4.4.1-xsi7wftl4nwnrbcjhmo5kol4lz5mcgek
==> Installing patchelf-0.13.1-uixxy6ql3ev35xmsabj6isxtybzab5e6 [2/2]
==> No binary for patchelf-0.13.1-uixxy6ql3ev35xmsabj6isxtybzab5e6 found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/08/08c0237e89be74d61ddf8f6ff218439cdd62af572d568fb38913b53e222831de.tar.gz
==> No patches needed for patchelf
==> patchelf: Executing phase: 'autoreconf'
==> patchelf: Executing phase: 'configure'
==> patchelf: Executing phase: 'build'
==> patchelf: Executing phase: 'install'
==> patchelf: Successfully installed patchelf-0.13.1-uixxy6ql3ev35xmsabj6isxtybzab5e6
Stage: 0.11s. Autoreconf: 0.00s. Configure: 1.18s. Build: 0.09s. Install: 0.04s. Post-install: 0.05s. Total: 1.51s
[+] /usr/src/packages/user/spack/src/spack-adelie-v0.20.3_p1/tmp/bootstrap/store/linux-adelie1-ppc64/gcc-8.5.0/patchelf-0.13.1-uixxy6ql3ev35xmsabj6isxtybzab5e6
==> Error: cannot bootstrap the "clingo" Python module from spec "clingo-bootstrap@spack+python %gcc target=ppc64" due to the following failures:
spack-install raised UnknownPackageError: Package 'spack.pkg.builtin.zlib-api' not found.
You may need to run 'spack clean -m'.
Run `spack --debug ...` for more detailed errors
>>> ERROR: spack: check failed
```
Passes on x86_64 and aarch64.
See also:
* https://github.com/spack/spack/commit/e51748ee8f89e0d3db4e426e3d04157129a45622https://git.adelielinux.org/adelie/packages/-/issues/1105[meta] cannot change display resolution2023-12-06T23:55:02ZZach van Rijn[meta] cannot change display resolutionFound on x86_64 KDE (`20231027` but has existed earlier), no settings for display resolution:
![Screenshot_adelie_2023-11-01_08_35_14](/uploads/0ae5a83240f7dafe4634e4f61b33bdf1/Screenshot_adelie_2023-11-01_08_35_14.png)
Seems to only a...Found on x86_64 KDE (`20231027` but has existed earlier), no settings for display resolution:
![Screenshot_adelie_2023-11-01_08_35_14](/uploads/0ae5a83240f7dafe4634e4f61b33bdf1/Screenshot_adelie_2023-11-01_08_35_14.png)
Seems to only affect KDE.https://git.adelielinux.org/adelie/packages/-/issues/1104user/libebml: CVE-2021-3405: heap overflow bug in libebml before 1.4.22023-12-08T02:51:21ZLeigh Arberuser/libebml: CVE-2021-3405: heap overflow bug in libebml before 1.4.2CVE-2021-3405: In libebml before 1.4.2, a heap overflow bug exists in the implementation of EbmlString::ReadData and EbmlUnicodeString::ReadData.CVE-2021-3405: In libebml before 1.4.2, a heap overflow bug exists in the implementation of EbmlString::ReadData and EbmlUnicodeString::ReadData.https://git.adelielinux.org/adelie/packages/-/issues/1103[meta] system-wide branding2023-12-19T23:12:02ZZach van Rijn[meta] system-wide brandingThis meta-issue tracks system-wide branding tasks. Scope includes:
1. Replace old Tux logo with new Polyguin logo (custom sizes/formats/coloring are added [here](https://git.adelielinux.org/adelie/site-ng/-/blob/master/assets/images/pol...This meta-issue tracks system-wide branding tasks. Scope includes:
1. Replace old Tux logo with new Polyguin logo (custom sizes/formats/coloring are added [here](https://git.adelielinux.org/adelie/site-ng/-/blob/master/assets/images/polyguin.sh), available for download [here](https://www.adelielinux.org/assets/images/)) where applicable
2. Replace old red (`#800000` or similar) color with dark gray from website theme (`#131517`) where applicable
3. Identify other branding/color needs, make adjustments, and test that there are no conflicts/issues due to poor color contrast with other components or elements
This list is not exhaustive, and is intended to be updated as we discover changes to be made:
- [x] boot-time logos, splash screens, etc.
- [x] [kernel](https://cgit.adelielinux.org/packages/tree/system/easy-kernel/1000-version.patch)
- [x] desktop environments
- [x] KDE
- [x] LXQt
- [x] MATE
- [x] Xfce
- [x] horizon installer
- [x] https://git.adelielinux.org/adelie/horizon/-/blob/current/ui/qt5/resources/intro-high.png
- [x] https://git.adelielinux.org/adelie/horizon/-/blob/current/ui/qt5/resources/intro-low.png
- [x] external software
- [x] neofetch (https://github.com/dylanaraps/neofetch/issues/1930)https://git.adelielinux.org/adelie/packages/-/issues/1102system/mandoc: off-by-one2023-11-01T02:56:37ZZach van Rijnsystem/mandoc: off-by-oneFound on an installed x86_64 KDE environment from snapshot `20231027`:
![Screenshot_adelie_2023-10-30_08_11_20](/uploads/4b6cd01134ccbfdf6bcb7d2b91b94023/Screenshot_adelie_2023-10-30_08_11_20.png)Found on an installed x86_64 KDE environment from snapshot `20231027`:
![Screenshot_adelie_2023-10-30_08_11_20](/uploads/4b6cd01134ccbfdf6bcb7d2b91b94023/Screenshot_adelie_2023-10-30_08_11_20.png)https://git.adelielinux.org/adelie/packages/-/issues/1101Nouveau issues on Power Mac G4 systems2023-12-01T02:56:18ZA. WilcoxNouveau issues on Power Mac G4 systems1. Reported on IRC (#Adelie-Support). A 4:3 Studio Display connected to a Power Mac G4 with GeForce 4 MX via ADC shows black screen after starting sddm. Ctrl+Alt+F1 brought no joy.
2. Seen in lab on `lab-ppc-lin-2` with GeForce TwinVie...1. Reported on IRC (#Adelie-Support). A 4:3 Studio Display connected to a Power Mac G4 with GeForce 4 MX via ADC shows black screen after starting sddm. Ctrl+Alt+F1 brought no joy.
2. Seen in lab on `lab-ppc-lin-2` with GeForce TwinView and 1680x1050 Studio Display via ADC. Also black screen after starting sddm. Ctrl+Alt+F1 showed tty, but distorted and with bad visuals. Cause seems to be failure to read EDID correctly. _may_ be related to [FDo #21273](https://bugs.freedesktop.org/show_bug.cgi?id=21273).A. WilcoxA. Wilcoxhttps://git.adelielinux.org/adelie/packages/-/issues/1100Power management doesn't work in user sessions in new installs2023-12-08T02:51:21ZA. WilcoxPower management doesn't work in user sessions in new installsI see this on the live environment on every arch/DE combo I've tested, and also in an installed LXQt environment in VMware Fusion/arm64. However, I do *not* see this on gwyn, which started as an rc2 system and was upgraded to current.
...I see this on the live environment on every arch/DE combo I've tested, and also in an installed LXQt environment in VMware Fusion/arm64. However, I do *not* see this on gwyn, which started as an rc2 system and was upgraded to current.
Power management does not work from logged-in sessions. `loginctl reboot` does nothing, the KDE/LXQt/MATE buttons to restart or power off do nothing, I can't even trigger DPMS sleep from closing a laptop lid. All of these work on RC2 media so I'm not sure what has changed.A. WilcoxA. Wilcoxhttps://git.adelielinux.org/adelie/horizon/-/issues/372Xauthority breaks live sessions when executor changes hostname2023-11-15T22:48:46ZA. WilcoxXauthority breaks live sessions when executor changes hostnameWhen installing in a live environment, X11 applications can no longer be launched after the script executor sets the hostname to something other than 'adelie-live'.
This is because .Xauthority only allows connections from 'adelie-live',...When installing in a live environment, X11 applications can no longer be launched after the script executor sets the hostname to something other than 'adelie-live'.
This is because .Xauthority only allows connections from 'adelie-live', even over Unix socket (:0).0.9.9https://git.adelielinux.org/adelie/packages/-/issues/1099user/elixir: FTTFS: warning: redefining module A (current version defined in ...2023-11-12T06:55:08ZZach van Rijnuser/elixir: FTTFS: warning: redefining module A (current version defined in memory)Found on Ampere box (aarch64) as of 991643ede3c85e6f0a09246a41d94b7ae794f7f7:
```
...
1) test undefined handles built in functions (Module.Types.IntegrationTest)
test/elixir/module/types/integration_test.exs:80
Assertion wit...Found on Ampere box (aarch64) as of 991643ede3c85e6f0a09246a41d94b7ae794f7f7:
```
...
1) test undefined handles built in functions (Module.Types.IntegrationTest)
test/elixir/module/types/integration_test.exs:80
Assertion with == failed
code: assert capture_compile_warnings(files) == expected
left: "warning: redefining module A (current version defined in memory)\n a.ex:1\n\nwarning: Kernel.behaviour_info/1 is undefined or private\n a.ex:6: A.e/0\n\n"
right: "warning: Kernel.behaviour_info/1 is undefined or private\n a.ex:6: A.e/0\n\n"
stacktrace:
test/elixir/module/types/integration_test.exs:99: (test)
....................................................
Finished in 21.3 seconds (10.4s on load, 5.7s async, 5.2s sync)
1889 doctests, 4138 tests, 1 failure, 13 excluded
Randomized with seed 447812
make: *** [Makefile:277: test_stdlib] Error 2
>>> ERROR: elixir: check failed
```
and (autobuilder environment, which is a chroot of our making):
```
# uname -a
Linux aarch64 6.1.59-0-lts #1-Alpine SMP Fri, 20 Oct 2023 06:43:46 +0000 aarch64 GNU/Linux
```
[20231025-20_32_38.201423405_elixir.log](/uploads/0ba71a95caf1b398630f4519d0a097ec/20231025-20_32_38.201423405_elixir.log)https://git.adelielinux.org/adelie/packages/-/issues/1098system/ca-certificates: out of date2023-11-12T00:48:35ZZach van Rijnsystem/ca-certificates: out of dateFound on `20231025` media. Cannot update or install anything.
![VirtualBox_test2_25_10_2023_15_11_37](/uploads/dafa2b1eb5547480d26cbc2a18c07bb2/VirtualBox_test2_25_10_2023_15_11_37.png)
Confirmed by replacing `/usr/share/ca-certificate...Found on `20231025` media. Cannot update or install anything.
![VirtualBox_test2_25_10_2023_15_11_37](/uploads/dafa2b1eb5547480d26cbc2a18c07bb2/VirtualBox_test2_25_10_2023_15_11_37.png)
Confirmed by replacing `/usr/share/ca-certificates/mozilla/` from Alpine and running `update-ca-certificates --fresh`.
I would like to document:
1. How are we creating the .tar.gz "source" as in c2239f60fc70896b4200a3e198b67248081a0697?
2. Can we write a tool to check for any of these being out of date?https://git.adelielinux.org/adelie/horizon/-/issues/371feature request: show progress during installation2023-10-25T20:00:26ZZach van Rijnfeature request: show progress during installationIt would be nice to (optionally) see output of current progress from this page:
![VirtualBox_test2_25_10_2023_14_59_56](/uploads/4e814107f5e37e19f25f4228ee947580/VirtualBox_test2_25_10_2023_14_59_56.png)It would be nice to (optionally) see output of current progress from this page:
![VirtualBox_test2_25_10_2023_14_59_56](/uploads/4e814107f5e37e19f25f4228ee947580/VirtualBox_test2_25_10_2023_14_59_56.png)https://git.adelielinux.org/adelie/packages/-/issues/1097system/adelie-base: dependencies could use some work2023-12-01T02:58:00ZA. Wilcoxsystem/adelie-base: dependencies could use some work* `sed` is already part of `adelie-core`, we don't need it twice (just to be sure).
* What is `debianutils` for? `add-shell` is pulled in by zsh and bash packaging already.
* What is `sharutils` for? The uu stuff should be part of POSI...* `sed` is already part of `adelie-core`, we don't need it twice (just to be sure).
* What is `debianutils` for? `add-shell` is pulled in by zsh and bash packaging already.
* What is `sharutils` for? The uu stuff should be part of POSIX, not base.https://git.adelielinux.org/adelie/packages/-/issues/1096system/adelie-core: Why is diffutils included?2023-10-25T10:09:10ZA. Wilcoxsystem/adelie-core: Why is diffutils included?I don't know why `diffutils` is needed. Does `cmp` come into play in OpenRC early boot or something?I don't know why `diffutils` is needed. Does `cmp` come into play in OpenRC early boot or something?https://git.adelielinux.org/adelie/packages/-/issues/1095user/faad2: (pmmx) FTBFS: /usr/include/math.h:280:13: error: conflicting type...2023-10-25T01:37:06ZZach van Rijnuser/faad2: (pmmx) FTBFS: /usr/include/math.h:280:13: error: conflicting types for ‘lrintf’Found on pmmx only, as of cb27b0550d7accf80d339023979859aee676f4b0; all other targets are OK:
```
...
-- Build files have been written to: /usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build
make: Entering directory '/usr/sr...Found on pmmx only, as of cb27b0550d7accf80d339023979859aee676f4b0; all other targets are OK:
```
...
-- Build files have been written to: /usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build
make: Entering directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
make[1]: Entering directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
make[2]: Entering directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
make[2]: Entering directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
make[2]: Leaving directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
make[2]: Leaving directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
make[2]: Entering directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
make[2]: Entering directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
[ 0%] Building C object CMakeFiles/faad.dir/libfaad/bits.c.o
[ 0%] Building C object CMakeFiles/faad_drm.dir/libfaad/bits.c.o
In file included from /usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/common.h:372,
from /usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/bits.c:31:
/usr/include/math.h:280:13: error: conflicting types for ‘lrintf’
long lrintf(float);
^~~~~~
In file included from /usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/bits.c:31:
/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/common.h:337:23: note: previous definition of ‘lrintf’ was here
static INLINE int lrintf(float f)
^~~~~~
make[2]: *** [CMakeFiles/faad.dir/build.make:76: CMakeFiles/faad.dir/libfaad/bits.c.o] Error 1
make[2]: Leaving directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
make[1]: *** [CMakeFiles/Makefile2:91: CMakeFiles/faad.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
In file included from /usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/common.h:372,
from /usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/bits.c:31:
/usr/include/math.h:280:13: error: conflicting types for ‘lrintf’
long lrintf(float);
^~~~~~
In file included from /usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/bits.c:31:
/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/common.h:337:23: note: previous definition of ‘lrintf’ was here
static INLINE int lrintf(float f)
^~~~~~
make[2]: *** [CMakeFiles/faad_drm.dir/build.make:76: CMakeFiles/faad_drm.dir/libfaad/bits.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 1%] Building C object CMakeFiles/faad_drm.dir/libfaad/cfft.c.o
In file included from /usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/common.h:372,
from /usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/cfft.c:40:
/usr/include/math.h:280:13: error: conflicting types for ‘lrintf’
long lrintf(float);
^~~~~~
In file included from /usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/cfft.c:40:
/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/libfaad/common.h:337:23: note: previous definition of ‘lrintf’ was here
static INLINE int lrintf(float f)
^~~~~~
make[2]: *** [CMakeFiles/faad_drm.dir/build.make:90: CMakeFiles/faad_drm.dir/libfaad/cfft.c.o] Error 1
make[2]: Leaving directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
make[1]: *** [CMakeFiles/Makefile2:117: CMakeFiles/faad_drm.dir/all] Error 2
make[1]: Leaving directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
make: *** [Makefile:136: all] Error 2
make: Leaving directory '/usr/src/packages/user/faad2/src/faad2-2.10.1_git20230904/build'
>>> ERROR: faad2: build failed
```
See also:
* https://sourceforge.net/p/faac/bugs/242/
* https://github.com/knik0/faad2/commit/920ec985a74c6f88fe507181df07a0cd7e51d519
It looks like the patch was not ported the the CMake build system?https://git.adelielinux.org/adelie/packages/-/issues/1094system/easy-kernel: pmmx: missing config options2023-10-25T06:32:14ZZach van Rijnsystem/easy-kernel: pmmx: missing config optionsFound on pmmx as of 651822a4fe0f86e54441a7fd6c7faffd7d4d1ede:
```
*
* Restart config...
* ...Found on pmmx as of 651822a4fe0f86e54441a7fd6c7faffd7d4d1ede:
```
*
* Restart config...
*
*
* Mitigations for speculative execution vulnerabilities
*
Mitigations for speculative execution vulnerabilities (SPECULATION_MITIGATIONS) [Y/n/?] y
Avoid speculative indirect branches in kernel (RETPOLINE) [Y/n/?] y
Enable return-thunks (RETHUNK) [N/y/?] (NEW)
Force GDS Mitigation (GDS_FORCE_MITIGATION) [N/y/?] n
*
* General architecture-dependent options
*
Kprobes (KPROBES) [Y/n/?] y
Optimize very unlikely/likely branches (JUMP_LABEL) [Y/n/?] y
Static key selftest (STATIC_KEYS_SELFTEST) [N/y/?] n
Static call selftest (STATIC_CALL_SELFTEST) [N/y/?] n
Enable seccomp to safely execute untrusted bytecode (SECCOMP) [Y/n/?] y
Show seccomp filter cache status in /proc/pid/seccomp_cache (SECCOMP_CACHE_DEBUG) [N/y/?] n
Stack Protector buffer overflow detection (STACKPROTECTOR) [Y/n/?] (NEW)
Strong Stack Protector (STACKPROTECTOR_STRONG) [Y/n/?] (NEW)
Link Time Optimization (LTO)
> 1. None (LTO_NONE)
choice[1]: 1
Number of bits to use for ASLR of mmap base address (ARCH_MMAP_RND_BITS) [8] 8
Provide system calls for 32-bit time_t (COMPAT_32BIT_TIME) [Y/n/?] y
Randomize kernel stack offset on syscall entry (RANDOMIZE_KSTACK_OFFSET_DEFAULT) [N/y/?] n
Locking event counts collection (LOCK_EVENT_COUNTS) [N/y/?] n
```https://git.adelielinux.org/adelie/packages/-/issues/1093system/easy-kernel: ppc64: miscellaneous items in need of attention2023-10-25T06:39:06ZZach van Rijnsystem/easy-kernel: ppc64: miscellaneous items in need of attentionFound on ppc64 as of 651822a4fe0f86e54441a7fd6c7faffd7d4d1ede:
```
...
BOOTCC arch/powerpc/boot/fdt_sw.o
BOOTCC arch/powerpc/boot/fdt_wip.o
DTC arch/powerpc/boot...Found on ppc64 as of 651822a4fe0f86e54441a7fd6c7faffd7d4d1ede:
```
...
BOOTCC arch/powerpc/boot/fdt_sw.o
BOOTCC arch/powerpc/boot/fdt_wip.o
DTC arch/powerpc/boot/dts/ps3.dtb
BOOTAR arch/powerpc/boot/wrapper.a
WRAP arch/powerpc/boot/zImage.pseries
WRAP arch/powerpc/boot/zImage.maple
WRAP arch/powerpc/boot/dtbImage.ps3
WRAP arch/powerpc/boot/zImage.pmac
WRAP arch/powerpc/boot/zImage.epapr
ld: warning: div64.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: warning: arch/powerpc/boot/dtbImage.ps3 has a LOAD segment with RWX permissions
egrep: warning: egrep is obsolescent; using grep -E
GEN Module.symvers
CC [M] arch/powerpc/crypto/md5-ppc.mod.o
CC [M] arch/powerpc/crypto/sha1-powerpc.mod.o
CC [M] arch/powerpc/kvm/kvm-hv.mod.o
CC [M] arch/powerpc/kvm/kvm-pr.mod.o
CC [M] arch/powerpc/kvm/kvm.mod.o
...
```
Does this warrant a closer look? If not, feel free to close the issue.https://git.adelielinux.org/adelie/packages/-/issues/1092system/easy-kernel: aarch64: missing config options2023-10-25T06:32:14ZZach van Rijnsystem/easy-kernel: aarch64: missing config optionsFound on aarch64 as of 651822a4fe0f86e54441a7fd6c7faffd7d4d1ede:
```
*
* Restart config...
* ...Found on aarch64 as of 651822a4fe0f86e54441a7fd6c7faffd7d4d1ede:
```
*
* Restart config...
*
*
* ARMv8.4 architectural features
*
Enable support for the Activity Monitors Unit CPU extension (ARM64_AMU_EXTN) [Y/n/?] y
Enable support for tlbi range feature (ARM64_TLB_RANGE) [Y/n/?] (NEW)
*
* ARMv8.5 architectural features
*
Branch Target Identification support (ARM64_BTI) [Y/n/?] y
Enable support for E0PD (ARM64_E0PD) [Y/n/?] y
Enable support for random number generation (ARCH_RANDOM) [Y/n/?] y
Memory Tagging Extension support (ARM64_MTE) [Y/n/?] (NEW)
```https://git.adelielinux.org/adelie/packages/-/issues/1091system/easy-kernel: x86_64: missing config options2023-10-25T06:32:14ZZach van Rijnsystem/easy-kernel: x86_64: missing config optionsFound on x86_64 as of 651822a4fe0f86e54441a7fd6c7faffd7d4d1ede:
```
*
* Restart config...
* ...Found on x86_64 as of 651822a4fe0f86e54441a7fd6c7faffd7d4d1ede:
```
*
* Restart config...
*
*
* Mitigations for speculative execution vulnerabilities
*
Mitigations for speculative execution vulnerabilities (SPECULATION_MITIGATIONS) [Y/n/?] y
Remove the kernel mapping in user mode (PAGE_TABLE_ISOLATION) [Y/n/?] y
Avoid speculative indirect branches in kernel (RETPOLINE) [Y/n/?] y
Enable return-thunks (RETHUNK) [Y/n/?] (NEW)
Enable UNRET on kernel entry (CPU_UNRET_ENTRY) [Y/n/?] (NEW)
Enable IBPB on kernel entry (CPU_IBPB_ENTRY) [Y/n/?] y
Enable IBRS on kernel entry (CPU_IBRS_ENTRY) [Y/n/?] y
Mitigate speculative RAS overflow on AMD (CPU_SRSO) [Y/n/?] (NEW)
Force GDS Mitigation (GDS_FORCE_MITIGATION) [N/y/?] n
*
* General architecture-dependent options
*
Kprobes (KPROBES) [Y/n/?] y
Optimize very unlikely/likely branches (JUMP_LABEL) [Y/n/?] y
Static key selftest (STATIC_KEYS_SELFTEST) [N/y/?] n
Static call selftest (STATIC_CALL_SELFTEST) [N/y/?] n
Enable seccomp to safely execute untrusted bytecode (SECCOMP) [Y/n/?] y
Show seccomp filter cache status in /proc/pid/seccomp_cache (SECCOMP_CACHE_DEBUG) [N/y/?] n
Stack Protector buffer overflow detection (STACKPROTECTOR) [Y/n/?] (NEW)
Strong Stack Protector (STACKPROTECTOR_STRONG) [Y/n/?] (NEW)
Link Time Optimization (LTO)
> 1. None (LTO_NONE)
choice[1]: 1
Number of bits to use for ASLR of mmap base address (ARCH_MMAP_RND_BITS) [28] 28
Number of bits to use for ASLR of mmap base address for compatible applications (ARCH_MMAP_RND_COMPAT_BITS) [8] 8
Provide system calls for 32-bit time_t (COMPAT_32BIT_TIME) [Y/n/?] y
Use a virtually-mapped stack (VMAP_STACK) [Y/n/?] y
Randomize kernel stack offset on syscall entry (RANDOMIZE_KSTACK_OFFSET_DEFAULT) [N/y/?] n
Locking event counts collection (LOCK_EVENT_COUNTS) [N/y/?] n
```https://git.adelielinux.org/adelie/horizon/-/issues/370efivarfs isn't managed correctly2023-10-22T02:26:21ZA. Wilcoxefivarfs isn't managed correctlyhscript/meta.cc:859:
```c++
if(mount("efivarfs", efipath.c_str(), "efivarfs", MS_NOEXEC |
MS_NODEV | MS_NOSUID | MS_RELATIME, nullptr) != 0) {
```
We need to use `MS_REMOUNT` if efivarfs is already mounted. ...hscript/meta.cc:859:
```c++
if(mount("efivarfs", efipath.c_str(), "efivarfs", MS_NOEXEC |
MS_NODEV | MS_NOSUID | MS_RELATIME, nullptr) != 0) {
```
We need to use `MS_REMOUNT` if efivarfs is already mounted. However, sometimes it isn't mounted, especially if Horizon is running in a chroot or from non-Adélie media. In fact, we _dropped_ `MS_REMOUNT` in bad8487c53 because it wasn't mounted at all on the ThinkPad being used for EFI testing.
What we really need to do is:
1. Check if `efipath` is a mount point or not. (Probably should check if it's even extant.)
2. If not, make the above mount call (no change).
3. If it is, use `mount_setattr(2)` to clear `MS_RDONLY`. Unfortunately, that is only available as a raw syscall.A. WilcoxA. Wilcoxhttps://git.adelielinux.org/adelie/packages/-/issues/1090user/{cbindgen,ripgrep,xsv,zola}: stray 'usr/.crates2.json'2023-10-24T06:24:07ZZach van Rijnuser/{cbindgen,ripgrep,xsv,zola}: stray 'usr/.crates2.json'Per #1089, some stray and conflicting files exist in our Rust packages.
The root cause is that they were built without the `cargo install --no-track` flag, which, when omitted, can create unwanted files.
From https://doc.rust-lang.org/...Per #1089, some stray and conflicting files exist in our Rust packages.
The root cause is that they were built without the `cargo install --no-track` flag, which, when omitted, can create unwanted files.
From https://doc.rust-lang.org/cargo/commands/cargo-install.html:
> `--no-track`
>
> By default, Cargo keeps track of the installed packages with a metadata file stored in the installation root directory. This flag tells Cargo not to use or create that file. With this flag, Cargo will refuse to overwrite any existing files unless the `--force` flag is used. This also disables Cargo’s ability to protect against multiple concurrent invocations of Cargo installing at the same time.
As an example, we also do not need to remove `user/.crates.toml` manually:
```diff
diff --git a/user/ripgrep/APKBUILD b/user/ripgrep/APKBUILD
index be18ce2e1..68b4c0732 100644
--- a/user/ripgrep/APKBUILD
+++ b/user/ripgrep/APKBUILD
@@ -124,8 +124,7 @@ check() {
package() {
export CARGO_HOME="$srcdir/cargo-home"
- cargo install --features pcre2 --path . --root="$pkgdir"/usr
- rm "$pkgdir"/usr/.crates.toml
+ cargo install --no-track --features pcre2 --path . --root="$pkgdir"/usr
}
_zshcomp() {
```
See also:
* https://wiki.archlinux.org/title/Rust_package_guidelines#Notes_about_using_cargo_install