ceph: remove ceph user and disable systemd services
In stx 3.0, ceph runs with root user and is not meant to be managed by systemd, so remove ceph user group, and disable systemd services by default. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
This commit is contained in:
parent
7511ca1805
commit
1bdadaaafb
@ -626,10 +626,6 @@ useradd -m -g sys_protected -G root -d /home/sysadmin -p ${SYSADMIN_P} -s /bin/s
|
||||
groupadd -r -g 128 nscd
|
||||
useradd -M -o -r -d / -s /sbin/nologin -c 'NSCD Daemon' -u 28 -g nscd nscd
|
||||
|
||||
useradd -p '' ceph
|
||||
groupadd ceph
|
||||
usermod -a -G ceph ceph
|
||||
|
||||
useradd -p '' patching
|
||||
groupadd patching
|
||||
usermod -a -G patching patching
|
||||
|
@ -40,9 +40,6 @@ EXTRA_USERS_PARAMS_CONFIG = "\
|
||||
useradd -m -g sys_protected -G root \
|
||||
-d /home/sysadmin -p ${SYSADMIN_P} \
|
||||
-s /bin/sh sysadmin; \
|
||||
useradd -p '' ceph; \
|
||||
groupadd ceph; \
|
||||
usermod -a -G ceph ceph; \
|
||||
useradd -p '' haproxy; \
|
||||
groupadd haproxy; \
|
||||
usermod -a -G haproxy haproxy; \
|
||||
|
@ -67,6 +67,7 @@ SYSTEMD_SERVICE_${PN} = " \
|
||||
ceph-mgr.target \
|
||||
rbdmap.service \
|
||||
"
|
||||
SYSTEMD_AUTO_ENABLE = "disable"
|
||||
|
||||
OECMAKE_GENERATOR = "Unix Makefiles"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user