From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from jazzhorn.ncsc.mil (mummy.ncsc.mil [144.51.88.129]) by tarius.tycho.ncsc.mil (8.13.1/8.13.1) with SMTP id l72GZECU003703 for ; Thu, 2 Aug 2007 12:35:14 -0400 Received: from exchange.columbia.tresys.com (jazzhorn.ncsc.mil [144.51.5.9]) by jazzhorn.ncsc.mil (8.12.10/8.12.10) with SMTP id l72GZDOD020098 for ; Thu, 2 Aug 2007 16:35:13 GMT Message-ID: <46B207B3.6040703@manicmethod.com> Date: Thu, 02 Aug 2007 12:34:59 -0400 From: Joshua Brindle MIME-Version: 1.0 To: KaiGai Kohei CC: fedora-selinux-list@redhat.com, KaiGai Kohei , selinux@tycho.nsa.gov Subject: Re: SE-PostgreSQL for Fedora (Re: Guideline for RPM packages) References: <46681714.3030009@kaigai.gr.jp> <1181227502.11979.24.camel@moss-spartans.epoch.ncsc.mil> <46681ED6.1010408@kaigai.gr.jp> <46A861F6.10709@ak.jp.nec.com> <46A8CAE0.7030809@kaigai.gr.jp> In-Reply-To: <46A8CAE0.7030809@kaigai.gr.jp> Content-Type: text/plain; charset=ISO-2022-JP Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov KaiGai Kohei wrote: > By the way, I'm seeking sponsors who can review SE-PostgreSQL package. > > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=249522 > > If you can volunteer the reviewing process, please contact me. > So, I tried grabbing the sepostgres srpm and building it (you didn't provide an x86_64 rpm) and I get these compilation errors: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -g -D SECCLASS_DATABASE= -I../../../src/include -D_GNU_SOURCE -c -o sepgsqlCore.o sepgsqlCore.c sepgsqlCore.c: In function 'sepgsqlGetDatabaseContext': sepgsqlCore.c:792: error: expected expression before ')' token sepgsqlCore.c: In function 'sepgsqlInitialize': sepgsqlCore.c:836: error: expected expression before ',' token sepgsqlCore.c:854: error: expected expression before ',' token make[3]: *** [sepgsqlCore.o] Error 1 make[3]: Leaving directory `/usr/src/redhat/BUILD/postgresql-8.2.4/src/backend/security' make[2]: *** [security-recursive] Error 2 As an aside to this, I notice that you tried to integrate policy management into the RPM, and I had to modify my spec file to not do this because I have my own custom policies on the system. I don't think this is the best way, long term, to handle policy integration, though, unfortunately, I don't have any better suggestions. This is something I intend to look into soon though so I'll provide some feedback on the previous thread when I have something useful to say :) -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.