-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
export CHECKREQS_DISK_BUILD="1400M"
export CHECKREQS_DISK_USR="450M"
fi
+
+ export CHECKREQS_MEMORY="7G"
}
user_setup() {
readme.gentoo_create_doc
}
+
+pkg_postinst() {
+ if [[ -n ${REPLACING_VERSIONS} ]] && ! version_is_at_least 9.0 ${REPLACING_VERSIONS}; then
+ ewarn "You've upgraded ceph from old version, please fix the permission issue"
+ ewarn "Please refer section 4) in README.gentoo doc for detail info"
+ ewarn " bzless /usr/share/doc/${P}/README.gentoo.bz2"
+ fi
+}
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
export CHECKREQS_DISK_BUILD="9G"
export CHECKREQS_DISK_USR="450M"
fi
+
+ export CHECKREQS_MEMORY="7G"
}
user_setup() {
readme.gentoo_create_doc
}
+
+pkg_postinst() {
+ if [[ -n ${REPLACING_VERSIONS} ]] && ! version_is_at_least 9.0 ${REPLACING_VERSIONS}; then
+ ewarn "You've upgraded ceph from old version, please fix the permission issue"
+ ewarn "Please refer section 4) in README.gentoo doc for detail info"
+ ewarn " bzless /usr/share/doc/${P}/README.gentoo.bz2"
+ fi
+}
net-misc/openntpd
net-misc/chrony
-4) Starting from version 9.0.x, Ceph daemons run as ‘ceph’ user instead root.
- In order to fix this, we suggest to stop ceph daemons, and fix ownership
+4) Starting from version 9.0.x, Ceph daemons run as user 'ceph' instead of 'root'.
+ In order to solve this, we recommand to stop ceph daemons, and fix the ownership
- chown -R ceph:ceph /var/lib/ceph
+ # chown -R ceph:ceph /var/lib/ceph
+
+ or
+
+ Add the following line to ceph.conf on all hosts:
+ " setuser match path = /var/lib/ceph/$type/$cluster-$id "
https://ceph.com/releases/v9-2-0-infernalis-released/