X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 93A0052808 for ; Fri, 6 May 2005 12:33:30 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 31309-01 for ; Fri, 6 May 2005 15:33:27 +0000 (GMT) Received: from emo.org.tr (unknown [195.142.106.94]) by svr1.postgresql.org (Postfix) with ESMTP id 7DEEE53497 for ; Fri, 6 May 2005 12:33:26 -0300 (ADT) Received: by emo.org.tr (Postfix, from userid 41643) id 084352FD9C; Fri, 6 May 2005 18:33:21 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by emo.org.tr (Postfix) with ESMTP id EA3B71122BD; Fri, 6 May 2005 18:33:21 +0300 (EEST) Date: Fri, 6 May 2005 18:33:20 +0300 (EEST) From: Devrim GUNDUZ X-X-Sender: devrim2@emo.org.tr To: Tom Lane Cc: Jeff - , pgsql-docs@postgresql.org Subject: Re: SELinux & Redhat In-Reply-To: <14695.1115393034@sss.pgh.pa.us> Message-ID: References: <14695.1115393034@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.058 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200505/8 X-Sequence-Number: 2973 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, On Fri, 6 May 2005, Tom Lane wrote: > Jeff - writes: >> Eventually we found it was SELinux was preventing pg_dump from >> producing output. > > That's a new one on me. Why was it doing that --- mislabeling on > the pg_dump executable, or what? Looking at the strace report that someone has sent me before, there is a problem with devices: =================================================================== fstat64(1, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfe16a8c) = -1 ENOTTY (Inappropriate ioctl for device) mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7dee000 write(1, "pg_dump dumps a database as a te"..., 2367) = 2367 munmap(0xb7dee000, 4096) = 0 exit_group(0) = ? =================================================================== This one is from a server with SELinux enabled. My server does not produce this, and uses virtual console (as expected?). However with SELinux enabled, it wants to use ramdisk (expected? I think no...) Regards, - -- Devrim GUNDUZ devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr http://www.tdmsoft.com.tr http://www.gunduz.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCe45Btl86P3SPfQ4RAhpbAJ0UhBh8dlOEpPsNm2NB1QIJ82X2swCg7JOg A1OCBrZRHxoOPQo0U9hNdNY= =ENTC -----END PGP SIGNATURE-----