Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker(moby)のmkimage-arch.shが動作しなくなった #7

Closed
syui opened this issue Jan 29, 2019 · 2 comments
Closed

docker(moby)のmkimage-arch.shが動作しなくなった #7

syui opened this issue Jan 29, 2019 · 2 comments

Comments

@syui
Copy link
Member

syui commented Jan 29, 2019

docker(moby)のmkimage-arch.shが上手く動作しなくなりました。本家へのissueも書きましたが、こちらにも投稿します。

日付は、2019/01/25あたりからです。travis-ciのbuildが失敗しています。

エラー内容は以下のとおりです。

$ ./mkimage-arch.sh
:: Do you want to skip the above packages for this upgrade? [y/N] ==> WARNING: /var/tmp/rootfs-archlinux-26eLVbyd4f is not a mountpoint. This may have undesirable side effects.
mount: /var/tmp/rootfs-archlinux-26eLVbyd4f/proc: proc already mounted on /proc.
==> ERROR: failed to setup chroot /var/tmp/rootfs-archlinux-26eLVbyd4f

調べてみると、arch-chrootもしくはchrootのbugらしいという情報がありましたので、chrootの変更履歴や更新などを調べてみるとわかることがあるかもしれません。

これは、スクリプト中のarch-chroot $ROOTFSにて発生するものと思われます。

@syui syui changed the title docker(moby)のmkimage-arch.shが上手く動作しなくなった docker(moby)のmkimage-arch.shが動作しなくなった Jan 29, 2019
@syui
Copy link
Member Author

syui commented Jan 29, 2019

古いdocker-archのイメージが残っていればなんとか動かせそうではあるんですけど、しかし、当該docker-imageは、latestしか残していないので、ダメですね。

docker-imageの破棄のタイミングも1ヶ月前のやつを残しておくという処理などを加えたほうがいいかもしれません。

@syui
Copy link
Member Author

syui commented Dec 3, 2019

動かす必要がなくなったので、一旦閉じます。

@syui syui closed this as completed Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant