Talk:Install bundled 32-bit system in 64-bit system

From ArchWiki
Jump to: navigation, search

Some notes

Section "Installation": The original /etc/pacman.conf of the 64-bit host should have 'multilib' commented out, otherwise you get complaints about no multilib.db can be downloaded for 32-bit

Section "Settings": The "for i in passwd* shadow* group* sudoers resolv.conf localtime locale.gen vimrc mtab inputrc profile.d/locale.sh; do cp -p /etc/"$i" /opt/arch32/etc/; done" works only in the 'etc' directory of the host, so maybe a 'cd /etc' for clarification would help

/etc/mtab should not be copied as it is a symlink to '/proc/self/mounts'

It should be made clear that the jail must be entered with 'linux32 chroot /opt/arch32'.

—This unsigned comment is by Andreas baumann (talk) 06:14, 31 July 2015‎. Please sign your posts with ~~~~!

=== arch32 script ===

this script cannot be used with systemctl properly if USEDISTCC is empty: the script returns a non zero value and systemd complains about this. I would suggest changing the following statement:

                [[ -n "$USEDISTCC" ]] && start_distccd

at the end of the "start" case into:

		if [[ -n "$USEDISTCC" ]]; then 
                    start_distccd
                fi

This will yield the same resutl except for the return code that will not be set to 1 due to the failure of test.

This problem does not exist for the stop case.

May I (or someone else) perform the change on the page?

Demanciel (talk) 13:19, 31 January 2016 (UTC)

I just discovered that after retiring distccd in the chroot and simply reordered the touch and check commands. Graysky (talk) 19:02, 28 October 2016 (UTC)