[CentOS] mounting nfs as httpd_sys_content_t under selinux

2007-12-07 Thread Johnny Tan
I have a NFS mount that I want apache to be able to serve files from. According to this doc: http://www.centos.org/docs/5/html/5.1/Deployment_Guide/rhlcommon-section-0097.html I should be able to mount it with a context that will allow apache to access it. But when I try the command they sug

Re: [CentOS] building a Xen guest image on straight LVM partitions?

2007-12-10 Thread Johnny Tan
Amos Shapira wrote: When I needed to build Xen guests under Debian I could follow more or less the instructions in http://preview.tinyurl.com/2oc48r and the advantage of this approach is that it allows me to setup the Xen guest directly on the LVM partition without making it consider the LVM part

Re: [CentOS] SELinux and Perl script using sendmail

2007-12-10 Thread Johnny Tan
Miark wrote: I have a webpage feedback form that uses a Perl script to send e-mails with "| /usr/sbin/sendmail -t". It works just fine, but SELinux is complaining about it: SELinux is preventing /usr/sbin/postdrop (postfix_postdrop_t) "getattr" to pipe:[41117] (httpd_t) I'm a SELinux newb so

Re: [CentOS] building a Xen guest image on straight LVM partitions?

2007-12-10 Thread Johnny Tan
Ross S. W. Walker wrote: Johnny Tan wrote: Amos Shapira wrote: When I needed to build Xen guests under Debian I could follow more or less the instructions in http://preview.tinyurl.com/2oc48r and the advantage of this approach is that it allows me to setup the Xen guest directly on the

[CentOS] mysql 5.1 rpm spec file?

2007-12-13 Thread Johnny Tan
Does Red Hat make available spec files for future releases? I took the existing mysql 5.0 spec file and, with a few mods here and there, was able to build the 5.1 rpm. But there are some new things which I am curious how they will deal with (ndb stuff, primarily), and was wondering if they have

Re: [CentOS] Making a NAS/HFS server

2008-01-09 Thread Johnny Tan
Steve Campbell wrote: I don't understand, though, how it could have been populated with Mac stuff unless it either had a Mac fs or something or the sorts. A Mac wrote the data, but I'm not sure what type of format the system had. I really don't have a clue about this or how to fix up the NAS if

Re: [CentOS] Making a NAS/HFS server

2008-01-10 Thread Johnny Tan
Steve Campbell wrote: I have no need to use these original files other than to have them as a backup source for the originals. I think I'm hearing everyone say just to mount my Centos partition on a Mac and copy them from the Thecus to the Centos partition.. Is that the concensus here? If so

Re: [CentOS] CentOS plus mysql server

2008-01-29 Thread Johnny Tan
Johnny Hughes wrote: There is an enterprise version and a community version of mysql ... even numbered versions are enterprise ... odd numbered versions are community versions. The 5.0.54 version is the latest released enterprise version: http://dev.mysql.com/doc/refman/5.0/en/releasenotes-es

[CentOS] rsyslog repo?

2008-03-05 Thread Johnny Tan
Does anyone know of a CentOS-5 (el5) repo for rsyslog, that's being maintained on a relatively regular basis? I checked all the usual suspects (dag, karan, epel, etc.), but they either don't have rsyslog at all, or they have an old version. Currently, I'm doing a rebuild of the Fedora-8 srpm,

Re: [CentOS] rsyslog repo?

2008-03-05 Thread Johnny Tan
Karanbir Singh wrote: I am maintaining rsyslog quite regularly, and if you find the version lag a bit in my repo its because I found something broken or something wrong with their release. I'm definitely all for stable, non-broken software even if it lags behind -- even way behind. But I'm

Re: [CentOS] rsyslog repo?

2008-03-06 Thread Johnny Tan
Milton Calnek wrote: I'm pretty keen on trying out rsyslog. So I added Karanbir's repo... or I tried. I still can't find rsyslog. fwiw, I poked around http://centos.karan.org/el5/extras/stable/x86_64/RPMS/ and I couldn't find _any_ rpms. As mentioned, it's in testing, not stable: http://centos

Re: [CentOS] rsyslog repo?

2008-03-07 Thread Johnny Tan
Karanbir Singh wrote: in the case of rsyslog, thats not the case :D I had a play with the 3.x tree today, and it *looks* ok to me. So might as well inflict it upon everyone else considering its in the Testing Repo, no sane person will use it in Production. Right ? I shall have updated package

Re: [CentOS] rsyslog repo?

2008-03-07 Thread Johnny Tan
Milton Calnek wrote: Johnny Tan wrote: I've got mine working finally, but I definitely look forward to seeing v3 in your testing repo! Let me know if I can help in any way. What version are you using? I'm trying 2.0.2 and having problems with zlib. I did both 2.0.2 and 3.11

[CentOS] rpm build machines

2008-03-18 Thread Johnny Tan
How similar should my rpm build machine be to my target deploy machines? Like, do you have to build on a multi-core machine if you plan to run on a multi-core machine? Or as long as the arch is the same, nothing else matters? johnn ___ CentOS mailing

[CentOS] using conf.d files to override options in httpd.conf

2008-04-03 Thread Johnny Tan
Like many of you, I like to avoid modifying /etc/httpd/conf/httpd.conf as much as possible. Instead, modifying or adding files in /etc/httpd/conf.d However, because /var/www/html is declared within the main httpd.conf and certain directives are set along with "AllowOverride None" (thus forbid

Re: [CentOS] Centos 5 yum update needs gpg key import

2007-07-11 Thread Johnny Tan
Scott Ehrlich wrote: Could someone kindly remind me the path to the keys, or simply the one-liner rpm to import the keys? It should be right on the root of the CD, called: RPM-GPG-KEY-CentOS-5 (you can also import it off of any mirror) But that's really strange because on my CentOS 5 install,

[CentOS] central logging/analysis

2007-11-14 Thread Johnny Tan
I'm interested in doing centralized logging & analysis of logs from my CentOS boxes. I messed around with syslog-ng and it seems like it's a better syslog. But I noticed most of the "usual suspects" of third-party repo maintainers (Dag, Axel, etc.) don't include it. Karanbir has an el4 versio

Re: [CentOS] central logging/analysis

2007-11-15 Thread Johnny Tan
David Hrbác wrote: BTW "upstream" Fedora goes rsyslog way. http://fedoraproject.org/wiki/Releases/FeatureRsyslog?highlight=%28syslog%29 I was reading about this just the other day. Is anyone using rsyslog? johnn ___ CentOS mailing list CentOS@cento

Re: [CentOS] Announcing the CentOS on Laptops initiative

2007-11-27 Thread Johnny Tan
Lorenzo Quatrini wrote: I'm actually using CentOS on 2 laptops, and I have really few issues: on the newer one (a Lenovo) the only thing that doesn't work is sound (I know the newer alsa drivers would work, but I'm too lazy to install them: I'll wait for the updates) but it isn't a big deal: I'

Re: [CentOS] Announcing the CentOS on Laptops initiative

2007-11-27 Thread Johnny Tan
Karanbir Singh wrote: The idea of profiles has been around for about 4 - 5 years on EL/CentOS/Fedora platforms. eg: http://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1-network-profiles.html D'oh! I've been using Network Manager for about that many years too, and didn't realize I could

Re: [CentOS] In the market for a new (old) laptop

2007-06-26 Thread Johnny Tan
Robert Moskowitz wrote: Don't know what it will be, but I am not suppose to swap its drives out and I continue to use this HP Compaq nc4010 as my Linux workhorse. Robert: I'm also looking for an ultralight notebook to bring to datacenters with me. The nc4010 sounds pretty good (just looked it

Re: [CentOS] In the market for a new (old) laptop

2007-06-27 Thread Johnny Tan
Robert Moskowitz wrote: I pretty much love my nc4010. I got it May, '05. It has the 'most recent' bios on it... Thanks Robert, a very good and detailed review. Some of the stuff isn't applicable to me, but others definitely are concerning (particularly the overheating and the USB connector

Re: [CentOS] using centos utilities to extract windows self-extracted files

2007-06-29 Thread Johnny Tan
Bob Chiodini wrote: Dave wrote: Hello, I was wondering if anyone has used centos utilities to extract a windows self-extracting .exe file? I've got one that's coming in and i need to extract and scan it. Unzip should do it, if it's a self-extracting Zip file. cabextract from the extras

Re: [CentOS] Recommendation for PCI-e SATA RAID 5 card?

2009-10-21 Thread Johnny Tan
Joseph L. Casale wrote: > I use the LSI's, they are pretty solid with a good cli, snmp and rhel > support. Sorry to hijack, but really quick question. What cli do you use for the LSI cards? Do you have a URL? johnny ___ CentOS mailing list CentOS@cento

[CentOS] sox rpm for el5?

2009-12-14 Thread Johnny Tan
I believe I used to pull sox for el5 from dag's site, but it doesn't appear to be there anymore. Nor on rpmforge, atrpms, epel. Does any (trusted/reliable) repo out there have sox built for el5? I started a rebuild of fedora-12 version, but it's a pretty major dependency hell. johnny ___

Re: [CentOS] sox rpm for el5?

2009-12-15 Thread Johnny Tan
Nicolas Thierry-Mieg wrote: > > Johnny Tan wrote: >> I believe I used to pull sox for el5 from dag's site, but it doesn't >> appear to be there anymore. Nor on rpmforge, atrpms, epel. >> >> Does any (trusted/reliable) repo out there have sox built for el5

[CentOS] samba & samba-common installed then erased, but by whom?

2008-05-16 Thread Johnny Tan
I saw this in Logwatch today for one of my servers: - yum Begin Packages Installed: samba-common.i386 3.0.23c-2.el5.2.0.2 samba.i386 3.0.23c-2.el5.2.0.2 Packages Erased: samba-common samba -- yum End

Re: [CentOS] samba & samba-common installed then erased, but by whom?

2008-05-16 Thread Johnny Tan
Ned Slider wrote: and the cause is likely similar. Checking /var/log/yum.log for entries 1 year ago should confirm this. Ned/Alan: You guys hit it on the head. Thanks. I wasn't aware of this little oddity. Thanks, johnn ___ CentOS mailing list Cen

Re: [CentOS] Migrating CentOS 5 -> 6: where to put /etc/inittab respawn scripts?

2011-10-04 Thread Johnny Tan
On Oct 4, 2011 5:45 PM, "Alexander Farber" wrote: > > Where should I move my line, which docs to read? Like recent Ubuntus, C6 uses upstart in place of traditional Sys V init. Likely, you will want this in /etc/init/ -- note!, not the same as /etc/init.d/ johnny

[CentOS] "core" installs of 5.2 missing crucial packages like yum, selinux-policy-targeted, vim-minimal, etc.

2008-10-28 Thread Johnny Tan
I had a 5.0 kickstart server which did "core" installs of CentOS (i.e.: "%packages --nobase"). I recently setup a 5.2 kickstart server. Using the same kickstart configs, I notice a few packages are always missing, notably: yum (!!), selinux-policy-targeted (even though I have "selinux --enfor

Re: [CentOS] "core" installs of 5.2 missing crucial packages like yum, selinux-policy-targeted, vim-minimal, etc.

2008-10-28 Thread Johnny Tan
Filipe Brandenburger wrote: Hi, On Tue, Oct 28, 2008 at 15:34, Johnny Tan <[EMAIL PROTECTED]> wrote: I had a 5.0 kickstart server which did "core" installs of CentOS (i.e.: "%packages --nobase"). IMHO, that's a very bad idea. Unless your diskspace is very very

Re: [CentOS] "core" installs of 5.2 missing crucial packages like yum, selinux-policy-targeted, vim-minimal, etc.

2008-10-29 Thread Johnny Tan
Kai Schaetzl wrote: Johnny Tan wrote on Tue, 28 Oct 2008 15:34:29 -0400: I had a 5.0 kickstart server which did "core" installs of CentOS (i.e.: "%packages --nobase"). And you have a @core in there as well? No, but adding that seems to work. In our 5.0 kickstart setu

[CentOS] LVM lvresize/lvextend requires some space in /etc to grow a logical volume?

2011-09-19 Thread Johnny Tan
Side note: In CentOS-6, I noticed a new option in lvresize / lvextend: -r, --resizefs Resize underlying filesystem together with the logical volume using fsadm(8). Nice. Two steps (lvresize and resize2fs) can now be combined into one! Works great. But that has

Re: [CentOS] LVM lvresize/lvextend requires some space in /etc to grow a logical volume?

2011-09-19 Thread Johnny Tan
On Mon, Sep 19, 2011 at 9:38 PM, Stefan Held wrote: > Am Montag, den 19.09.2011, 19:15 -0400 schrieb Johnny Tan: >> Anyway, here's the real issue with LVM, at least in CentOS-6: >> > You would deal with the same issues in older lvm versions. Thanks Stefan. I guess I just n

Re: [CentOS] LVM lvresize/lvextend requires some space in /etc to grow a logical volume?

2011-09-19 Thread Johnny Tan
On Mon, Sep 19, 2011 at 10:19 PM, Keith Keller wrote: > On Mon, Sep 19, 2011 at 07:15:09PM -0400, Johnny Tan wrote: >> Anyway, here's the real issue with LVM, at least in CentOS-6: >> >> [root@jttest ~]# df >> Filesystem           1K-blocks      Used Availabl

[CentOS] amazon ec2 and centos?

2010-06-07 Thread Johnny Tan
Searching through the archives, it seems this topic has come up several times in the past 2.5 years. Did anyone ever take on the tasks of creating an official CentOS AMI? We're currently using the RightScale ones, but I think it'd be ideal to have a clean CentOS AMI with the current kernels. Kara

Re: [CentOS] amazon ec2 and centos?

2010-06-11 Thread Johnny Tan
On 06/08/2010 07:45 AM, Karanbir Singh wrote: > Ideally, what I would like to do is get together some people who have an > interest in this; not associated with any $commercial provider, and see > if we can get some level of QA testing done. I dont really want anything > 'official' unless we can

Re: [CentOS] amazon ec2 and centos?

2010-06-18 Thread Johnny Tan
On 06/11/2010 02:17 PM, Karanbir Singh wrote: > Ok, so since there is some level of interest and a few people have > offered to test, let me get something together and post some details Our AWS technical reps stopped by our office the other day. They said the primary issue with CentOS in terms of

Re: [CentOS] amazon ec2 and centos?

2010-06-18 Thread Johnny Tan
On 06/18/2010 04:55 PM, Karanbir Singh wrote: > Please dont communicate to them or anyone else that the CentOS project > or people representing it will agree to be bound under any NDA that they > didnt sign themselves. And certainly not when done by proxy. This was definitely not what we communica

Re: [CentOS] load balancer recommendations

2013-01-20 Thread Johnny Tan
On Sat, Jan 19, 2013 at 9:42 PM, Brian Mathis < brian.mathis+cen...@betteradmin.com> wrote: > Add another vote for HAproxy. It's excellent at what it does, as long > as it meets your requirements. It's main purpose is to load balance > HTTP traffic, and it can maintain session using a cookie. I

[CentOS] latest freeIPA on CentOS

2014-07-14 Thread Johnny Tan
We're looking to run freeipa on CentOS-6.5. It seems the version available for 6.5 is 3.0, whereas the latest 3.x is 3.3.5 (available in F19 & 20). And now I see 4.0 was just released and will be in F21 (with support for native OTP-based 2FA!). Has anyone attempted rebuilds against the F19/20 3.

Re: [CentOS] latest freeIPA on CentOS

2014-07-14 Thread Johnny Tan
On Mon, Jul 14, 2014 at 3:02 PM, Jitse Klomp wrote: > ​RH will *not* do a backport of 3.3 to RHEL 6.x. > > Alexander Bokovoy (from Red Hat) on the freeipa-users list (feb. 17): > "RHEL 6.x lacks many of the dependencies required for IPA 3.3. Newer > MIT Kerberos (with API and ABI change for KDC d