Re: rsync seem to be broken on sparc64
On 2016-06-29 10:15, Anatoly Pugachev wrote:
On Tue, Jun 28, 2016 at 9:35 PM, Alex McWhirter
<alexmcwhirter@triadic.us> wrote:
/export/test is an entire debian minimal install made from
debootstrap. I am
not certain if this issue effects sun4v or not.
What fs are you using ext4? I've found that it doesn't happen on btrfs
for
whatever reason.
my t5120 rootfs (/) is ext4
If you can, will you install lxc and apply this patch to
/usr/share/lxc/templates/lxc-debian? Afterwards can you try installing a
container? (lxc-create -t debian -n test)
You will have to have the debian ports gpg key added to you're system,
you should already do this anyways IMO. (wget -O -
https://www.ports.debian.org/archive_2016.key | apt-key add -)
I've tested on ext2, jfs, and xfs, it breaks on all three. I can't run
ext4 on this box as it eventually panics the kernel.
IIRC, this bug doesn't affect sun4v, but i can't remember for sure.
--- a/lxc-debian
+++ b/lxc-debian
@@ -34,7 +34,7 @@
export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin
export GREP_OPTIONS=""
-MIRROR=${MIRROR:-http://httpredir.debian.org/debian}
+MIRROR=${MIRROR:-http://ftp.ports.debian.org/debian-ports/}
SECURITY_MIRROR=${SECURITY_MIRROR:-http://security.debian.org/}
LOCALSTATEDIR="/var"
LXC_TEMPLATE_CONFIG="/usr/share/lxc/config"
@@ -268,7 +268,7 @@
mkdir -p "$cache"
# If debian-archive-keyring isn't installed, fetch GPG keys
directly
- releasekeyring=/usr/share/keyrings/debian-archive-keyring.gpg
+ releasekeyring=/etc/apt/trusted.gpg
if [ ! -f $releasekeyring ]; then
releasekeyring="$cache/archive-key.gpg"
case $release in
@@ -614,7 +614,7 @@
exit 1
fi
-current_release=`wget ${MIRROR}/dists/stable/Release -O - 2> /dev/null
| head |awk '/^Codename: (.*)$/ { print $2; }'`
+current_release='sid'
release=${release:-${current_release}}
valid_releases=('wheezy' 'jessie' 'stretch' 'sid')
if [[ ! "${valid_releases[*]}" =~
(^|[^[:alpha:]])$release([^[:alpha:]]|$) ]]; then
Reply to: