Horizon issueshttps://git.adelielinux.org/adelie/horizon/-/issues2024-02-29T17:24:18Zhttps://git.adelielinux.org/adelie/horizon/-/issues/391Specifying manual IPv6 configuration results in error2024-02-29T17:24:18ZA. WilcoxSpecifying manual IPv6 configuration results in errorDeploying the latest beta5 image to Vultr using noVNC, with manual network configuration, resulted in the following log output:
```
HorizonScript Executor version 0.9.8 (supports non-free firmware)
Copyright (c) 2019-2020 Adélie Linux a...Deploying the latest beta5 image to Vultr using noVNC, with manual network configuration, resulted in the following log output:
```
HorizonScript Executor version 0.9.8 (supports non-free firmware)
Copyright (c) 2019-2020 Adélie Linux and contributors.
This software is licensed to you under the terms of the
AGPL 3.0 license, unless otherwise noted.
Could not load the HorizonScript.
2024-02-29T17:20:56.453 log /etc/horizon/installfile:3: error: netaddress: invalid address type '2001:19f0:5c00:28fb::25': one of 'dhcp', 'slaac', 'static' required
2024-02-29T17:20:56.453 log /etc/horizon/installfile:3: error: value for key 'netaddress' was invalid
2024-02-29T17:20:56.453 log /etc/horizon/installfile: parser: 2 error(s), 0 warning(s)
```
It looks like the format for IPv6 network keys changed and we never actually tried manual v6 configuration since. Whoops! This should be a fairly simple fix.0.9.9A. WilcoxA. Wilcoxhttps://git.adelielinux.org/adelie/horizon/-/issues/390Discussion: ship sudo or doas as part of desktop profiles?2024-02-12T19:56:33ZA. WilcoxDiscussion: ship sudo or doas as part of desktop profiles?Should `sudo` be included in the desktop package set? Should we look into `doas` as a modern replacement?Should `sudo` be included in the desktop package set? Should we look into `doas` as a modern replacement?1.0-RELEASEhttps://git.adelielinux.org/adelie/horizon/-/issues/389Support NetworkManager as an option for network management2024-02-12T19:53:20ZA. WilcoxSupport NetworkManager as an option for network managementWe already support `netifrc` and `eni` (nominally `ifupdown-ng`). Unfortunately, neither of these options have a graphical configuration option. We could write one, but it is going to be significantly easier to support NM as an option.We already support `netifrc` and `eni` (nominally `ifupdown-ng`). Unfortunately, neither of these options have a graphical configuration option. We could write one, but it is going to be significantly easier to support NM as an option.2.0A. WilcoxA. Wilcoxhttps://git.adelielinux.org/adelie/horizon/-/issues/388Validate user names in wizard as they are being entered2024-02-12T19:51:15ZA. WilcoxValidate user names in wizard as they are being enteredWe have a list of [system usernames that cannot be used](https://cgit.adelielinux.org/horizon/tree/hscript/user.cc#n27) in the hscript library. We need to check entries against these names when being entered in the UI so that we don't e...We have a list of [system usernames that cannot be used](https://cgit.adelielinux.org/horizon/tree/hscript/user.cc#n27) in the hscript library. We need to check entries against these names when being entered in the UI so that we don't end up with installation failures if someone uses one of those names.0.9.9A. WilcoxA. Wilcoxhttps://git.adelielinux.org/adelie/horizon/-/issues/387UI: Read in existing installfile to pre-populate wizard options2024-02-12T19:34:15ZA. WilcoxUI: Read in existing installfile to pre-populate wizard optionsThis would be useful in the following scenarios:
## Runtime Environment
* Base one install off of another one.
* Edit an existing file before using it.
## Install Environment
* Running the wizard after it fails.
* Allowing "live" custo...This would be useful in the following scenarios:
## Runtime Environment
* Base one install off of another one.
* Edit an existing file before using it.
## Install Environment
* Running the wizard after it fails.
* Allowing "live" customisation of an install file retrieved over the network or such.0.9.9A. WilcoxA. Wilcoxhttps://git.adelielinux.org/adelie/horizon/-/issues/386Friendlier names for keyboard selection screen2024-02-12T19:31:41ZA. WilcoxFriendlier names for keyboard selection screenThe names of the keyboard layouts specified don't have "friendly" names which might make it more difficult for users to choose the one they want. This is actually a holdover from the Gentoo days - Gentoo's live media just shows the two ...The names of the keyboard layouts specified don't have "friendly" names which might make it more difficult for users to choose the one they want. This is actually a holdover from the Gentoo days - Gentoo's live media just shows the two letter codes, not the full names. It would be great if we could show more friendly names, perhaps leaving the raw names in parenthetical: `United States (us)` for instance.1.0-RELEASEA. WilcoxA. Wilcoxhttps://git.adelielinux.org/adelie/horizon/-/issues/385Have an Installation icon on the desktop on live media2024-02-12T19:29:22ZA. WilcoxHave an Installation icon on the desktop on live mediaIt would be slightly more user-friendly to have the installer exposed on the desktop, instead of hiding in System Tools in the launcher.It would be slightly more user-friendly to have the installer exposed on the desktop, instead of hiding in System Tools in the launcher.0.9.9A. WilcoxA. Wilcoxhttps://git.adelielinux.org/adelie/horizon/-/issues/384feature request: automatically select the radio button for the active DE2024-01-17T17:18:03ZZach van Rijnfeature request: automatically select the radio button for the active DEWhile it is possible to install any DE from any flavor of live media, it would be more intuitive to automatically select (default to) the DE corresponding to what is currently running.While it is possible to install any DE from any flavor of live media, it would be more intuitive to automatically select (default to) the DE corresponding to what is currently running.https://git.adelielinux.org/adelie/horizon/-/issues/383Installer doesn't notice newly created partitions2023-12-13T17:06:04ZCyberLeoInstaller doesn't notice newly created partitionsRunning installer GUI in MATE live CD.
I used the manual partition editor provided in the installer GUI to create a partition in the free space on a GPT disk that had two other partitions on it already.
The partitions that existed when...Running installer GUI in MATE live CD.
I used the manual partition editor provided in the installer GUI to create a partition in the free space on a GPT disk that had two other partitions on it already.
The partitions that existed when the GUI started show up as options, but the newly created partition will not show up until I restart the installer or back up all the way to the Select Installation Disk step.
Looks like it needs to refresh its cache of available partitions whenever an edit may have occurred.https://git.adelielinux.org/adelie/horizon/-/issues/382Installing for i386-efi platform. grub-install: error: cannot find EFI direct...2023-12-10T23:13:28ZZach van RijnInstalling for i386-efi platform. grub-install: error: cannot find EFI directory.i386 QEMU with `adelie-inst-pmmx-1.0-beta5-20231210.iso`:
```
...
>>> 50-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.132-mc6-easy
Found initrd image: /boot/initramfs-5.15.132-mc6-easy.img
Warning: o...i386 QEMU with `adelie-inst-pmmx-1.0-beta5-20231210.iso`:
```
...
>>> 50-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.132-mc6-easy
Found initrd image: /boot/initramfs-5.15.132-mc6-easy.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Executing graphviz-2.50.0-r0.trigger
Executing gdk-pixbuf-2.40.0-r0.trigger
Executing gtk-update-icon-cache-2.24.32-r2.trigger
Executing mkfontscale-1.2.2-r0.trigger
Executing vlc-libs-3.0.17.3-r1.trigger
OK: 3786 MiB in 1459 packages
2023-12-10T22:48:28.984 step-end pkgdb
2023-12-10T22:48:28.985 step-start post-metadata
2023-12-10T22:48:29.000 log /etc/horizon/installfile:33: info: rootpw: setting root passphrase
2023-12-10T22:48:29.011 log /etc/horizon/installfile:34: info: language: setting default system language to en_US.UTF-8
2023-12-10T22:48:29.012 log /etc/horizon/installfile:36: info: keymap: setting system keyboard map to us
2023-12-10T22:48:29.014 log internal: info: setting up user account user
2023-12-10T22:48:29.014 log /etc/horizon/installfile:39: info: username: creating account user
2023-12-10T22:48:29.095 log /etc/horizon/installfile:40: info: useralias: setting GECOS name for user
2023-12-10T22:48:29.115 log /etc/horizon/installfile:41: info: userpw: setting passphrase for user
2023-12-10T22:48:29.136 log /etc/horizon/installfile:42: info: usergroups: setting group membership for user
2023-12-10T22:48:29.155 log /etc/horizon/installfile:38: info: timezone: setting system timezone to America/Chicago
2023-12-10T22:48:29.157 log /etc/horizon/installfile:17: info: svcenable: enabling service bluetooth in runlevel 'default'
2023-12-10T22:48:29.158 log /etc/horizon/installfile:20: info: svcenable: enabling service elogind in runlevel 'default'
2023-12-10T22:48:29.159 log /etc/horizon/installfile:21: info: svcenable: enabling service sddm in runlevel 'default'
2023-12-10T22:48:29.159 log /etc/horizon/installfile:28: info: svcenable: enabling service udev in runlevel 'boot'
2023-12-10T22:48:29.160 log /etc/horizon/installfile:29: info: svcenable: enabling service udev-trigger in runlevel 'boot'
2023-12-10T22:48:29.162 log /etc/horizon/installfile:31: info: svcenable: enabling service sysklogd in runlevel 'default'
(1/7) Installing efivar (38-r0)
(2/7) Installing efivar-doc (38-r0)
(3/7) Installing popt (1.19-r0)
(4/7) Installing popt-doc (1.19-r0)
(5/7) Installing efibootmgr (18-r0)
(6/7) Installing efibootmgr-doc (18-r0)
(7/7) Installing grub-efi (2.12_rc1-r1)
Executing mandoc-1.14.6-r1.trigger
OK: 3791 MiB in 1466 packages
Installing for i386-efi platform.
grub-install: error: cannot find EFI directory.
2023-12-10T22:48:47.492 log chroot: error: exited abnormally with status 1
2023-12-10T22:48:47.493 log /etc/horizon/installfile:23: error: bootloader: failed to install GRUB
2023-12-10T22:48:47.493 log bootloader: error: The HorizonScript failed to execute: Check the log file for more details.
2023-12-10T22:48:47.493 log internal: error: Script failed. Stop.
```
[executor.log](/uploads/f599868a65dc5f7e6419e7e26d64f6aa/executor.log)
[installfile](/uploads/f398e43614857408af15befc1b82f0d6/installfile)https://git.adelielinux.org/adelie/horizon/-/issues/381Generated tar files do not have the proper filenames when UTF-8 characters ar...2023-11-25T04:40:38ZA. WilcoxGenerated tar files do not have the proper filenames when UTF-8 characters are used`hscript-image` does not create a properly formed tar file when UTF-8 characters exist in the target:
```
adelie # diff -ur a/etc/ssl/certs b/etc/ssl/certs
diff: b/etc/ssl/certs/988a38cb.0: No such file or directory
Only in b/etc/ssl/ce...`hscript-image` does not create a properly formed tar file when UTF-8 characters exist in the target:
```
adelie # diff -ur a/etc/ssl/certs b/etc/ssl/certs
diff: b/etc/ssl/certs/988a38cb.0: No such file or directory
Only in b/etc/ssl/certs: ca-cert-NetLock_Arany_=Class_Gold=_F*tan*s*tv*ny.pem
Only in a/etc/ssl/certs: ca-cert-NetLock_Arany_=Class_Gold=_Főtanúsítvány.pem
```0.9.9A. WilcoxA. Wilcoxhttps://git.adelielinux.org/adelie/horizon/-/issues/380Static network configuration is possible to avoid selecting network interface2023-11-24T11:21:31ZA. WilcoxStatic network configuration is possible to avoid selecting network interface```
[22:45:05] <systemdlete> installfile: https://pastebin.com/3sExQj3U
[22:46:21] <systemdlete> install.log: https://pastebin.com/WLJwn1zQ
```
`installfile` shows `netaddress static 192.168.90.200 26 192.168.90.100`, which causes th...```
[22:45:05] <systemdlete> installfile: https://pastebin.com/3sExQj3U
[22:46:21] <systemdlete> install.log: https://pastebin.com/WLJwn1zQ
```
`installfile` shows `netaddress static 192.168.90.200 26 192.168.90.100`, which causes the failure later on.0.9.9A. WilcoxA. Wilcoxhttps://git.adelielinux.org/adelie/horizon/-/issues/379Package triggers may not run correctly via GUI installer2023-12-01T02:20:53ZZach van RijnPackage triggers may not run correctly via GUI installerObserve the following. With this change:
```diff
diff --git a/system/ca-certificates/ca-certificates.trigger b/system/ca-certificates/ca-certificates.trigger
index e584113a9..01271d5d3 100644
--- a/system/ca-certificates/ca-certificates...Observe the following. With this change:
```diff
diff --git a/system/ca-certificates/ca-certificates.trigger b/system/ca-certificates/ca-certificates.trigger
index e584113a9..01271d5d3 100644
--- a/system/ca-certificates/ca-certificates.trigger
+++ b/system/ca-certificates/ca-certificates.trigger
@@ -1,3 +1,5 @@
#!/bin/sh
-/usr/sbin/update-ca-certificates --fresh >/dev/null 2>&1
+echo a
+/usr/sbin/update-ca-certificates --fresh >/dev/null
+echo b
exit 0
```
When Horizon is launched via the GUI, the following appears in `/var/log/executor.log`, and it looks like everything works correctly if we hadn't made the change to the trigger:
```
...
(1525/1526) Installing xcursor-themes (1.0.6-r0)
(1526/1526) Installing x11 (7.7-r0)
Executing ca-certificates-20230727-r0.trigger
Executing mandoc-1.14.6-r1.trigger
Executing dbus-1.12.20-r0.trigger
Executing kmod-30-r0.trigger
Executing glib-2.72.4-r0.trigger
Executing shared-mime-info-2.2-r0.trigger
Executing fontconfig-2.13.1-r0.trigger
...
```
however when `hscript-executor` is launched directly as root, we see the expected change and confirmation that the trigger indeed runs correctly:
```
...
(1525/1526) Installing xcursor-themes (1.0.6-r0)
(1526/1526) Installing x11 (7.7-r0)
Executing ca-certificates-20230727-r0.trigger
a
WARNING: ca-certificates.crt does not contain exactly one certificate or CRL: skipping
b
Executing mandoc-1.14.6-r1.trigger
Executing dbus-1.12.20-r0.trigger
Executing kmod-30-r0.trigger
Executing glib-2.72.4-r0.trigger
Executing shared-mime-info-2.2-r0.trigger
Executing fontconfig-2.13.1-r0.trigger
...
```https://git.adelielinux.org/adelie/horizon/-/issues/378txz: building tarballs/$ARCH-mini.installfile fails2023-11-18T03:56:33ZZach van Rijntxz: building tarballs/$ARCH-mini.installfile failsNote that switching from `arch/$ARCH.installfile` to `tarballs/$ARCH-full.installfile` seems to work fine.
Switching from `$ARCH-full.installfile` to `$ARCH-mini.installfile` fails:
```
...
2023-11-17T23:58:37.718 log /root/image/c...Note that switching from `arch/$ARCH.installfile` to `tarballs/$ARCH-full.installfile` seems to work fine.
Switching from `$ARCH-full.installfile` to `$ARCH-mini.installfile` fails:
```
...
2023-11-17T23:58:37.718 log /root/image/configs/tarballs/x86_64-mini.installfile:3: info: signingkey: trusting x86_64-1@packages.adelielinux.org.pub for APK signing
2023-11-17T23:58:37.753 log /root/image/configs/tarballs/x86_64-mini.installfile:4: info: signingkey: trusting x86_64-2@packages.adelielinux.org.pub for APK signing
2023-11-17T23:58:37.781 log /root/image/configs/tarballs/x86_64-mini.installfile:1: info: arch: setting system CPU architecture to x86_64
2023-11-17T23:58:37.782 log internal: info: initialising APK
fetch https://distfiles.adelielinux.org/adelie/current/system/x86_64/APKINDEX.tar.gz
fetch https://distfiles.adelielinux.org/adelie/current/user/x86_64/APKINDEX.tar.gz
OK: 0 MiB in 0 packages
2023-11-17T23:58:38.300 log internal: info: installing packages to target
fetch https://distfiles.adelielinux.org/adelie/current/system/x86_64/APKINDEX.tar.gz
fetch https://distfiles.adelielinux.org/adelie/current/user/x86_64/APKINDEX.tar.gz
system 1.0-RC2-2442-g7b92f1e5c [https://distfiles.adelielinux.org/adelie/current/system]
user 1.0-RC2-2442-g7b92f1e5c [https://distfiles.adelielinux.org/adelie/current/user]
OK: 7494 distinct packages available
(1/39) Installing musl (1.2.3-r1)
(2/39) Installing dash (0.5.12-r0)
(3/39) Installing dash-binsh (0.5.12-r0)
(4/39) Installing libacl (2.3.1-r0)
(5/39) Installing libattr (2.5.1-r0)
(6/39) Installing coreutils (9.4-r0)
(7/39) Installing mawk (1.3.4.20230525-r0)
(8/39) Installing debianutils (4.11.2-r0)
(9/39) Installing libcrypto1.1 (1.1.1v-r0)
(10/39) Installing ca-certificates (20230727-r0)
(11/39) Installing libssl1.1 (1.1.1v-r0)
(12/39) Installing zlib (1.3-r0)
(13/39) Installing apk-tools (2.12.0-r0)
(14/39) Installing adelie-keys (1.0-r3)
(15/39) Installing scanelf (1.3.4-r0)
(16/39) Installing musl-utils (1.2.3-r1)
(17/39) Installing linux-pam (1.5.2-r0)
(18/39) Installing shadow (4.13-r0)
(19/39) Installing shimmy (0.7-r0)
(20/39) Installing grep (3.11-r0)
(21/39) Installing ncurses-terminfo-base (6.4-r0)
(22/39) Installing ncurses-terminfo (6.4-r0)
(23/39) Installing ncurses-libs (6.4-r0)
(24/39) Installing libproc (3.3.17-r0)
(25/39) Installing procps (3.3.17-r0)
(26/39) Installing diffutils (3.9-r1)
(27/39) Installing findutils (4.9.0-r0)
(28/39) Installing libcap-ng (0.8.3-r0)
(29/39) Installing libuuid (2.38.1-r1)
(30/39) Installing util-linux (2.38.1-r1)
(31/39) Installing mii-tool (2.10-r1)
(32/39) Installing net-tools (2.10-r1)
(33/39) Installing db (5.3.28-r2)
(34/39) Installing nvi (1.81.6-r1)
(35/39) Installing sed (4.9-r0)
(36/39) Installing psmisc (23.6-r0)
(37/39) Installing less (590-r0)
(38/39) Installing tzdata (2023c-r0)
(39/39) Installing adelie-core (0.9.6-r1)
Executing ca-certificates-20230727-r0.trigger
OK: 32 MiB in 39 packages
2023-11-17T23:58:40.582 step-end pkgdb
2023-11-17T23:58:40.582 step-start post-metadata
2023-11-17T23:58:40.582 log /root/image/configs/tarballs/mini.installfile:5: info: rootpw: setting root passphrase
2023-11-17T23:58:40.583 log internal:0: info: timezone: setting system timezone to UTC
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
what(): boost::filesystem::directory_iterator::construct: No such file or directory [system:2]: "/tmp/horizon-image/target/etc/runlevels"
```https://git.adelielinux.org/adelie/horizon/-/issues/377possible data loss with dual-boot configurations2023-11-18T03:56:33ZZach van Rijnpossible data loss with dual-boot configurationsFrom `#adelie-support` on 2023-11-15:
```
14:41 < creatxr> lose a partition after installation
14:43 < creatxr> i use vm. in the vm i've a alpine linux installed at /dev/sda3. i manual selected /dev/sda2 to install adelie linux.
14:46 <...From `#adelie-support` on 2023-11-15:
```
14:41 < creatxr> lose a partition after installation
14:43 < creatxr> i use vm. in the vm i've a alpine linux installed at /dev/sda3. i manual selected /dev/sda2 to install adelie linux.
14:46 < creatxr> i use a live cd to start. with gparted, i found that /dev/sda3 lost its partition type (btrfs) after installation adelie linux.
14:47 < creatxr> adelie-live-xfce-x86_64-1.0-beta5-20231027.iso
15:11 < creatxr> or maybe, it writed grub2 core.img to the /dev/sda3 cause i set /dev/sda3 with flag grub_bios to boot alpine linux before. it means that the data is losed.
15:15 < creatxr> after reboot, adelie linux stopped at "starting local" for a long time and cannot boot until login window. ( my install only selected xfce package while installation. )
15:19 < creatxr> if i boot alpine live, it could list all the partition with "fdisk -l", but it losed /dev/sda3 with "blkid".
15:19 <&zv> I am sorry to hear this, thank you for reporting it
15:19 < creatxr> that's the detail.
...
15:29 <&zv> creatxr: how did you install alpine? default `sys` installation to disk?
15:30 <&zv> was /dev/sda2 swap?
15:32 < creatxr> setup-disk -m sys /mnt (that's /dev/sda3)
15:33 < creatxr> swap is a /dev/sda4
15:35 <&zv> and /dev/sda2 was free space?
15:35 < creatxr> the /dev/sda2 is prepare for try other os , is free space
15:36 < creatxr> the /dev/sda1 is efi, it's unuseful in vm
15:37 <&zv> ok. was this what you did? https://git.adelielinux.org/adelie/horizon/uploads/0e405720bfa8c1b2f545e7a179dd8682/Screenshot_2023-11-15_at_9.34.02_AM.png
15:37 < creatxr> sda1: efi, sda2: free space, sda3: alpine linux, sda4: swap
15:37 <&zv> or did the installer find the free space?
15:38 < creatxr> yes
15:38 <&zv> yes it found the free space, or yes you did what's in the screenshot?
15:39 < creatxr> only selected the sda2 without format
15:40 < creatxr> this issue maybe come with the step installing grub
15:41 <&zv> I quickly tried the following: fresh alpine installation, vda1=efi, vda2=swap, vda3=alpine. then I tried to install adelie into the swap, but it failed to install. I am trying again with an
actual free space partition
15:42 <&zv> did you installation succeed?
15:42 < creatxr> the issue that cannot boot maybe has relation with selecting package to install
15:42 < creatxr> yes, i can boot
15:43 < creatxr> i success boot alpine first (grub-install)
15:43 <&zv> and you selected the box 'install bootloader' ?
15:43 < creatxr> then install adelie
15:43 < creatxr> i think yes
15:44 < creatxr> after success boot alpine, then install adelie
15:45 < creatxr> to boot alpine, it needs set the partition with flag bios_grub with like gparted.
15:45 <&zv> are you following https://wiki.alpinelinux.org/wiki/Dualbooting ?
15:47 < creatxr> yes, almost. just to boot, the wiki is not completely. i means that it must have flag bios_grub.
15:47 < creatxr> if not, grub-install will get error
15:48 < creatxr> after set flag bios_grub for /dev/sda3 (alpine), the mount it to /mnt,
15:48 < creatxr> then grub-install --boot-directory=/mnt/boot /dev/sda
15:51 < creatxr> apk add grub grub-bios
...
16:14 <&zv> do you have more information you want to add to this?
16:18 < creatxr> the step select partition, is to select a existed used /dev/sda2 which has formated with btrfs. all the partitions is made by gparted before.
```
I tried (but failed) to reproduce a successful Adélie installation in two cases.
**Attempt 1**: default Alpine installation to disk, type `sys`, then Adélie on top of the swap partition (quick test).
![Screenshot_2023-11-15_at_9.28.12_AM](/uploads/548d9730352b436af83f3a741b2dee1a/Screenshot_2023-11-15_at_9.28.12_AM.png)
![Screenshot_2023-11-15_at_9.30.51_AM](/uploads/24b6b2f46df551a1bd2e0ca1147b771a/Screenshot_2023-11-15_at_9.30.51_AM.png)
![Screenshot_2023-11-15_at_9.34.02_AM](/uploads/0e405720bfa8c1b2f545e7a179dd8682/Screenshot_2023-11-15_at_9.34.02_AM.png)
Results in a failure to install Adelie because of failing to mount something?
**Attempt 2**: recreate partitions 1=efi 2=(free) 3=alpine 4=swap, which was done by `dd` zero into `/dev/vda2`, then deleting the partition, and is correctly detected as free space.
![Screenshot_2023-11-15_at_9.58.55_AM](/uploads/80a269609bd50448854d7e21b904ebd7/Screenshot_2023-11-15_at_9.58.55_AM.png)
![Screenshot_2023-11-15_at_9.59.08_AM](/uploads/c307c9cb94f10f2c44904ca7064ae340/Screenshot_2023-11-15_at_9.59.08_AM.png)
Results in a failure to install Adelie:
![Screenshot_2023-11-15_at_9.59.48_AM](/uploads/205c409b0cd064e888823d0f56e0e5bb/Screenshot_2023-11-15_at_9.59.48_AM.png)
Unfortunately I can't seem to "Save Script/Log" because of adelie/horizon#362.
Now we have this recipe to try:
```
16:31 < creatxr> the stepss are:
16:31 < creatxr> use a linux live cd to boot
16:31 < creatxr> make partitions with gparted (gpt)
16:31 < creatxr> /dev/sda1 efi
16:31 < creatxr> /dev/sda2 btrfs
16:31 < creatxr> /dev/sda3 btrfs
16:31 < creatxr> /dev/sda4 swap
16:31 < creatxr> and set /dev/sda3 with flag bios_grub with gparted
16:31 < creatxr> boot alpine linux cd
16:31 < creatxr> setup-alpine
16:31 < creatxr> apk add btrfs-progs grub grub-bios
16:31 < creatxr> modprobe btrfs
16:31 < creatxr> mount -t btrfs /dev/sda3 /mnt
16:31 < creatxr> setup-disk -m sys /mnt
16:31 < creatxr> grub-install --boot-directory=/mnt/boot /dev/sda
16:31 < creatxr> now reboot to check that it could boot alpine linux
16:31 < creatxr> boot adelie linux cd (xfce)
16:31 < creatxr> at the step of select partition to install, to select /dev/sda2
16:31 < creatxr> at the step of select packages, to select only xfce desktop
16:31 < creatxr> at the install bootloader select yes
16:31 < creatxr> issue 1: losed /dev/sda3 (alpine)
16:31 < creatxr> if boot alpine live, it could list all the partition with "fdisk -l", but it losed /dev/sda3 with "blkid".
16:31 < creatxr> with gparted, it shows "grub2 core.img" with the /dev/sda3
16:31 < creatxr> issue 2:
16:31 < creatxr> to boot installed adelie, it stops at "starting local ..." message
```
**TODO**:
1. Reproduce this and understand what is exactly happening, and if there is a real bug here or if this is "user error".
2. Document the correct way to set up a dual-boot configuration.https://git.adelielinux.org/adelie/horizon/-/issues/376Auto partitioner miscounts partitions on APM-labeled disks2023-12-12T16:49:10ZA. WilcoxAuto partitioner miscounts partitions on APM-labeled disksDiskMan counts all partitions using libfdisk.
The Qt autopartition logic uses DiskMan's count to create new partitions on the disk when "use available space" is selected. However, libparted doesn't count any Apple_Free at the end of th...DiskMan counts all partitions using libfdisk.
The Qt autopartition logic uses DiskMan's count to create new partitions on the disk when "use available space" is selected. However, libparted doesn't count any Apple_Free at the end of the disk as a real partition. This causes installation to fail with a disk inconsistency error.0.9.9A. WilcoxA. Wilcoxhttps://git.adelielinux.org/adelie/horizon/-/issues/375Manipulate shadow files in code2023-11-14T06:02:20ZA. WilcoxManipulate shadow files in codeInstead of relying on running `useradd`/`usermod` under `chroot` - likely to fail if we are installing to a foreign architecture - we should be manipulating shadow files ourselves.Instead of relying on running `useradd`/`usermod` under `chroot` - likely to fail if we are installing to a foreign architecture - we should be manipulating shadow files ourselves.1.0-RELEASEA. WilcoxA. Wilcoxhttps://git.adelielinux.org/adelie/horizon/-/issues/374Use LVM2 library instead of shell commands2023-11-14T05:32:28ZA. WilcoxUse LVM2 library instead of shell commandsIt looks like the LVM2 library is now considered public API and can be used instead of relying on `run_command`. We need to figure out how to replace those calls with LVM2 API calls to reduce our reliance on running external commands.It looks like the LVM2 library is now considered public API and can be used instead of relying on `run_command`. We need to figure out how to replace those calls with LVM2 API calls to reduce our reliance on running external commands.1.0-RELEASEA. WilcoxA. Wilcoxhttps://git.adelielinux.org/adelie/horizon/-/issues/373media has inconsistent file/directory permissions2023-11-17T20:01:21ZZach van Rijnmedia has inconsistent file/directory permissionsThe `/root` directory is too open to allow `sshd` to work by default, and potentially causes other issues. I was attempting to get SSH going on a ppc64 G5 without a monitor, and originally missed this detail.
```
adelie-live ~ # cat /va...The `/root` directory is too open to allow `sshd` to work by default, and potentially causes other issues. I was attempting to get SSH going on a ppc64 G5 without a monitor, and originally missed this detail.
```
adelie-live ~ # cat /var/log/auth.log
Server listening on 0.0.0.0 port 22.
Server listening on :: port 22.
Authentication refused: bad ownership or modes for directory /root
Connection closed by authenticating user root 192.168.10.100 port 50134 [preauth]
```
(Note that `auth.log` exists because I manually started `sshd -E /var/log/auth.log ...`). I don't think logging works by default in the live media either, but this is a separate issue.
![Screenshot_vm-ppc64_2023-11-08_15_14_40](/uploads/fe95d19e9bf6ef7040d38669a9752b03/Screenshot_vm-ppc64_2023-11-08_15_14_40.png)
As for where/how this should be fixed:
* `adelie/adelie-base`?
* `adelie/packages/system/adelie-base`?
* `adelie-infra/automedia`?
* `adelie/horizon`?
* `adelie/image`?Zach van RijnZach van Rijnhttps://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.9