[arch-releng] Liveruser issue with 50.1-1

Marco Obaid marco.obaid at gmail.com
Thu Dec 3 01:19:20 UTC 2020


Greetings,

After upgrading archiso to 50.1-1, I am running into an issue when building
the Archiso. The build stops at a point when it attempts to set permissions
(see below). The same process works fine in archiso 49-1. "liveruser"
exists in both airootfs/etc/passwd and airootfs/etc/shadow. If I remove the
liveuser entries from the airootfs/etc/passwd and airootfs/etc/shadow, the
build resumes and the iso is built.

...
[mkarchiso] INFO: Done! Packages installed successfully.
[mkarchiso] INFO: Copying /etc/skel/* to user homes...
[mkarchiso] ERROR: Failed to set permissions on
'work/x86_64/airootfs/home/liveuser'. Outside of valid path.

Any advice on how to overcome this? Reviewing the documentation did not
yield any success.

profiledef.sh looks like this:

#!/usr/bin/env bash
# shellcheck disable=SC2034

iso_name=arcolinux-dev
iso_label="arcolinux-dev-v21.01.1"
iso_publisher="ArcoLinux <http://www.arcolinux.info>"
iso_application="ArcoLinux Live/Rescue CD"
iso_version="v21.01.1"
install_dir="arch"
bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito'
'uefi-x64.systemd-boot.esp' 'uefi-x64.systemd-boot.eltorito')
arch="x86_64"
pacman_conf="pacman.conf"
airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M'
'-Xdict-size' '1M')
file_permissions=(
  ["/etc/shadow"]="0:0:400"
  ["/root"]="0:0:750"
  ["/root/.automated_script.sh"]="0:0:755"
  ["/usr/local/bin/choose-mirror"]="0:0:755"
  ["/usr/local/bin/Installation_guide"]="0:0:755"
  ["/usr/local/bin/livecd-sound"]="0:0:755"
)

Thank you in advance for any hints!

Regards


More information about the arch-releng mailing list