Re: SL6/Centos6 rebuild question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well... I misinterpreted the error. It is not systemd related but selinux related. I must be missing some selinux component. Will investigate better.


________________________________________
From: Goncalo Borges [goncalo.borges@xxxxxxxxxxxxx]
Sent: 13 November 2015 16:51
To: ceph-users@xxxxxxxxxxxxxx
Subject: SL6/Centos6 rebuild question

Dear Ceph Gurus...

I have tried to rebuild Ceph (9.2.0) in Centos6 with GCC 4.8 using the SRPM for Centos7.

I could easily start rebuilding Ceph after solving some dependencies issues. However, it fails right at the end with systemd related messages:
# rpmbuild --rebuild ceph-9.2.0-0.el7.src.rpm
(...)
build succeeded, 1 warning.
make[1]: Leaving directory `/root/rpmbuild/BUILD/ceph-9.2.0/man'
Making all in doc
make[1]: Entering directory `/root/rpmbuild/BUILD/ceph-9.2.0/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/rpmbuild/BUILD/ceph-9.2.0/doc'
Making all in systemd
make[1]: Entering directory `/root/rpmbuild/BUILD/ceph-9.2.0/systemd'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/rpmbuild/BUILD/ceph-9.2.0/systemd'
Making all in selinux
make[1]: Entering directory `/root/rpmbuild/BUILD/ceph-9.2.0/selinux'
make -j1 -f /usr/share/selinux/devel/Makefile ceph.pp
cat: /selinux/mls: No such file or directory
make[2]: Entering directory `/root/rpmbuild/BUILD/ceph-9.2.0/selinux'
Compiling targeted ceph module
/usr/bin/checkmodule:  loading policy configuration from tmp/ceph.tmp
ceph.te":108:ERROR 'syntax error' at token 'fsadm_manage_pid' on line 15442:
fsadm_manage_pid(ceph_t)

/usr/bin/checkmodule:  error(s) encountered while parsing configuration
make[2]: *** [tmp/ceph.mod] Error 1
make[2]: Leaving directory `/root/rpmbuild/BUILD/ceph-9.2.0/selinux'
make[1]: *** [ceph.pp] Error 2
make[1]: Leaving directory `/root/rpmbuild/BUILD/ceph-9.2.0/selinux'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.3TtsUK (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.3TtsUK (%build)
I remember that systemd support was introduced in the latest infernalis release, and I just wonder if that, somehow, breaks the backward compatibility with older systems.

Cheers
Goncalo




--
Goncalo Borges
Research Computing
ARC Centre of Excellence for Particle Physics at the Terascale
School of Physics A28 | University of Sydney, NSW  2006
T: +61 2 93511937


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux