[arch-releng] Liveruser issue with 50.1-1
marco.obaid at gmail.com
Fri Dec 4 20:47:38 UTC 2020
> Message: 2
> Date: Thu, 03 Dec 2020 09:56:01 +0200
> From: nl6720 <nl6720 at gmail.com>
> To: arch-releng at archlinux.org
> Subject: Re: [arch-releng] Liveruser issue with 50.1-1
> Message-ID: <1898427.4hlCs0VxHK at walnut>
> Content-Type: text/plain; charset="utf-8"
> On Thursday, 3 December 2020 03:19:20 EET Marco Obaid via arch-releng
> > Greetings,
> > After upgrading archiso to 50.1-1, I am running into an issue when
> > the Archiso. The build stops at a point when it attempts to set
> > (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
> > liveuser entries from the airootfs/etc/passwd and airootfs/etc/shadow,
> > 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
> I think this is because the default work_dir (i.e. "work" in the current
> directory) is not parsed with realpath.
> To work around it for now, set the working directory explicitly using
> mkarchiso -w /path/to/workdir . Most of the time you'll want to set it
> explicitly to somewhere under /tmp/ anyway.
Thank you! ... Initial test passed. I will be doing more testing this
weekend. Will follow-up with results.
More information about the arch-releng