docker run のときに以下オプションをつけるとうまく行った。
--security-opt label=type:container_runtime_t
--security-opt label=type:container_runtime_t
DATA_SIZE=40%FREE
DATA_SIZE=20Glvdisplay で docker-pool が 20GB になってることを確認。まぁこれくらいのサイズでいいだろう。
audit2allow -M docker < /tmp/docker-audit
semodule -i docker.pp
allow container_t container_file_t:chr_file { read write };うーーん、docker をアンインストールしたときに何やら外れたんだろう。もっとスマートな直し方がありそうなもんだけど、まぁいいや。
allow container_t container_file_t:chr_file { getattr ioctl open };
java.lang.ClassNotFoundException: android.view.View$OnUnhandledKeyEventListener
Change theandroid{in "build.gradle" in app file
compileSdkVersion 28tocompileSdkVersion 27targetSdkVersion 28totargetSdkVersion 27
also, try to change implementations likeimplementation 'com.android.support:appcompat-v7:28.0.0-alpha3'toimplementation 'com.android.support:appcompat-v7:27.1.1'
# setup-ds.pl General.StrictHostCheck=false
名前に「-oid」とかついている。
attributeTypes: ( foo-oid NAME 'foo' DESC ....)
objectClasses: ( bar-oid NAME 'bar' SUP top STRUCTURAL...)
The object identifier of the attribute. An OID is a string, usually of dotted decimal numbers, that uniquely identifies an object, such as an object class or an attribute. If an OID is not specified, the Directory Server automatically uses object-class_name-oid. For example, if the object division is created without supplying an OID, the Directory Server automatically uses division-oid as the OID.どうも OID が指定されていないと勝手に名前に -oid をつけてそれで良しにしてしまうらしい。OID が無い時点でエラーにして欲しいんだが... 管理 GUI でスキーマ作ったりするとそうなってしまうんだろうか?とりあえず以下のようなお勧めできない系の警告も記されていた。もしかしたら今はそんな仕様は廃止されているのかもしれない。
Using an alphanumeric OID such as division-oid is deprecated and strongly discouraged because it will lead to interoperability problems. Red Hat strongly encourages that you request your own OID prefix from IANA (Internet Assigned Number Authority).
# yum install libguestfs-toolsしたらホストで以下コマンドで、qcow2 ファイルをマウント。今回仮想マシンのホスト名が「client2」というやつの復旧をしたかったので以下のようなコマンドになってるけど、まぁ環境に合わせて適宜修正を。あ、あと以下ではマウントポイントが /mnt/tmp ってことで。
guestmount -a /var/lib/libvirt/images/client2.qcow2 -m /dev/centos_client2/root /mnt/tmp
python -c 'import crypt; print crypt.crypt("適当なパスワード", "$6$適当なsalt")'あとは、/mnt/tmp/etc/selinux/config も修正して SELinux を一時的に無効にする(これやらないと初回ログインできない)。終わったらアンマウント umount /mnt/tmp/ 。