Re: [CentOS-docs] Encrypting tmp swap and home
Chris * wrote: I had submitted a document to this list a few weeks back that gave instructions for whole disk encryption which would cover /tmp /home /swap and everything other than /boot. I did not ask for space in the wiki because i thought it was waiting for peer review for accuracy. That entire thread seemed to simply die so I haven't pursued the wiki any further. I already have this document in a wiki format at work and would be happy to submit it to the CentOS wiki should it pass muster. The contents of my last post are: Ooops, that must have slipped by me, sorry. Got a wiki account? Whole (Most) Disk Encryption on CentOS 5 Good. I'm going to move the TipsAndTricks EnctyptedFileSystem to the HowTo section also, and we can create that page too. Cheers, Ralph pgpD8uenvDJwg.pgp Description: PGP signature ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-docs] Encrypting tmp swap and home
Max Hetrick wrote: To further explain things, MoinMoin starts off headers with = Title 1 = and here's the problem with the html2wiki converter, it actually doesn't convert the h1 correctly with how I would logically think it should work. I contacted the Perl developer of HTML-WikiConverter-MoinMoin and explained the problem. It's definitely a bug in the converter dialect. The author asked me to file a bug report for him on CPAN, so I did so. In the meantime, I'll use Filipe's sed script to get the output needed. In case anyone else is using this, I wanted to follow up. Changes were made to the encryption page, as well as corrections to the rest of my pages. When you get a chance, Marcus, take a look and make sure the formatting is correct. Thanks. Max ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-docs] Encrypting tmp swap and home
On Thu, Oct 16, 2008 at 09:41:12PM -0400, Chris * wrote: I had submitted a document to this list a few weeks back that gave ... nice write-up, minor typo/corrections in the text added below. Cheers, Tru Summary ... Step One: Prepare the disk The first step is to prepare the disk. The installer partitioning software doesn't have the flexibility to be able to do this, so you will need to switch to the shell and perform the setup manually. to be verified: you need to make a GUI install, the text mode installation method does not have the lvm creation feature. Once the installer has moved into the GUI, press Ctrl-Alt-F2 to get a command prompt. ... Use fdisk to create the partitions for install. You will need to create a /boot partition and an LVM partition at the end of the disk. The gap in between the two partitions will become your encrypted file-system. This document will refer to the boot partition as /dev/sda1 and the install partition at the end of the disk as /dev/sda3. The encrypted partition will become /dev/sda2. imho, should be emphasized - and some figures hinted for the minimal size of sda3 (swap+/) The partition at the end of the disk should be smaller than the empty space between /boot and your LVM partition so that there is room for the meta-data associated with the encryption. The LVM partition really only needs to be large enough to install the system. You will be able to expand the system volumes if you like after you have a working, encrypted system. ... Step Two: Installing the OS The installation must be done using the graphical installer because the text installer doesn't allow a custom installation to use LVM. should be placed above, since the installer has already started. ... Step Three: Create the encrypted partition Step Four: Configure mkinitrd for encrypted system Make a backup copy of /sbin/mkinitrd. Future updates of the mkinitrd package will overwrite it, but the changes will allow future kernel updates to properly build an initrd. Modify /sbin/mkinitrd per the patch below. The patch modifies the MODULES line so that initrd has the proper modules for encryption, adds cryptsetup to initrd, and configures initrd to open the encrypted file-system. make patch file available a the command to apply it: wget http://../mkinitrd.patch -O /tmp/mkintrd.patch cd / patch -p1 /tmp/mkinitd.patch Enter the pass-phrase. Now you can copy the contents of sda3 to the encrypted sda2. # dd if=/dev/sda3 of=/dev/mapper/lvm non dd version? vgextend + pvmove + vgreduce ? NOTE: To make the encrypted system the default system, make the above lines the first block listed in grub.conf or set the default value Once the encrypted system is confirmed to be working correctly, remove the unencrypted system. Randomize /dev/hda3 by using either shred or dd. Once ^ sda3 Use the fdisk command to resize sda2 to fill the entire disk. ... # pvresize –-setphysicalvolumesize [size of disk - /boot] /dev/mapper/lvm why not just pvresize /dev/mapper/lvm ? should it detect the size by itself? Extend the logical volumes of the system with lvextend. man lvextend for more information on the command. # lvextend -L +[size to increase the volume] /dev/VolGroup00/LogVol00 same question, here (autodetection) if you only want to extend a single logical volume. lvextend /dev/VolGroup00/LogVol00 -- Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance) http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B pgpOZJi01KE8Q.pgp Description: PGP signature ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
RE: [CentOS-docs] Encrypting tmp swap and home
Another post asked if I have a wiki account. The answer is no. I think that at this point it would be better if i did for this article. In response to some of the points by Tru: to be verified: you need to make a GUI install, the text mode installation method does not have the lvm creation feature. Very true, Tru. This detail is actually a hold-over from one of the documents that I used as a source. I have not actually tried a text-mode install but it should definitely be verified. imho, should be emphasized - and some figures hinted for the minimal size of sda3 (swap+/) Emphasis is not a problem. As for the size of sda3, I can try to clarify the sizes. The document states that sda3 should be smaller than what will become sda2 so that there is room for the encryption overhead, but as for the sizes of things such as swap and other partitions, the best I know to do is refer to CentOS/RedHat documentation. I am open to other suggestions. make patch file available a the command to apply it: wget http://../mkinitrd.patch -O /tmp/mkintrd.patch cd / patch -p1 /tmp/mkinitd.patch Is there a good place to make it available? Would something such as sourceforge be best? non dd version? vgextend + pvmove + vgreduce ? A quick google search found that this would be possible, but there is a trade-off. Section 4.1 of the page http://www.planamente.ch/emidio/docs/linux/dm-crypt/dm-crypt-4.html explains the trade-off. It's basically a single dm-crypt device with a single passphrase for the entire disk vs multiple dm-crypt devices each with it's own passphrase. If this type of option were to be added to the document, I think that it should probably go into the Optional Configurations section so that the main document can be a cookie-cutter step by step for people to follow. # pvresize –-setphysicalvolumesize [size of disk - /boot] /dev/mapper/lvm why not just pvresize /dev/mapper/lvm ? should it detect the size by itself? I believe that it will. I think I listed the command that way so that it would allude to the fact that you don't have to use the entire disk if you didn't want. You can increase the size of /dev/sda2 and still have some space on the disk for additional volumes, encrypted devices, etc. That's what the Optional Configurations area tries to detail a little more. NOTE: To make the encrypted system the default system, make the above lines the first block listed in grub.conf or set the default value True. I phrased that section with the intent that the original grub entries would be removed along with the unencrypted install in which case the entry for the encrypted system would end up with the at the default value of 0. # lvextend -L +[size to increase the volume] /dev/VolGroup00/LogVol00 same question, here (autodetection) if you only want to extend a single logical volume. lvextend /dev/VolGroup00/LogVol00 This was in case LVM was built with multiple logical volumes. You would want to specify the size of each volume that you want to increase so the first one doesn't take all space and leave no room for the others to grow. I probably need to clarify that point. Chris Date: Fri, 17 Oct 2008 09:35:00 +0200 From: [EMAIL PROTECTED] To: centos-docs@centos.org Subject: Re: [CentOS-docs] Encrypting tmp swap and home On Thu, Oct 16, 2008 at 09:41:12PM -0400, Chris * wrote: I had submitted a document to this list a few weeks back that gave ... nice write-up, minor typo/corrections in the text added below. Cheers, Tru Summary ... Step One: Prepare the disk The first step is to prepare the disk. The installer partitioning software doesn't have the flexibility to be able to do this, so you will need to switch to the shell and perform the setup manually. to be verified: you need to make a GUI install, the text mode installation method does not have the lvm creation feature. Once the installer has moved into the GUI, press Ctrl-Alt-F2 to get a command prompt. ... Use fdisk to create the partitions for install. You will need to create a /boot partition and an LVM partition at the end of the disk. The gap in between the two partitions will become your encrypted file-system. This document will refer to the boot partition as /dev/sda1 and the install partition at the end of the disk as /dev/sda3. The encrypted partition will become /dev/sda2. imho, should be emphasized - and some figures hinted for the minimal size of sda3 (swap+/) The partition at the end of the disk should be smaller than the empty space between /boot and your LVM partition so that there is room for the meta-data associated with the encryption. The LVM partition really only needs to be large enough to install the system. You will be able to expand the system volumes if you like after you have a working, encrypted system. ... Step Two: Installing the OS The installation must be
RE: [CentOS] new list proposal
Craig White scribbled on Thursday, October 16, 2008 4:24 PM: If you are going to go to multiple lists, might I suggest that you have 1 system-admins list and 1 general-users list and you can tightly control the system-admins list. I think you're on to something here. I assume you mean the general-users list would have a higher roof, correct? /S smime.p7s Description: S/MIME cryptographic signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] avahi and mDNS
Trying to figure out how to make it work. Seems as though it should be pretty easy. installed package (from yum search) avahi-compat-libdns_sd.i386 : Libraries for Apple Bonjour mDNSResponder compatibility. /etc/nsswitch.conf altered line so it reads, hosts: files dns mdns mdns4 started avahi-dnsconfd service (don't know that it's needed) restarted avahi-daemon service but the syslog says... Oct 17 00:07:41 srv-adv avahi-daemon[12618]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns! and there is no package that I am aware of called nss-mdns, at least yum search doesn't turn up anything other than the avahi-compat-libdns_sd that I installed above. Anyone know what I am missing? Craig ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CGI configuration - second post
This is my second request for help with this problem. I have followed the suggestions given the first time and made some progress but I still have one final problem/question. I have two CGI scripts that don't work. One is the standard Set-Cookie, examples can be found all over the net, that sets a cookie and prints Your cookie name is set. The other is an automatic installation script that comes from commerce-cgi.com and is for installing their CGI shopping cart. Both of these scripts are now located in /var/www/cgi-bin/ and the folder and the scripts are set to apache:apache 755. BTW a setting of root:root also fails exactly the same way. If I run either of these scripts from a browser using www.domain.com it fails. If I run it from a browser using www.domain.com/cgi-bin/install.cgi or www.domain.com/cgi-bin/techtest.cgi it works. I have tried using a one line index.shtml file with that one line being either !--#include virtual=/cgi-bin/install.cgi-- or !--#exec cgi=/cgi-bin/install.cgi-- and they both fail. They do find and execute the script. The set cookie script prints the Your cookie name is set. message OK but the cookie is not sent to the browser. The install script loads the first HTML page ok but does not load the second page. I had a friend-of-a-friend IT guy that I trust look at everything. He hasn't found anything obvious. If he tries to run either of these scripts from his computer, it works OK. Can someone here help me understand why this is happening? Mel PS posts in other online places (as suggested here) did not get any replies. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Shipping CentOS as part of a solution
I have not found a definitive answer to this question on the CentOS site yet. We develop and sell a server based application as an appliance in which, in general, the customer does not have direct access to the operating system. My question is, are we allowed to use CentOS as the underlying operating system and if so what licence considerations are there or what licence information would we need to include for our customers? Thanks Mark Maskery ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] new list proposal
Niki Kovacs wrote: Given the popularity of this thread, I suggest creating a [EMAIL PROTECTED] list, where folks can discuss list-related stuff. Popular huh? Let as see some stats on the posts by user * Karanbir Singh (15) * Spike Turner (10) * Spiro Harvey (8) * Kenneth Price (5) * Frank Cox (4) * Bob Taylor (4) * John Hinton (3) * MHR (3) CentOS is supposed to be a community supported distro unlike the one where some guy respun it for his library and so could do whatever he wanted. Fedora has not seen a need to split the main list but has addressed the problem of OT posts or posts without research in the wiki page http://fedoraproject.org/wiki/Communicate Upstream/Fedora may be blamed by some but the way they have handled this is real professional. Who would like the mailing list to be as fragmented as the CentOS forum? Fragmentation means erosion of the userbase and is not good for the community. Spike. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] What keeps logging to my console?
Hi folks, I have lots of messages like these appearing on my local CentOS 5.2 consoles: Oct 17 12:03:29 machine kernel: printk: 1 messages suppressed. Oct 17 12:03:29 machine kernel: pbond0: received packet with own address as source address I have disabled console logging in syslog.conf, and even if I shut down syslog and kernel logger, the messages keep coming on the local consoles (not on remote consoles). So the question is: What process logs directly to the console bypassing syslog/kernel log facilities? How can I find where to stop that? Thanks for any hint or help. Dirk ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ls and rm: argument list too long
On 2008-10-17 11:30, Jussi Hirvi wrote: Since when is there a limit in how long directory listings CentOS can show (ls), or how large directories can be removed (rm). It is really annoying to say, for example rm -rf /var/amavis/tmp and get only argument list too long as feedback. Is there a way to go round this problem? I have CentOS 5.2. I believe you gave a bad example! In the command rm -rf /var/amavis/tmp the argument list is not at all very long. However if you did: rm -rf /var/amavis/tmp/* then the argument list could be very long depending on the number of entries there are in the subdirectory. You have to understand that globbing is done by the shell before starting the command. The result of the glob is what makes the argument list too long; it needs to fit in a buffer (about 128K bytes on a default CentOS install I believe). If you want the to remove the subfolders and files, and not the parent folder itself, on CentOS 5, try this: cd /var/amavis/tmp rm -rf * Doing a cd makes the resulting of the globbing much shorter, maybe fixing your problem already. If still too long, then try: find . -maxdepth 1 -exec rm -rf {} + You could even try things like: cd /var/amavis/tmp rm a* rm *0 ...etc... Any glob pattern resulting in less arguments for the command to avoid overflowing the 128K buffer is good. On CentOS 4, the '+' variant of -exec does not exist, and you need to do: find . -maxdepth 1 -exec rm -rf {} \; # one rm command for each arg or find . -maxdepth 1 -print0 | xargs -0 rm -rf # less resource intensive -- Paul Bijnens, xplanation Technology ServicesTel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *** * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, ^^, * * F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * * init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... * * ... Are you sure? ... YES ... Phew ... I'm out * *** ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Shipping CentOS as part of a solution
Mark Maskery a écrit : We develop and sell a server based application as an appliance in which, in general, the customer does not have direct access to the operating system. My question is, are we allowed to use CentOS as the underlying operating system and if so what licence considerations are there or what licence information would we need to include for our customers? Yes, you are allowed to do that. And if your business runs well, consider a donation to CentOS. Cheers, Niki Kovacs ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] new list proposal
Spike Turner wrote: Ralph Angenendt wrote: Out of curiosity which major linux distro operates a fragmented mailing list such as the one proposed? https://www.redhat.com/mailman/listinfo http://lists.debian.org/completeindex.html https://lists.ubuntu.com/ https://ml.mandriva.net/wws/lists Compared to those CentOS really has few lists. So the need for a new list is to compete with the big boys rather than improving the CentOS community? No, I was just answering your question. Those are full-flavoured distros with hundreds of thousands if not millions of users. Oh, you know how many users CentOS has? Care to share? Ralph pgpBXkTM3H1LW.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] ls and rm: argument list too long
piping ls to xargs should do the trick. man xargs for details. Ok, thanks for ideas, Laurent and Lawrence. A strange limitation in ls and rm, though. My friend said he hasn't seen that in Fedora. Are you sure you are comparing apples to apples? There is nothing particularly Centos specific about this problem. I've seen it on a variety of *NIX systems over the years, though I presume some distributions or UNIX variants may have upped the buffer size. Here is an interesting blog post which illustrates how you can get into this kind trouble: http://stevenroddis.com/2006/10/07/binrm-argument-list-too-long/index.html -geoff ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CGI configuration - second post
tech wrote: If I run either of these scripts from a browser using www.domain.com it fails. If I run it from a browser using www.domain.com/cgi-bin/install.cgi or www.domain.com/cgi-bin/techtest.cgi it works. Yes. Look at ScriptAlias in the config. And at the SELinux contexts in that directory. I have tried using a one line index.shtml file with that one line being either !--#include virtual=/cgi-bin/install.cgi-- or !--#exec cgi=/cgi-bin/install.cgi-- and they both fail. Yikes! Calling www.domain.com/cgi-bin/install.cgi is the correct way, using SSI together with cgi scripts calls for trouble. And next time you ask something please include *error* messages. Ralph pgpbFBgd7whZW.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ls and rm: argument list too long
Jussi Hirvi wrote: Lawrence Guirre ([EMAIL PROTECTED]) kirjoitteli (17.10.2008 12:55): piping ls to xargs should do the trick. man xargs for details. Ok, thanks for ideas, Laurent and Lawrence. A strange limitation in ls and rm, though. My friend said he hasn't seen that in Fedora. Than he doesn't have as many files in the directory as you have: #define ARG_MAX 131072/* # bytes of args + environ for exec() */ That's from /usr/include/linux/limits.h. Also see http://partmaps.org/era/unix/arg-max.html Ralph pgpeirx03Id1f.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] ls and rm: argument list too long
Since when is there a limit in how long directory listings CentOS can show (ls), or how large directories can be removed (rm). It is really annoying to say, for example rm -rf /var/amavis/tmp and get only argument list too long as feedback. Is there a way to go round this problem? I have CentOS 5.2. - Jussi -- Jussi Hirvi * Green Spot Topeliuksenkatu 15 C * 00250 Helsinki * Finland Tel. fax +358 9 493 981 * Mobile +358 40 771 2098 (only sms) [EMAIL PROTECTED] * http://www.greenspot.fi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ls and rm: argument list too long
Lawrence Guirre ([EMAIL PROTECTED]) kirjoitteli (17.10.2008 12:55): piping ls to xargs should do the trick. man xargs for details. Ok, thanks for ideas, Laurent and Lawrence. A strange limitation in ls and rm, though. My friend said he hasn't seen that in Fedora. - Jussi -- Jussi Hirvi * Green Spot Topeliuksenkatu 15 C * 00250 Helsinki * Finland Tel. fax +358 9 493 981 * Mobile +358 40 771 2098 (only sms) [EMAIL PROTECTED] * http://www.greenspot.fi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ls and rm: argument list too long
piping ls to xargs should do the trick. man xargs for details. Jussi Hirvi wrote: Since when is there a limit in how long directory listings CentOS can show (ls), or how large directories can be removed (rm). It is really annoying to say, for example rm -rf /var/amavis/tmp and get only argument list too long as feedback. Is there a way to go round this problem? I have CentOS 5.2. - Jussi -- Jussi Hirvi * Green Spot Topeliuksenkatu 15 C * 00250 Helsinki * Finland Tel. fax +358 9 493 981 * Mobile +358 40 771 2098 (only sms) [EMAIL PROTECTED] * http://www.greenspot.fi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: ls and rm: argument list too long
Jussi Hirvi wrote: Lawrence Guirre ([EMAIL PROTECTED]) kirjoitteli (17.10.2008 12:55): piping ls to xargs should do the trick. man xargs for details. Ok, thanks for ideas, Laurent and Lawrence. A strange limitation in ls and rm, though. My friend said he hasn't seen that in Fedora. This limitation has been removed from more recent kernels. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b6a2fea39318e43fee84fa7b0b90d68bed92d2ba http://www.gnu.org/software/coreutils/faq/#Argument-list-too-long Jeremy ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ls and rm: argument list too long
2008/10/17 Jussi Hirvi [EMAIL PROTECTED]: Since when is there a limit in how long directory listings CentOS can show (ls), or how large directories can be removed (rm). It is really annoying to say, for example rm -rf /var/amavis/tmp and get only argument list too long as feedback. Is there a way to go round this problem? I have CentOS 5.2. - Jussi try something like: for i in /var/amavis/tmp/* do rm -rf $i done Laurent ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to view djvu files?
Marko Vojinovic wrote: On Fedora I used to use djvulibre package for djvu files, but I cannot seem to find this in any CentOS repositores out there. Google also does not help, nor searching list archives. :-( I have found the .rpm file for RHEL 4, but when I tried to install it (hoping that it just might work) rpm refused to install with the error: file /usr/share/mimelnk/image/x-djvu.desktop from install of djvulibre-3.5.17-1.el4.rf conflicts with file from package kdelibs-3.5.4-16.el5.centos CentOS 5.2, fully updated. You cannot get an rpm for CentOS 4 and hope it will just work on CentOS 5. What repositories have you got configured as djvulibre-3.5.17-1.el4.rf is for el4? Try and use yum with properly configured 3rd party repos or you will break your system chunking in rpms from all over the place. See http://wiki.centos.org/PackageManagement/Yum Spike. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS-announce Digest, Vol 44, Issue 11
Send CentOS-announce mailing list submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than Re: Contents of CentOS-announce digest... Today's Topics: 1. CentOS 4.7 Server CD - i386 Released (Karanbir Singh) 2. CentOS 4.7 Server CD - x86_64 Released (Karanbir Singh) -- Message: 1 Date: Fri, 17 Oct 2008 01:21:50 +0100 From: Karanbir Singh [EMAIL PROTECTED] Subject: [CentOS-announce] CentOS 4.7 Server CD - i386 Released To: [EMAIL PROTECTED], [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed The single CD server install for CentOS 4.7 / i386 has now been released and is available from all active mirrors. The ISO is available on bit-torrent, via the torrent file : http://mirror.centos.org/centos/4/isos/i386/CentOS-4.7.ServerCD-i386.torrent Sha1sum for the torrent file is: 779adf04b554ee01d05520936bb406a16a85d45c md5sum for the CentOS 4.7 ServerCD / i386 is : 429c3c5d627682d5d9e8084c8e5456cd CentOS-4.7.ServerCD-i386.iso sha1sum for the CentOS 4.7 ServerCD / i386 is: 6272d724f0abb95d2a5652724fe6b3740706d543 CentOS-4.7.ServerCD-i386.iso You can find a local mirror to download from here: http://isoredirect.centos.org/centos/4/isos/i386/ - We appreciate all feedback, including RFE's and bug notifications. Notes: 1. This installer will only work with i686 based cpu's ( no K6, older Via C2 / C3 support ) 2. The included packages are a subset of all packages available in the CentOS distribution, however yum has been pre-configured to use the entire repository. 3. In order to ensure that drivers and other third party apps maintain compatibility, the package set used on the Server CD is from Release time CentOS 4.7, you are strongly encouraged to run a 'yum update' immediately after installation. 4. As some of you will notice, the iso size is lower than the 650mb acceptable for a single CD. Feedback on what other packages should be aded or removed from this Single CD for the next release are very welcome. Enjoy! -- Karanbir Singh CentOS Project { http://www.centos.org/ } irc: z00dax, [EMAIL PROTECTED] -- Message: 2 Date: Fri, 17 Oct 2008 01:38:34 +0100 From: Karanbir Singh [EMAIL PROTECTED] Subject: [CentOS-announce] CentOS 4.7 Server CD - x86_64 Released To: [EMAIL PROTECTED], [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed The single CD server install for CentOS 4.7 / x86_64 has now been released and is available from all active mirrors. The ISO is available on bit-torrent, via the torrent file : http://mirror.centos.org/centos/4/isos/x86_64/CentOS-4.7.ServerCD-x86_64.torrent Sha1sum for the torrent file is: 67f17d202957ed7ca0008892aad101f1c9b41956 md5sum for the CentOS 4.7 ServerCD / i386 is : 241218f19994cfae40627e6cd82549e5 CentOS-4.7.ServerCD-x86_64.iso sha1sum for the CentOS 4.7 ServerCD / i386 is: a9ce59148663e7697d509ec8c516f864c1912d13 CentOS-4.7.ServerCD-x86_64.iso You can find a local mirror to download from here: http://isoredirect.centos.org/centos/4/isos/x86_64/ - We appreciate all feedback, including RFE's and bug notifications. Notes: 1. Since there are no 32bit packages included in this CD, the resulting install will be 64bit clean. 2. The included packages are a subset of all packages available in the CentOS distribution, however yum has been pre-configured to use the entire repository. 3. In order to ensure that drivers and other third party apps maintain compatibility, the package set used on the Server CD is from Release time CentOS 4.7, you are strongly encouraged to run a 'yum update' immediately after installation. 4. As some of you will notice, the iso size is lower than the 650mb acceptable for a single CD. Feedback on what other packages should be aded or removed from this Single CD for the next release are very welcome. Enjoy! -- Karanbir Singh CentOS Project { http://www.centos.org/ } irc: z00dax, [EMAIL PROTECTED] -- ___ CentOS-announce mailing list [EMAIL PROTECTED] http://lists.centos.org/mailman/listinfo/centos-announce End of CentOS-announce Digest, Vol 44, Issue 11 *** ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] new list proposal
On Fri, Oct 17, 2008 at 2:28 AM, Spike Turner [EMAIL PROTECTED] wrote: Who would like the mailing list to be as fragmented as the CentOS forum? Fragmentation means erosion of the userbase and is not good for the community. Spike. Once again you are referring to the CentOS forum. Are you saying that the forums are fragmented and therefore not good for the community ??? What is your point? By the way, you have not answered my earlier inquiry: http://lists.centos.org/pipermail/centos/2008-October/066494.html Akemi (toracat, CentOS forum MODERATOR) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] snmp question v3
Hi Do you know whether snmpwalk can work in v3? if not, how can I get the snmp v3 info Thank you Send instant messages to your online friends http://uk.messenger.yahoo.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] How to view djvu files?
Greetings to everyone! On Fedora I used to use djvulibre package for djvu files, but I cannot seem to find this in any CentOS repositores out there. Google also does not help, nor searching list archives. :-( I have found the .rpm file for RHEL 4, but when I tried to install it (hoping that it just might work) rpm refused to install with the error: file /usr/share/mimelnk/image/x-djvu.desktop from install of djvulibre-3.5.17-1.el4.rf conflicts with file from package kdelibs-3.5.4-16.el5.centos I' out of ideas. What package (or viewer) provides djvu functionality? CentOS 5.2, fully updated. Best, :-) Marko __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] snmp question v3
adrian kok wrote: Do you know whether snmpwalk can work in v3? if not, how can I get the snmp v3 info Yes. # snmpwalk --help Look at the following switches then. -a PROTOCOL -l LEVEL -u USER -x PROTOCOL -X PASSPHRASE Regards, Max ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] new list proposal
Akemi Yagi wrote: Spike Turner wrote: Who would like the mailing list to be as fragmented as the CentOS forum? Fragmentation means erosion of the userbase and is not good for the community. Spike. Once again you are referring to the CentOS forum. Are you saying that the forums are fragmented and therefore not good for the community ??? What is your point? By the way, you have not answered my earlier inquiry: http://lists.centos.org/pipermail/centos/2008-October/066494.html This is my own personal view based on :- - the differences between the fedora and centos forum - (the lack of) participation of known members in the community in the centos forum as compared to fedora. - some may not view the centos forum as fragmented but is the participation at the same level as the unfragmented mailing list? Spike. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to view djvu files?
--- On Fri, 10/17/08, Spike Turner [EMAIL PROTECTED] wrote: Marko Vojinovic wrote: You cannot get an rpm for CentOS 4 and hope it will just work on CentOS 5. What repositories have you got configured as djvulibre-3.5.17-1.el4.rf is for el4? I didn't get this rpm using yum, but by manually downloading it. Yum is configured properly: [EMAIL PROTECTED] ~]$ yum repolist Loading fastestmirror plugin repo id repo name status addons CentOS-5 - Addons enabled adobe-linux-i386 Adobe Systems Incorporatedenabled base CentOS-5 - Base enabled epel Extra Packages for Enterprise Linux 5 - enabled extras CentOS-5 - Extras enabled rpmforge Red Hat Enterprise 5 - RPMforge.net - da enabled updates CentOS-5 - Updatesenabled Try and use yum with properly configured 3rd party repos [EMAIL PROTECTED] ~]$ yum search djvu Loading fastestmirror plugin Loading mirror speeds from cached hostfile * epel: ftp-stud.hs-esslingen.de * adobe-linux-i386: linuxdownload.adobe.com * rpmforge: ftp-stud.fht-esslingen.de * base: mirror.nsc.liu.se * updates: centosh.centos.org * addons: centosh.centos.org * extras: mirror.nsc.liu.se No Matches found So yum does not help here, or I need another repository which has djvulibre package for CentOS 5.2, or some other way to be able to view djvu files. Please give some advise on this. or you will break your system chunking in rpms from all over the place. I am aware of this. In general I prefer using yum over any other option, but it seems I am out of usual options here, so I've tried the less viable ones (and was not successful). Best, :-) Marko __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Shipping CentOS as part of a solution
Mark Maskery wrote: We develop and sell a server based application as an appliance in which, in general, the customer does not have direct access to the operating system. My question is, are we allowed to use CentOS as the underlying operating system and if so what licence considerations are there or what licence information would we need to include for our customers? CentOS as a distribution is shipped under the GPL license. So your app would need to comply with and be compatible with the GPL license and all the issues that come with that. You should speak to a lawyer about what the implications might be. There are also specific considerations and requirements to using CentOS including the logo and name. I believe this is some information about that on the website. To the best of my knowledge, there is no one present on this list who would be able to give you definitive legal advice for your specific circumstances. - KB ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] new list proposal
Spike Turner wrote on Fri, 17 Oct 2008 02:28:17 -0700 (PDT): Popular huh? You didn't get the subtile irony? Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] DHCP static hosts and subnet configuration
The two subnets are not physically connected but a Client should be able to connect to Subnet A or to Subnet B as well. JohnStanley Writes: This is what is confusing. If there *NOT* Physically Connected you will never CONNECT to them. Hope you can calculate SNs ans SNMs. You can add as many Nested code blocks you need for Subnets. My advice for you is to use the 10.x.x.x range of addys to give you more subnets to work with. So give this a go. option domain-name YOU.com; option domain-name-servers 192.168.0.1, 193.190.63.172 option subnet-mask 255.255.255.0; # Global Subnet mask default-lease-time 600; max-lease-time 7200; # Here is Subnet number 1. subnet 192.168.0.0 netmask 255.255.255.240 { # Subnet for first 13 devices, 10 of which are servers, 3 printers range 192.168.0.10 192.168.0.13; # Range of IP's for our printers only. option subnet-mask 255.255.255.240; option broadcast-address 192.168.0.15; # This is the subnets broadcast address. option routers 192.168.0.14; # The gateway of this subnet. option time-servers 192.168.0.14; # Gateway is running a timeserver. option ntp-servers 192.168.0.14; # Gateway running a timeserver. } # Here is Subnet number 2. subnet 192.168.0.16 netmask 255.255.255.224 { # Subnet for 29 computers range 192.168.0.17 192.168.0.45; option subnet-mask 255.255.255.224; option broadcast-address 192.168.0.47; option routers 192.168.0.46; } group { host server1 { # the first fixed server for subnet 192.168.0.0/28 server-name server1; hardware ethernet 0a:23:f2:56:33:x0; fixed-address 192.168.0.1; } host server2 { server-name server2; hardware ethernet 0a:23:f2:56:33:x0; fixed-address 192.168.0.2; } } ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: ls and rm: argument list too long
Jeremy Sanders wrote: piping ls to xargs should do the trick. man xargs for details. Ok, thanks for ideas, Laurent and Lawrence. A strange limitation in ls and rm, though. My friend said he hasn't seen that in Fedora. This limitation has been removed from more recent kernels. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b6a2fea39318e43fee84fa7b0b90d68bed92d2ba http://www.gnu.org/software/coreutils/faq/#Argument-list-too-long It is probably still best not to expect the ability to build infinitely long command lines. You can hit some other limit eventually. -- Les Mikesell [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ls and rm: argument list too long
Yes, you are right - my example was misleading. Thanks for the very easy solution (cd into directory). Have to try it the next time. - Jussi Paul Bijnens ([EMAIL PROTECTED]) kirjoitteli (17.10.2008 13:18): I believe you gave a bad example! In the command rm -rf /var/amavis/tmp the argument list is not at all very long. However if you did: rm -rf /var/amavis/tmp/* then the argument list could be very long depending on the number of entries there are in the subdirectory. -- Jussi Hirvi * Green Spot Topeliuksenkatu 15 C * 00250 Helsinki * Finland Tel. fax +358 9 493 981 * Mobile +358 40 771 2098 (only sms) [EMAIL PROTECTED] * http://www.greenspot.fi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Shipping CentOS as part of a solution
Karanbir Singh wrote: We develop and sell a server based application as an appliance in which, in general, the customer does not have direct access to the operating system. My question is, are we allowed to use CentOS as the underlying operating system and if so what licence considerations are there or what licence information would we need to include for our customers? CentOS as a distribution is shipped under the GPL license. Which means you need to either give source or a written offer to supply it on demand for 3 years. So your app would need to comply with and be compatible with the GPL license and all the issues that come with that. Programs that are 'aggregated' by inclusion on the same media aren't necessarily affected by the OS license. The GPL requirements are only inherited if your application is derived from a GPL work, as for example, by including libraries covered by the GPL (and most, but not all have the more liberal LGPL, so you have to check this carefully whether you supply the OS or not). -- Les Mikesell [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to view djvu files?
Marko Vojinovic wrote: So yum does not help here, or I need another repository which has djvulibre package for CentOS 5.2, or some other way to be able to view djvu files. Please give some advise on this. A quick glance at the kbs repo http://centos.karan.org/ shows an rpm in testing djvulibre-3.5.19-4.el5.kb.i386.rpm but you can have a glance at the repoview. Also configure the yum plugins and the priorities of which the details are on the CentOS wiki. Hope this helps! Spike. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Shipping CentOS as part of a solution
Thank you for your input Les. Mark Original Message From: Les Mikesell Sent: 17/10/2008 14:02: Karanbir Singh wrote: We develop and sell a server based application as an appliance in which, in general, the customer does not have direct access to the operating system. My question is, are we allowed to use CentOS as the underlying operating system and if so what licence considerations are there or what licence information would we need to include for our customers? CentOS as a distribution is shipped under the GPL license. Which means you need to either give source or a written offer to supply it on demand for 3 years. So your app would need to comply with and be compatible with the GPL license and all the issues that come with that. Programs that are 'aggregated' by inclusion on the same media aren't necessarily affected by the OS license. The GPL requirements are only inherited if your application is derived from a GPL work, as for example, by including libraries covered by the GPL (and most, but not all have the more liberal LGPL, so you have to check this carefully whether you supply the OS or not). ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Shipping CentOS as part of a solution
Thanks for your response Karanbir. I will be putting this through our legal team. Mark Original Message From: Karanbir Singh Sent: 17/10/2008 13:30: Mark Maskery wrote: We develop and sell a server based application as an appliance in which, in general, the customer does not have direct access to the operating system. My question is, are we allowed to use CentOS as the underlying operating system and if so what licence considerations are there or what licence information would we need to include for our customers? CentOS as a distribution is shipped under the GPL license. So your app would need to comply with and be compatible with the GPL license and all the issues that come with that. You should speak to a lawyer about what the implications might be. There are also specific considerations and requirements to using CentOS including the logo and name. I believe this is some information about that on the website. To the best of my knowledge, there is no one present on this list who would be able to give you definitive legal advice for your specific circumstances. - KB ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] new list proposal
Spike Turner wrote on Fri, 17 Oct 2008 05:19:36 -0700 (PDT): - some may not view the centos forum as fragmented but is the participation at the same level as the unfragmented mailing list? Couldn't it be that some people simply prefer email over HTML forums? Especially those that have less time for answering other's questions? Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DHCP static hosts and subnet configuration
Hi, On Fri, Oct 17, 2008 at 08:32, John [EMAIL PROTECTED] wrote: # Here is Subnet number 2. subnet 192.168.0.16 netmask 255.255.255.224 { # Subnet for 29 computers Isn't this wrong? If the netmask is .224, it should be either 192.168.0.0-31 or 192.168.0.32-63. 192.168.0.16 does not make sense here. Filipe ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: CGI configuration - second post
Ralph Angenendt wrote: And next time you ask something please include *error* messages. Ralph, Sorry. I should have said that there is nothing in the error log. I have entries in the access log but not the error log. I had one before but I did a complete format and re-install and it is gone. Let me also say that SELinux is OFF. ScriptAlias is set and I believe it is correct. I have gone over httpd.conf carefully and had someone else look at it. The obvious things seem to be OK. I did go back and verify one thing, when the IT guy was testing and it worked for him, he was using www.domain.com/cgi-bin/install.cgi and not just www.domain.com. That also failed for him. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What keeps logging to my console?
On Fri, 2008-10-17 at 12:13 +0200, Dirk H. Schulz wrote: Hi folks, I have lots of messages like these appearing on my local CentOS 5.2 consoles: Oct 17 12:03:29 machine kernel: printk: 1 messages suppressed. Oct 17 12:03:29 machine kernel: pbond0: received packet with own address as source address I have disabled console logging in syslog.conf, and even if I shut down syslog and kernel logger, the messages keep coming on the local consoles (not on remote consoles). This has nothing to do with syslog. These are kernel printk messages. They also go to syslog for logging in files but they go straight to the kernel console as defined at bootup. Unless you have configured serial consoles, the console for the kernel is the virtual terminals. So the question is: What process logs directly to the console bypassing syslog/kernel log facilities? How can I find where to stop that? It's the kernel itself. In a VC: setterm --msg off man setterm: -msg [on|off] (virtual consoles only) Enables or disables the sending of kernel printk() messages to the console. Thanks for any hint or help. Dirk Mike -- Michael H. Warfield (AI4NB) | (770) 985-6132 | [EMAIL PROTECTED] /\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/ NIC whois: MHW9 | An optimist believes we live in the best of all PGP Key: 0xDF1DD471| possible worlds. A pessimist is sure of it! signature.asc Description: This is a digitally signed message part ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] question
I am trying to increment a filename in a script example name is 01.txt and I need to keep the leading 0's. I have no problem if the name was 1.txt, 2.txt etc... var=`expr $var + 1` however how do I keep the leading 0's? Thanks, Jerry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] question
On Fri, Oct 17, 2008 at 10:52:15AM -0400, Jerry Geis enlightened us: I am trying to increment a filename in a script example name is 01.txt and I need to keep the leading 0's. I have no problem if the name was 1.txt, 2.txt etc... var=`expr $var + 1` however how do I keep the leading 0's? printf -- Matt Hyclak Systems and Operations Office of Information Technology Ohio University (740) 593-1222 pgpmQKYpVMc8V.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CGI configuration - second post
Tech wrote on Fri, 17 Oct 2008 22:34:02 +0800: I did go back and verify one thing, when the IT guy was testing and it worked for him, he was using www.domain.com/cgi-bin/install.cgi and not just www.domain.com. That also failed for him. Of course, it does. If you have a URL http://www.example.com/path/file.htm and you want to have this file served when someone goes to http://www.example.com/ you have to do something to make this happen. There is no magic that will read your mind and then do that for you. So, if I interpreted your problem correctly you want to go to the newsgroup comp.infosystems.servers.www.unix and ask there the following: I have a script http://www.domain.com/cgi-bin/install.cgi that works fine. Now I would like to have it called when someone accesses http://www.domain.com/. How can I achieve this with my apache version x.y.z. on CentOS z.y.x? That's just four lines, no lame excuses, no lengthy description of non- related stuff. And in the right place. *This* list is *not* the right place. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: question
On Fri, Oct 17, 2008 at 10:52:15AM -0400, Jerry Geis enlightened us: / I am trying to increment a filename in a script example name is 01.txt // and I need to keep the leading 0's. I have no problem if the name was // 1.txt, 2.txt etc... // var=`expr $var + 1` // // however how do I keep the leading 0's? // / printf perfect - thanks, Jerry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to view djvu files?
--- On Fri, 10/17/08, Spike Turner [EMAIL PROTECTED] wrote: A quick glance at the kbs repo http://centos.karan.org/ shows an rpm in testing djvulibre-3.5.19-4.el5.kb.i386.rpm but you can have a glance at the repoview. Aha! Ok, I was not aware of the kbs repo. I see the djvulibre in testing, so will try it out. Hopefully there is not too much to be broken in it... :-) Thanks! :-) Marko __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] new list proposal
On Fri, Oct 17, 2008 at 5:19 AM, Spike Turner [EMAIL PROTECTED] wrote: Akemi Yagi wrote: Spike Turner wrote: Who would like the mailing list to be as fragmented as the CentOS forum? Fragmentation means erosion of the userbase and is not good for the community. Spike. Once again you are referring to the CentOS forum. Are you saying that the forums are fragmented and therefore not good for the community ??? What is your point? By the way, you have not answered my earlier inquiry: http://lists.centos.org/pipermail/centos/2008-October/066494.html This is my own personal view based on :- - the differences between the fedora and centos forum - (the lack of) participation of known members in the community in the centos forum as compared to fedora. - some may not view the centos forum as fragmented but is the participation at the same level as the unfragmented mailing list? Spike. Thanks for your reply. I wanted to know why you referred to the CentOS forums in relation to the subject of splitting the mailing list. I can go on with my response to your personal view, but doing so would be way off-topic here in this thread. Therefore, I started an open discussion session in the right place for this topic - not surprisingly - in the CentOS forum: http://www.centos.org/modules/newbb/viewtopic.php?viewmode=flattopic_id=16821forum=18 So, people who are interested, please join in and post your comments and thoughts. Thanks, Akemi (toracat, CentOS forum MODERATOR) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Recommended Configuration Control Software?
We have several dozen production Linux servers and I would like to have better control over what files are changed, by whom, when they were changed, etc. Because these are all production servers that are in use 24x7, we do not have the luxury of simply doing a clean build, taking md5sums of each file, and then doing fresh installations. I need a system that can take in-place snapshots of each server's configuration files, store them in some kind of database or text file, and notify me whenever something changes. I've used tripwire in the past - do you have any other recommendations for this type of project? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DHCP static hosts and subnet configuration
Hi, On Fri, Oct 17, 2008 at 12:37, John [EMAIL PROTECTED] wrote: On subnet 192.168.0.16 with a mask of 255.255.255.224 will give enuff ips for 29 clients. One for the broadcast addy. I think you are mistaken here, with netmask 255.255.255.224 you can have network 192.168.0.0 (from 0 to 31) and 192.168.0.32 (from 32 to 63), but not 192.168.0.16 going up to 47. The address and netmask must align, if you configure 192.168.0.16/255.255.255.224 you will actually have a network that goes from 0 to 31, not 16 to 47. Filipe ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DHCP static hosts and subnet configuration
John wrote: # Here is Subnet number 2. subnet 192.168.0.16 netmask 255.255.255.224 { # Subnet for 29 computers Isn't this wrong? If the netmask is .224, it should be either 192.168.0.0-31 or 192.168.0.32-63. 192.168.0.16 does not make sense here. On subnet 192.168.0.16 with a mask of 255.255.255.224 will give enuff ips for 29 clients. One for the broadcast addy. Primary subnet would be 192.168.x.x.0 wich can only handle 254 clients. X.16 is just taken from that SN and subnetted out into a different allocation block. I slapped it in there hopping the OP would see the that other subnets ways to configure it. Good catch Yeah, but you cannot really subnet that way: [EMAIL PROTECTED] ~]$ipcalc.pl 192.168.0.16/255.255.255.224 Address: 192.168.0.16 1100.10101000..000 1 Netmask: 255.255.255.224 = 27 ...111 0 Wildcard: 0.0.0.31 ...000 1 = Network: 192.168.0.0/27 1100.10101000..000 0 HostMin: 192.168.0.1 1100.10101000..000 1 HostMax: 192.168.0.30 1100.10101000..000 0 Broadcast: 192.168.0.31 1100.10101000..000 1 Hosts/Net: 30Class C, Private Internet Ralph pgpoD9KZDiqWN.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Recommended Configuration Control Software?
On Fri, Oct 17, 2008 at 10:41 AM, Sean Carolan [EMAIL PROTECTED] wrote: We have several dozen production Linux servers and I would like to have better control over what files are changed, by whom, when they were changed, etc. Because these are all production servers that are in use 24x7, we do not have the luxury of simply doing a clean build, taking md5sums of each file, and then doing fresh installations. I need a system that can take in-place snapshots of each server's configuration files, store them in some kind of database or text file, and notify me whenever something changes. aide comes with CentOS 4/5 and does part of what you want by doing various checksums. Tripwire will also compile for those too. The issue will be that you will want to turn off prelinking and you will want to make sure that you have configured either program to watch those programs. You can add in audit on EL-5 with a policy setup (capp/niscom/customize) to watch those files and log who/what/when the program was changed by. However none of the programs stores originals of the config files etc as you are wanting. In that case, your best bet is to turn the problem around and have the config files you want on the servers, and push them out from a central box. Then have the audit programs see if something outside of your central management changed the program. I've used tripwire in the past - do you have any other recommendations for this type of project? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Stephen J Smoogen. -- BSD/GNU/Linux How far that little candle throws his beams! So shines a good deed in a naughty world. = Shakespeare. The Merchant of Venice ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] DHCP static hosts and subnet configuration
# Here is Subnet number 2. subnet 192.168.0.16 netmask 255.255.255.224 { # Subnet for 29 computers Isn't this wrong? If the netmask is .224, it should be either 192.168.0.0-31 or 192.168.0.32-63. 192.168.0.16 does not make sense here. Filipe JohnStanley Writes: On subnet 192.168.0.16 with a mask of 255.255.255.224 will give enuff ips for 29 clients. One for the broadcast addy. Primary subnet would be 192.168.x.x.0 wich can only handle 254 clients. X.16 is just taken from that SN and subnetted out into a different allocation block. I slapped it in there hopping the OP would see the that other subnets ways to configure it. Good catch For 30 hosts per SN it would be x.1 - x.30 and x.30 being the broadcast addy. So your real close. You making me think to early in the day and made me get my calculator out. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] new list proposal
Akemi Yagi wrote: I can go on with my response to your personal view, but doing so would be way off-topic here in this thread. Therefore, I started an open discussion session in the right place for this topic - not surprisingly - in the CentOS forum: How can a forum possibly be the right place to discuss what people care about in mailing lists? At least until someone sets up a gateway... -- Les Mikesell [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] DHCP static hosts and subnet configuration
Isn't this wrong? If the netmask is .224, it should be either 192.168.0.0-31 or 192.168.0.32-63. 192.168.0.16 does not make sense here. JohnStanley Writes: Follow Up to Previous Mail!! Filipe, To early in the day for all this math. Your right saying x.31 - x.63 for that particular SN, with x.63 being the broadcast addy and x.31 the network addy. Had to think about it a little, rough day. Just put an address in there for visual anatomy so the OP could get a picture off it. Good to know soemone is payin attention. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] DHCP static hosts and subnet configuration
Felipe, JohnStanley Writes. Whoops, you Hit Send A little to Soon. Only if you waited. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Recommended Configuration Control Software?
Sean Carolan wrote: We have several dozen production Linux servers and I would like to have better control over what files are changed, by whom, when they were changed, etc. Because these are all production servers that are in use 24x7, we do not have the luxury of simply doing a clean build, taking md5sums of each file, and then doing fresh installations. I need a system that can take in-place snapshots of each server's configuration files, store them in some kind of database or text file, and notify me whenever something changes. Anything that is installed via RPM is already databased and tracked. if you edit something you have to track it yourself. I don't know of a good tool for this. For the things I edit frequently and the changes aren't obvious (like DNS zone files), I commit the changes to a CVS server that has viewcvs for easy browsing and diff-ing against earlier versions. I've used tripwire in the past - do you have any other recommendations for this type of project? Tripwire doesn't help when you need to put things back the way they were a version or two back. Backups are always a good thing and a brute-force approach would be to rsync your /etc directories off to some other machine, perhaps using the backup-dir option to keep some old versions around. Running rsync with the -v and -n options will tell you if anything changed compared to the last copy. I'm surprised that there isn't a good tool built on top of one of the version control systems that could treat similar machines as branches, though. What needs to be done is very similar to other version control concepts and everyone needs it. -- Les Mikesell [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: ls and rm: argument list too long
On Fri, Oct 17, 2008 at 4:09 AM, Jeremy Sanders [EMAIL PROTECTED] wrote: This limitation has been removed from more recent kernels. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b6a2fea39318e43fee84fa7b0b90d68bed92d2ba http://www.gnu.org/software/coreutils/faq/#Argument-list-too-long This is usually not a kernel issue at all - it is a shell issue. The limitation is the len ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DHCP static hosts and subnet configuration
Hi, On Fri, Oct 17, 2008 at 13:18, John [EMAIL PROTECTED] wrote: To early in the day for all this math. It really is! :-) Your right saying x.31 - x.63 for that particular SN, with x.63 being the broadcast addy and x.31 the network addy. Actually, x.32 to x.63, with x.32 being the network address. My personal opinion, if you're using RFC1918 addresses for internal networks, you should only use 255.255.255.0 netmasks everywhere, even though it's a network for one machine only. Dealing with netmasks is a PITA, and should be avoided unless there's a real reason to use it, for instance with valid IPs. Filipe ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] reuse the history
Hi all I want to reuse command in the shell historys Which command I can only select traceroute 192.168.0.5 to run? $ history |grep traceroute 26 traceroute 192.168.0.5 27 traceroute -n 192.168.0.5 28 traceroute 192.168.0.10 29 traceroute yahoo.com 46 traceroute 192.168.0.33 eg: history |grep traceroute | awk '{ print$2 print$3}' | grep 26 Thank you __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] DHCP static hosts and subnet configuration
Yeah, but you cannot really subnet that way: JohnStanley Writes: So let me understand that your saying that if I am Allocated and Own the IP blocks 64.x.x.33 - 64.x.x.35 that I can not Subnet them Out in any way? I have always done that between for inbetween LAN to WAN Back to LAN or VPN. Example, I have my core catalyst router with x.33 Primary INT. x.34 subnetted out to my PIX Firewall, Squid Server.Apache and etc. Most all in a DMZ certain things. Just trying to figure out what you mean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] reuse the history
ann kok wrote: Hi all I want to reuse command in the shell historys Which command I can only select traceroute 192.168.0.5 to run? $ history |grep traceroute 26 traceroute 192.168.0.5 27 traceroute -n 192.168.0.5 28 traceroute 192.168.0.10 29 traceroute yahoo.com 46 traceroute 192.168.0.33 eg: history |grep traceroute | awk '{ print$2 print$3}' | grep 26 Thank you $ !26 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DHCP static hosts and subnet configuration
Filipe Brandenburger wrote: My personal opinion, if you're using RFC1918 addresses for internal networks, you should only use 255.255.255.0 netmasks everywhere, even though it's a network for one machine only. Dealing with netmasks is a PITA, and should be avoided unless there's a real reason to use it, for instance with valid IPs. on a large WAN, /24 vlan segments are often too small.we use /20 slices of 10-net for VLAN's here. /all/ 10-net vlans are /20. we also use some 172.16-31 and 192.168 spaces, those are all /24 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] reuse the history
On Fri, 17 Oct 2008, ann kok wrote: Which command I can only select traceroute 192.168.0.5 to run? $ history |grep traceroute 26 traceroute 192.168.0.5 27 traceroute -n 192.168.0.5 28 traceroute 192.168.0.10 29 traceroute yahoo.com 46 traceroute 192.168.0.33 csh history !26 or !26:s/168/122/ to change it or !trac to get #46 (or the last command to have trac at the start_ !?trace to run the last command with trace anywhere in the cmdline fc to invoke your $EDITOR on the last command also !-2 (next to last) etc -- Jim Wildman, CISSP, RHCE [EMAIL PROTECTED] http://www.rossberry.com Society in every state is a blessing, but Government, even in its best state, is a necessary evil; in its worst state, an intolerable one. Thomas Paine ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: new list proposal
on 10-16-2008 7:57 PM R P Herrold spake the following: On Thu, 16 Oct 2008, John R Pierce wrote: I'd have to suggest that the 'default' list (eg this one) should be the most general and beginner oriented, and any new additional lists should be the ones with the narrower focus (centos-tech, for instance, or centos-sysadmin). in my experience with running multiple lists, unless there's a near-nazi Godwin's law declared on the thread -- Russ herrold That's one I hadn't heard in a long time! ;-P -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] reuse the history
Hi, On Fri, Oct 17, 2008 at 14:02, ann kok [EMAIL PROTECTED] wrote: I want to reuse command in the shell historys Which command I can only select traceroute 192.168.0.5 to run? I would type Ctrl-R (interactive search history starting with more recent events), then type trace, then type Ctrl-R again until I find the command I'm looking for, in your case, 4 times. Once you start using Ctrl-R you will probably never want to use history | grep ... and !... again. HTH, Filipe $ history |grep traceroute 26 traceroute 192.168.0.5 27 traceroute -n 192.168.0.5 28 traceroute 192.168.0.10 29 traceroute yahoo.com 46 traceroute 192.168.0.33 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: new list proposal
snip http://www.centos.org/modules/newbb/viewtopic.php?viewmode=flattopic_id=16821forum=18 So, people who are interested, please join in and post your comments and thoughts. Thanks, Akemi (toracat, CentOS forum MODERATOR) This thread has got to have beaten the CentOS record for most posts about nothing! Or the longest off-topic thread about off-topic threads! -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] DHCP static hosts and subnet configuration
My personal opinion, if you're using RFC1918 addresses for internal networks, you should only use 255.255.255.0 netmasks everywhere, even though it's a network for one machine only. Dealing with netmasks is a PITA, and should be avoided unless there's a real reason to use it, for instance with valid IPs. JohnStanley Writes: One of the reasons that I take the trouble in doing it is that it Isolates the different Subnets and the Applications that are are on it. Also to keep nosey clients from browsing them if you don't want them to. I take more of security issue in perspective than an ease of use. Using a SNB of 20 don't give you but 14 host per sn. 1,048,575 what a mess that would be. But the issue is containing them in VLAN configurations and that can well be worth the hassel in doing it. on a large WAN, /24 vlan segments are often too small.we use /20 slices of 10-net for VLAN's here. /all/ 10-net vlans are /20. we also use some 172.16-31 and 192.168 spaces, those are all /24 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: Centos 5 and Driver Disks
on 10-16-2008 5:15 PM Clint Dilks spake the following: I get a 404 on the url in the OP's post, but if someone has a url to the driver disk in question, I can try and look at what the issue might be Hi http://kbase.redhat.com/faq/FAQ_103_13121.shtm Or go to http://www.scms.waikato.ac.nz/~clintd/R905/ just to get the files I obtained from Dell. On closer reading of the instructions I see that the say to use a USB CD/ DVD drive anyway so I am confused as to what the point of the driver disk really is. That part is probably a typo. It says to use a FDD or USB removable storage for the driver disk image. Either expand it to a floppy, which the server probably doesn't have, or put it unexpanded onto a USB flash drive. Then boot from the built in optical drive and use the linux dd command. Or you can use linux dd=http://130.217.247.31/~clintd/R905/rhel5-sata_svw-2.10.6-manykernels-dd.img (watch the wrap, above should be on one line) to pull it off your webserver if you give the setup a proper gateway address so it can reach outside. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Threads end; get over it: was: new list proposal
On Fri, 17 Oct 2008, Scott Silva wrote: This thread has got to have beaten the CentOS record for most posts about nothing! Or the longest off-topic thread about off-topic threads! or a sad demonstation by people who know better ignoring Godwin's Law If people are unwilling to follow long settled email etiquette http://catb.org/jargon/html/G/Godwins-Law.html we are already lost. The trigger was not intentional. The old thread is over. http://www.templetons.com/brad/emily.html http://people.dsv.su.se/~jpalme/ietf/mailing-list-behaviour.txt -- Russ herrold ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: ls and rm: argument list too long
on 10-17-2008 2:30 AM Jussi Hirvi spake the following: Since when is there a limit in how long directory listings CentOS can show (ls), or how large directories can be removed (rm). It is really annoying to say, for example rm -rf /var/amavis/tmp and get only argument list too long as feedback. Is there a way to go round this problem? I have CentOS 5.2. It isn't a problem with the commands, it is a problem of how long a command line can be when piped to a command. rm -rf /var/amavis/tmp is effectively the same as rm -rf /var/amavis/tmp/1 /var/amavis/tmp/2 /var/amavis/tmp/3 /var/amavis/tmp/4 /var/amavis/tmp/5 ... etc. The number of diles and directories in that folder is the limiting factor. And yes, Fedora would have the same limitation. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DHCP static hosts and subnet configuration
Hi, On Thu, Oct 16, 2008 at 15:51, Marcus Moeller [EMAIL PROTECTED] wrote: This is definitely not what I am trying to do. I try to line out the setup again: Subnet A (192.168.2.x) - DHCP Server with 2 NICs - Subnet B (10.1.0.0) Clients on Subnet A should get a static IP from the host declaration. Clients on Subnet B should obtain dynamic IP addresses from a range. The two subnets are not physically connected but a Client should be able to connect to Subnet A or to Subnet B as well. I'm no DHCP expert, but I believe that to accomplish what you are trying to do you have to run two separate dhcpd instances, one for each interface. You can do that by passing a parameter to dhcpd of which interface it should bind to. You will also need separate config files, lease files, pid files, etc. (it might be a PITA, but it's the only way I see that it can be done on the same host.) See man dhcpd for the details, but I think it would be something like: # dhcpd -cf /etc/dhcpd-subnetA.conf -lf /var/lib/dhcpd/dhcpd-subnetA.leases -pf /var/run/dhcpd-subnetA.pid eth0 # dhcpd -cf /etc/dhcpd-subnetB.conf -lf /var/lib/dhcpd/dhcpd-subnetB.leases -pf /var/run/dhcpd-subnetB.pid eth1 And then you will still have to deal with startup and shutdown, initscripts, SELinux, managing both processes, ... If you really want to go that route, you might consider running two VMs on that hardware, one for each network, it might prove to be simpler than running two instances of dhcpd in one host at the end. Otherwise, you could just assign static IPs on both networks for hosts that can connect to both, as you said that works, you only have to keep track of the fixed addresses then... HTH, Filipe ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CGI configuration - second post
--- On Fri, 10/17/08, tech [EMAIL PROTECTED] wrote: From: tech [EMAIL PROTECTED] Subject: [CentOS] CGI configuration - second post To: centos@centos.org Date: Friday, October 17, 2008, 1:12 AM This is my second request for help with this problem. I have followed the suggestions given the first time and made some progress but I still have one final problem/question. I have two CGI scripts that don't work. Mel, This is a feature, not a bug. Take a look at how httpd configures for cgi: #grep cgi /etc/httpd/conf/httpd.conf notice that a handler is set for /var/www/cgi-bin -- Mark __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DHCP static hosts and subnet configuration
John wrote: Yeah, but you cannot really subnet that way: JohnStanley Writes: So let me understand that your saying that if I am Allocated and Own the IP blocks 64.x.x.33 - 64.x.x.35 that I can not Subnet them Out in any way? Yes, because that up there contains exactly *one* IP address - so I'd hardly call that blocks. I have always done that between for inbetween LAN to WAN Back to LAN or VPN. Example, I have my core catalyst router with x.33 Primary INT. x.34 subnetted out to my PIX Firewall, Squid Server.Apache and etc. Most all in a DMZ certain things. Just trying to figure out what you mean. I have no idea what you are trying to tell me - you cannot subnet out one IP address to your PIX firewall. And hadn't you snipped what I wrote, you could have seen that it is impossible to have 192.168.0.16 with a netmask of 255.255.255.224 with 192.168.0.16 being the network address, as that IP address with that network mask can only be an address in an address range from 192.168.0.1 to 192.168.0.30 with .0 being the network and .31 being the broadcast address. Ralph pgpUkGInhi2FG.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] DHCP static hosts and subnet configuration
See man dhcpd for the details, but I think it would be something like: # dhcpd -cf /etc/dhcpd-subnetA.conf -lf /var/lib/dhcpd/dhcpd-subnetA.leases -pf /var/run/dhcpd-subnetA.pid eth0 # dhcpd -cf /etc/dhcpd-subnetB.conf -lf /var/lib/dhcpd/dhcpd-subnetB.leases -pf /var/run/dhcpd-subnetB.pid Eth1 --- JohnStanley Writes: This works with two NIC CARDS... dhcp.conf I promise I really thought I had posted this earlier but apparently I did not. Filipe is correct for the cmd line running of it, so heres the .conf to run with two nics. ddns-update-style ad-hoc subnet 192.168.2.0 netmask 255.255.255.0 { range 192.168.2.XX 192.168.2.XX; default-lease-time 7200; max-lease-time 21600; option routers 192.168.2.XXX; option ip-forwarding off; option broadcast-address 192.168.2.255; option subnet-mask 255.255.255.0; option domain-name-servers 64.XX.XX.XX, 64.XX.XX.XX; } subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.XX 192.168.1.XX; min-secs 3; default-lease-time 7200; max-lease-time 21600; option routers 192.168.1.X; option ip-forwarding off; option broadcast-address 192.168.1.255; option subnet-mask 255.255.255.0; option domain-name-servers 64.XX.XX.XX, 64.XX.XX.XX; } Option to run with two nics from the command line as 2 deamons... dhcpd -cf /etc/dhcpd-network1 eth0 dhcpd -cf /etc/dhcpd-network2 eth1 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Installer kernel config
Hello, I'm curious where I can find the config for the kernel included with the CentOS 5.2 x86_64 installer. I need to verify hardware compatibility (especially ethernet and SATA) prior to making a purchase decision, and reckon that seeing what's included with the installer would be the most direct way. Thanks for any leads, Ian ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Re: ls and rm: argument list too long
rm -rf /var/amavis/tmp and get only argument list too long as feedback. Is there a way to go round this problem? I have CentOS 5.2. It isn't a problem with the commands, it is a problem of how long a command line can be when piped to a command. rm -rf /var/amavis/tmp is effectively the same as rm -rf /var/amavis/tmp/1 /var/amavis/tmp/2 /var/amavis/tmp/3 /var/amavis/tmp/4 /var/amavis/tmp/5 ... etc. The number of diles and directories in that folder is the limiting factor. I don't believe this is correct. The command rm -rf /path/to/dir doesn't expand on the shell the same way rm -rf /path/to/dir/* would. Unless I'm misunderstanding your comment, rm -rf /path/to/dir will remove everything as intended without blowing out the argument list. Dealing with file removal and getting 'argument list too long' is a FAQish question, and there is more than one way to get around the issue. Common workarounds include find piped to xargs rm, the above mentioned recursive directory nuke, one line perl scripts, etc. -John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Installer kernel config
On Fri, Oct 17, 2008 at 4:32 PM, Ian Levesque [EMAIL PROTECTED] wrote: Hello, I'm curious where I can find the config for the kernel included with the CentOS 5.2 x86_64 installer. I need to verify hardware compatibility (especially ethernet and SATA) prior to making a purchase decision, and reckon that seeing what's included with the installer would be the most direct way. Thanks for any leads, /boot/config-version if you have a 5.2 system already running. If not you could probably just ask here what driver/module you're looking for. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Installer kernel config
On Oct 17, 2008, at 5:03 PM, Jim Perrin wrote: On Fri, Oct 17, 2008 at 4:32 PM, Ian Levesque [EMAIL PROTECTED] wrote: Hello, I'm curious where I can find the config for the kernel included with the CentOS 5.2 x86_64 installer. I need to verify hardware compatibility (especially ethernet and SATA) prior to making a purchase decision, and reckon that seeing what's included with the installer would be the most direct way. Thanks for any leads, /boot/config-version if you have a 5.2 system already running. If not you could probably just ask here what driver/module you're looking for. Thanks for the reply, Jim. I'm curious what the kernel included on the install disc supports, more than anything. We have a workstation configuration that we recommend to labs around the university. In the past few months we've migrated a large number of existing installations from Fedora to CentOS. Unfortunately, our current workstation setup doesn't have ethernet support in the 5.2 install kernel, which became a problem when we were creating a guide for labs to follow when installing CentOS. So, we need to ensure that the next recommended system will be supported by the install kernel as well as the post-install kernel (which I understand I can review in /boot/ config-version). Cheers, Ian ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Installer kernel config
Jim Perrin wrote: On Fri, Oct 17, 2008 at 4:32 PM, Ian Levesque [EMAIL PROTECTED] wrote: Hello, I'm curious where I can find the config for the kernel included with the CentOS 5.2 x86_64 installer. I need to verify hardware compatibility (especially ethernet and SATA) prior to making a purchase decision, and reckon that seeing what's included with the installer would be the most direct way. Thanks for any leads, /boot/config-version if you have a 5.2 system already running. If not you could probably just ask here what driver/module you're looking for. There is a page on the Wiki with the CentOS 4 default config, but nothing for C5: http://wiki.centos.org/AdditionalResources/HardwareList/centos4-config Perhaps this page could be updated? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] DHCP static hosts and subnet configuration
Yes, because that up there contains exactly *one* IP address - so I'd hardly call that blocks. Where I'm from we call it Blocks or Ipaddy. :-) I have no idea what you are trying to tell me - you cannot subnet out one IP address to your PIX firewall. I wonder why I cant do that, seeing as have been doing it over 10 years. One often misguided approach to setting them up is, facing it directly into the open internet. Your as good as gone when someone hits up the ftp port on that shiny new PIX and tunnels right in. What I was trying to say was if you by 5 ip addresses you can take an address and subnet it out to other routers, switches and what ever else. There are lots of companys doing this these days because of the cost associated with them. Honestly this is all off topic from the original OP and what he needed, Those addresses were just randomly stuck in there for presentation example. Weather they right or wrong, he or she that is seeking the information should know to atleast to change that before using it. As for that I am not totally aware of what he really wants to accomplish. I in my later networking would not even use dhcp any more unless it was an install server. I would be doing it through Cisco PIX or Nortel. Simply because of the security record of cisco and nortel. But all in all CentOS gets my file services with samba as DFS and I hope to see a lot of progress on Directory Server. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Installer kernel config
Hi, On Fri, Oct 17, 2008 at 16:32, Ian Levesque [EMAIL PROTECTED] wrote: I'm curious where I can find the config for the kernel included with the CentOS 5.2 x86_64 installer. From what I see, the kernel in /isolinux/vmlinuz on the CentOS 5.2 x86_64 installer CD (which I'm pretty certain is the one booted when you install) is the same as the one inside the kernel-2.6.18-92.el5.x86_64.rpm package, at least I md5'd both of them and they match. Therefore, I believe if you check the config file in that RPM, it should have the info you are looking for. HTH, Filipe ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DHCP static hosts and subnet configuration
John wrote: I have no idea what you are trying to tell me - you cannot subnet out one IP address to your PIX firewall. I wonder why I cant do that, seeing as have been doing it over 10 years. One often misguided approach to setting them up is, facing it directly into the open internet. Your as good as gone when someone hits up the ftp port on that shiny new PIX and tunnels right in. I never heard anyone calling that subnetting, as a subnet is a differently defined term. Ralph pgpgp1K7BlgYy.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] DHCP static hosts and subnet configuration
I wonder why I cant do that, seeing as have been doing it over 10 years. One often misguided approach to setting them up is, facing it directly into the open internet. Your as good as gone when someone hits up the ftp port on that shiny new PIX and tunnels right in. I never heard anyone calling that subnetting, as a subnet is a differently defined term. - JohnStanley Writes I agree Subnetting and Subnet are 2 different things in whole. Subnetting is taking an IP and borrowing bits from the ip and making additional net blocks perferably in dotted decimal form is the easiest way. I guess seeing as you (DE Land) and I(US) both are of different nationalities bring up the information devide between us. For the most part we are referring to the same thing but are calling it a diferent name. I do often however have a laugh at times about things on this list from people in Europe. I read posts sometime that mean something totaly different here but then some will answer it where the poster is from and then it kinda begins to make sense. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Installer kernel config
On Oct 17, 2008, at 5:22 PM, Filipe Brandenburger wrote: On Fri, Oct 17, 2008 at 16:32, Ian Levesque [EMAIL PROTECTED] wrote: I'm curious where I can find the config for the kernel included with the CentOS 5.2 x86_64 installer. From what I see, the kernel in /isolinux/vmlinuz on the CentOS 5.2 x86_64 installer CD (which I'm pretty certain is the one booted when you install) is the same as the one inside the kernel-2.6.18-92.el5.x86_64.rpm package, at least I md5'd both of them and they match. Therefore, I believe if you check the config file in that RPM, it should have the info you are looking for. Thanks, Filipe - it looks like you're right. Cheers, Ian ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: How to view djvu files?
on 10-17-2008 9:13 AM Marko Vojinovic spake the following: --- On Fri, 10/17/08, Spike Turner spiketurner09-/[EMAIL PROTECTED] wrote: A quick glance at the kbs repo http://centos.karan.org/ shows an rpm in testing djvulibre-3.5.19-4.el5.kb.i386.rpm but you can have a glance at the repoview. Aha! Ok, I was not aware of the kbs repo. I see the djvulibre in testing, so will try it out. Hopefully there is not too much to be broken in it... :-) usually things go into testing until people actually try it and report back that it worked for them. Enough positive reports tends to get things moved from testing to stable. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: DHCP static hosts and subnet configuration
on 10-17-2008 3:25 PM John spake the following: I wonder why I cant do that, seeing as have been doing it over 10 years. One often misguided approach to setting them up is, facing it directly into the open internet. Your as good as gone when someone hits up the ftp port on that shiny new PIX and tunnels right in. I never heard anyone calling that subnetting, as a subnet is a differently defined term. - JohnStanley Writes I agree Subnetting and Subnet are 2 different things in whole. Subnetting is taking an IP and borrowing bits from the ip and making additional net blocks perferably in dotted decimal form is the easiest way. I guess seeing as you (DE Land) and I(US) both are of different nationalities bring up the information devide between us. For the most part we are referring to the same thing but are calling it a diferent name. I do often however have a laugh at times about things on this list from people in Europe. I read posts sometime that mean something totaly different here but then some will answer it where the poster is from and then it kinda begins to make sense. TCP/IP works the same way no matter what country you are from. The terms are the same, and if someone uses the wrong term, it is not the language difference, that person just learned the wrong term. A subnet is what you get when you finish subnetting. One is a noun, one is a verb. It can only be done the way it was designed to be done. You can do some very creative things with CIDR now, but that was created more as a way to make smaller routing tables than any other reason. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ls and rm: argument list too long
Satchel Paige - Don't look back. Something might be gaining on you. On Fri, Oct 17, 2008 at 4:36 AM, Laurent Wandrebeck [EMAIL PROTECTED] wrote: 2008/10/17 Jussi Hirvi [EMAIL PROTECTED]: Since when is there a limit in how long directory listings CentOS can show (ls), or how large directories can be removed (rm). It is really annoying to say, for example rm -rf /var/amavis/tmp and get only argument list too long as feedback. Is there a way to go round this problem? I have CentOS 5.2. - Jussi try something like: for i in /var/amavis/tmp/* do rm -rf $i done it should be: for i in `ls /var/amavis/tmp` do rm $i done ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Re: DHCP static hosts and subnet configuration
Scott Silva (Mail Scanner) Wrote: TCP/IP works the same way no matter what country you are from. The terms are the same, and if someone uses the wrong term, it is not the language difference, that person just learned the wrong term. Yes, works the same in all Countries. Layers 1,2,3 of the OSI Stack. I guess what I should have said was Subnet. A subnet is what you get when you finish subnetting. One is a noun, one is a verb. It can only be done the way it was designed to be done. You can do some very creative things with CIDR now, but that was created more as a way to make smaller routing tables than any other reason. Correct there. Classless Inter Domain Routing, never really got into doing that. Largest I have dealt with was 1500 nodes and cidr is not needed there. My main thing has always been getting a network provider to also provide failover redudance. Had one dealing with lighting fiber and that was a nightmare. Maybe I can get a few CIDR pointers from you. :-) JohnStanley ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] octave
trying to install octave from epel onto centos 5.2, and getting dependency errors. only place I could find this RPM was in epel, which I 'thought' ran on native rhel5/centos5 without requiring any other repos, but I guess I'm wrong?!? google tells me libhdf5 is some sot of 'heirarchial data format' library, whatever that means. # yum install octave Loading fastestmirror plugin Loading priorities plugin Loading mirror speeds from cached hostfile * epel: mirror.hmc.edu * pgdg83: yum.pgsqlrpms.org * rpmforge: ftp-stud.fht-esslingen.de * base: mirror.nic.uoregon.edu * updates: mirror.hmc.edu * centosplus: centos-distro.cavecreek.net * addons: mirrors.cat.pdx.edu * extras: centos-distro.cavecreek.net Excluding Packages from CentOS-5 - Base Finished Excluding Packages from CentOS-5 - Updates Finished 1541 packages excluded due to repository priority protections Setting up Install Process Parsing package install arguments Resolving Dependencies -- Running transaction check --- Package octave.i386 6:3.0.1-2.el5 set to be updated -- Processing Dependency: libcamd.so.2 for package: octave -- Processing Dependency: libumfpack.so.5 for package: octave -- Processing Dependency: libcolamd.so.2 for package: octave -- Processing Dependency: libfftw3.so.3 for package: octave -- Processing Dependency: libccolamd.so.2 for package: octave -- Processing Dependency: libblas.so.3 for package: octave -- Processing Dependency: libglpk.so.0 for package: octave -- Processing Dependency: libcholmod.so.1 for package: octave -- Processing Dependency: libamd.so.2 for package: octave -- Processing Dependency: gnuplot for package: octave -- Processing Dependency: libcxsparse.so.2 for package: octave -- Processing Dependency: libhdf5.so.0 for package: octave -- Processing Dependency: liblapack.so.3 for package: octave -- Processing Dependency: libqhull.so.5 for package: octave -- Running transaction check --- Package glpk.i386 0:4.20-2.el5 set to be updated --- Package octave.i386 6:3.0.1-2.el5 set to be updated -- Processing Dependency: libhdf5.so.0 for package: octave --- Package qhull.i386 0:2003.1-7.el5 set to be updated --- Package lapack.i386 0:3.0-37.el5 set to be updated --- Package gnuplot.i386 0:4.0.0-12 set to be updated --- Package fftw3.i386 0:3.1.1-1.el5.rf set to be updated --- Package blas.i386 0:3.0-37.el5 set to be updated --- Package suitesparse.i386 0:3.1.0-1.el5 set to be updated -- Finished Dependency Resolution Error: Missing Dependency: libhdf5.so.0 is needed by package octave ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ls and rm: argument list too long
thad wrote: Satchel Paige - Don't look back. Something might be gaining on you. On Fri, Oct 17, 2008 at 4:36 AM, Laurent Wandrebeck [EMAIL PROTECTED] wrote: 2008/10/17 Jussi Hirvi [EMAIL PROTECTED]: Since when is there a limit in how long directory listings CentOS can show (ls), or how large directories can be removed (rm). It is really annoying to say, for example rm -rf /var/amavis/tmp and get only argument list too long as feedback. Is there a way to go round this problem? I have CentOS 5.2. - Jussi try something like: for i in /var/amavis/tmp/* do rm -rf $i done it should be: for i in `ls /var/amavis/tmp` do rm $i done These shouldn't make any difference. The limit is on the size of the expanded shell command line. The original example won't cause it. The ones that expand a list with a * or the output of ls may. The right solution is to let rm recurse with -r or to potentially long list to xargs. -- Les Mikesell [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: new list proposal
On Fri, Oct 17, 2008 at 11:15 AM, Scott Silva [EMAIL PROTECTED] wrote: on 10-16-2008 7:57 PM R P Herrold spake the following: On Thu, 16 Oct 2008, John R Pierce wrote: Godwin's law declared on the thread -- Russ herrold That's one I hadn't heard in a long time! ;-P Oh, my lord, that brings back memories! I used to have long arguments with Mike on one of the Usenet forums, way back in the day And he's younger than I am! mhr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Shipping CentOS as part of a solution
On Fri, Oct 17, 2008 at 11:21:14AM +0200, Niki Kovacs wrote: Mark Maskery a écrit : We develop and sell a server based application as an appliance in which, in general, the customer does not have direct access to the operating system. My question is, are we allowed to use CentOS as the underlying operating system and if so what license considerations are there or what license information would we need to include for our customers? Yes, you are allowed to do that. And if your business runs well, consider a donation to CentOS. Review the GPL, BSD, X11 and other licenses as outlined on the CentOS web site (see also Red Hat's web site). You may need to make it very visible that there is CentOS under the hood. You need to make available the source to the CentOS bits you deliver to your customer including changes you make. Your application need not be GPL as long as you are 100% the sole author. Give special attention to derived work in the GPL. If part of your application is GPL then it may well all be GPL. To simplify your package requirements collect all the CentOS iso images and deliver them to your customer (both source and binary iso images). Then add media for the changes you make to CentOS. Lastly add separate media for the application you are selling. Lastly pay attention to updates and security fixes that you deliver from CentOS or other repo. If the customer does not download them then you have some obligations -- T o m M i t c h e l l Found me a new hat, now what? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: ls and rm: argument list too long
Les Mikesell wrote: thad wrote: it should be: for i in `ls /var/amavis/tmp` do rm $i done These shouldn't make any difference. The limit is on the size of the expanded shell command line. Really? $ M=0; N=0; for W in `find /usr -xdev 2/dev/null`; do M=$(($M+1)); N=$(($N+${#W}+1)); done; echo $M $N 156304 7677373 vs. $ /bin/echo `find /usr -xdev 2/dev/null` bash: /bin/echo: Argument list too long For the first case, the shell never tries to pass the list as command arguments. It builds the list internally, limited only by memory size, and processes the words one by one. As a final test case, by using the shell's builtin 'echo' the whole 7-plus megabytes gets echoed to the terminal: $ echo `find /usr -xdev 2/dev/null` (no errors -- just lots of output) Anyway, the for i in `ls ...` solution breaks for paths that include embedded white space. -- Bob Nichols NOSPAM is really part of my email address. Do NOT delete it. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] octave
Error: Missing Dependency: libhdf5.so.0 is needed by package octave JohnStanley Writes: yum whatprovides libhdf5.so.0 Loading fastestmirror plugin Loading mirror speeds from cached hostfile * base: ftp.linux.ncsu.edu * updates: styx.biochem.wfubmc.edu * addons: mirror.atlantic.net * extras: pubmirrors.reflected.net base 100% |=| 1.1 kB00:00 updates 100% |=| 951 B00:00 addons100% |=| 951 B00:00 extras100% |=| 1.1 kB00:00 No Matches found The package is not in the CentOS Distro. You will have to look elsewhere to find it. A good start would be google to find it and remember the whatprovides command to find what libs go with the package you need. CentOS and RHEL Versions 5 with Point releases 1,2, and 3 you can try this one here. http://rpm.pbone.net/index.php3/stat/4/idpl/4123486/com/hdf5-1.6.5-7.fc6.i38 6.rpm.html OR This one is for EPEL 5 on there site. http://rpm.pbone.net/index.php3/stat/4/idpl/8177721/com/hdf5-1.6.7-1.el5.i38 6.rpm.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: ls and rm: argument list too long
Robert Nichols wrote: These shouldn't make any difference. The limit is on the size of the expanded shell command line. Really? $ M=0; N=0; for W in `find /usr -xdev 2/dev/null`; do M=$(($M+1)); N=$(($N+${#W}+1)); done; echo $M $N 156304 7677373 vs. $ /bin/echo `find /usr -xdev 2/dev/null` bash: /bin/echo: Argument list too long For the first case, the shell never tries to pass the list as command arguments. It builds the list internally, limited only by memory size, and processes the words one by one. Is that peculiar to bash? I thought the `command` construct was expanded by shells into the command line before being evaluated. -- Les Mikesell [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos