[CentOS-announce] CEBA-2012:1172 CentOS 6 logrotate FASTTRACK Update
CentOS Errata and Bugfix Advisory 2012:1172 Upstream details at : https://rhn.redhat.com/errata/RHBA-2012-1172.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: 2e76343fa539486086fe99352e89dab02372305d35c609408803547c93e91bbd logrotate-3.7.8-16.el6.i686.rpm x86_64: eb3a0fa3eeb7ba2e0891380384062bf226669b7b6e3e9ac52d00d07e3f1c2168 logrotate-3.7.8-16.el6.x86_64.rpm Source: 45f248b1bb65b1f19b7c8a72fd8f373a3c1cfd722595c71e59b33ed0935ef994 logrotate-3.7.8-16.el6.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #cen...@irc.freenode.net ___ CentOS-announce mailing list CentOS-announce@centos.org http://lists.centos.org/mailman/listinfo/centos-announce
[CentOS-announce] CEBA-2012:1171 CentOS 6 irssi FASTTRACK Update
CentOS Errata and Bugfix Advisory 2012:1171 Upstream details at : https://rhn.redhat.com/errata/RHBA-2012-1171.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: 6b34a3f029d0ff58c1f70c0f1a12dec459571f9726582e513946d3872b983605 irssi-0.8.15-5.el6.i686.rpm 4836c0744e2c1276075e949d4b64ac102f4b4f56d3ef5262f4a43505ca35ef15 irssi-devel-0.8.15-5.el6.i686.rpm x86_64: 34c892733fc7203444895c752888c46a8124d265aebf5659029798d05dfc1519 irssi-0.8.15-5.el6.x86_64.rpm 4836c0744e2c1276075e949d4b64ac102f4b4f56d3ef5262f4a43505ca35ef15 irssi-devel-0.8.15-5.el6.i686.rpm 943909519cd9d7bb04accbf80af57f04878840954f36a9870ceb7e3281b2291a irssi-devel-0.8.15-5.el6.x86_64.rpm Source: 1593586f0d94f7f6d818a272540a2924eeb17b721fc71f51fcd512ae0eb86c74 irssi-0.8.15-5.el6.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #cen...@irc.freenode.net ___ CentOS-announce mailing list CentOS-announce@centos.org http://lists.centos.org/mailman/listinfo/centos-announce
Re: [CentOS-es] Problema para instalar el repositorio epel-release-6-7...
Hola Héctor y Carlos. Saque la línea (export http_proxy=http://midirecciondeproxy:3128) del archivo de configuración /etc/yum.conf Luego, escribí en la consola export http_proxy= http://midirecciondeproxy:3128 y funcionó. La duda que me queda es si realmente funcionó por hacer estos cambios o realmente solucionaron el problema de la internet porque me faltó hacer algunos ping a diferentes páginas para ver si me respondían, el proxy me respondía. Aclaro una cosa, la instalación la hice con los repositorios base de CentOS 6.3, el resto de los repositorios de epel.repo y epel-testing.repo se los había sacado y ahora probé de instalar otro paquete con esto repositorios y muestra este mismo mensaje de error... yum search traceroute Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again Eso fue luego de instalar el repositorio epel-release-6-7.noarch.rpm Desde ya muchas gracias El 14 de agosto de 2012 13:51, Héctor Herrera hherre...@gmail.comescribió: Claro, esos comandos setean las opciones http_proxy, ftp_proxy y https_proxy, que el sistema revisa para cada aplicación que necesite conexión a Internet. Con eso obviamente configuras el proxy para sesiones HTTP, FTP y HTTPS (siempre y cuando tu proxy te deje establecer ese tipo de conexiones, no sacas nada diciéndole al sistema que trabaje con un proxy determinado si el proxy no acepta peticiones FTP xD!). Y como dije, esas configuraciones duran la sesión, o hasta que las descargues de memoria (con el comando unset) El 14 de agosto de 2012 12:46, Carlos Restrepo restrcar...@gmail.com escribió: El 14 de agosto de 2012 10:40, Héctor Herrera hherre...@gmail.com escribió: Revisaste si tienes salida a Internet? Porque puede ser que llegues hasta el proxy, pero no puedas salir... Por otro lado, con escribir export http_proxy://la-ip-de-tu-proxy:puerto en una consola debería bastarte. Así haces que todo tu sistema pase por proxy, por la sesión. El 14 de agosto de 2012 11:37, Luciano Andrés Chiarotto lachiaro...@gmail.com escribió: Hola Carlos. Estoy detrás de un proxy pero en el archivo de configuración yum.conf agrego la siguiente línea... export http_proxy=http://mi-dirección-proxy:3128/http://xn--mi-direccin-proxy:3128-4fc/ http://xn--mi-direccin-proxy:3128-4fc/ http://xn--mi-direccin-proxy:3128-4fc/ http://xn--mi-direccin-proxy:3128-4fc/ http://xn--mi-direccin-proxy:3128-4fc/ y no requiere autorización. Consulto el proxy con el comando ping a la dirección del proxy y me responde por eso me resulta raro que no se pueda conectar. Gracias Carlos por tu respuesta, voy a seguir investigando para ver que esta pasando. Saludos. El 14 de agosto de 2012 10:59, Carlos Restrepo restrcar...@gmail.com escribió: El 13 de agosto de 2012 16:18, Luciano Andrés Chiarotto lachiaro...@gmail.com escribió: Hola a todos. Les comento el problema que tengo cuando instalé el repositorio epel-release-6-7.noarch.rpm 1 - Bajé el archivo epel-release-6-7.noarch.rpm y dentro del servidor ejecuto el comando de instalación, cuando lo termino de instalar muestra el mensaje (el paquete ya esta instalado) --- rpm -Uvh epel-release-6-7.noarch.rpm #Lo que hago es actualizar el paquete epel porque tengo la versión anterior #instalada (epel release-6-6...) Luego- 2 - Quiero instalar el paquete pciutils con el comando --- yum install -y pciutils.x86_64 (Esta utilidad la tengo que instalar para que funcione un script que busca este comando lspci). No me deja instalar este paquete porque muestra el siguiente mensaje de error ... Loading mirror speeds from cached hostfile Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again Actualicé pensando que podía tener mayores beneficios pero complicó el trabajo. Si alguna persona le paso lo mismo se lo voy agradecer que me responda. Desde ya muchas gracias. Luciano ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es Luciano, preguntas: - Tu maquina esta directa a internet o esta detras de un proxy?. - Si esta detras de un proxy requiere autorización o no? -- Carlos R!. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org
Re: [CentOS-es] Problema para instalar el repositorio epel-release-6-7...
El 15 de agosto de 2012 10:59, Luciano Andrés Chiarotto lachiaro...@gmail.com escribió: Hola Héctor y Carlos. Saque la línea (export http_proxy=http://midirecciondeproxy:3128) del archivo de configuración /etc/yum.conf Luego, escribí en la consola export http_proxy= http://midirecciondeproxy:3128 y funcionó. La duda que me queda es si realmente funcionó por hacer estos cambios o realmente solucionaron el problema de la internet porque me faltó hacer algunos ping a diferentes páginas para ver si me respondían, el proxy me respondía. Aclaro una cosa, la instalación la hice con los repositorios base de CentOS 6.3, el resto de los repositorios de epel.repo y epel-testing.repo se los había sacado y ahora probé de instalar otro paquete con esto repositorios y muestra este mismo mensaje de error... yum search traceroute Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again Eso fue luego de instalar el repositorio epel-release-6-7.noarch.rpm Desde ya muchas gracias El 14 de agosto de 2012 13:51, Héctor Herrera hherre...@gmail.com escribió: Claro, esos comandos setean las opciones http_proxy, ftp_proxy y https_proxy, que el sistema revisa para cada aplicación que necesite conexión a Internet. Con eso obviamente configuras el proxy para sesiones HTTP, FTP y HTTPS (siempre y cuando tu proxy te deje establecer ese tipo de conexiones, no sacas nada diciéndole al sistema que trabaje con un proxy determinado si el proxy no acepta peticiones FTP xD!). Y como dije, esas configuraciones duran la sesión, o hasta que las descargues de memoria (con el comando unset) El 14 de agosto de 2012 12:46, Carlos Restrepo restrcar...@gmail.com escribió: El 14 de agosto de 2012 10:40, Héctor Herrera hherre...@gmail.com escribió: Revisaste si tienes salida a Internet? Porque puede ser que llegues hasta el proxy, pero no puedas salir... Por otro lado, con escribir export http_proxy://la-ip-de-tu-proxy:puerto en una consola debería bastarte. Así haces que todo tu sistema pase por proxy, por la sesión. El 14 de agosto de 2012 11:37, Luciano Andrés Chiarotto lachiaro...@gmail.com escribió: Hola Carlos. Estoy detrás de un proxy pero en el archivo de configuración yum.conf agrego la siguiente línea... export http_proxy=http://mi-dirección-proxy:3128/http://xn--mi-direccin-proxy:3128-4fc/ http://xn--mi-direccin-proxy:3128-4fc/ http://xn--mi-direccin-proxy:3128-4fc/ http://xn--mi-direccin-proxy:3128-4fc/ http://xn--mi-direccin-proxy:3128-4fc/ http://xn--mi-direccin-proxy:3128-4fc/ y no requiere autorización. Consulto el proxy con el comando ping a la dirección del proxy y me responde por eso me resulta raro que no se pueda conectar. Gracias Carlos por tu respuesta, voy a seguir investigando para ver que esta pasando. Saludos. El 14 de agosto de 2012 10:59, Carlos Restrepo restrcar...@gmail.com escribió: El 13 de agosto de 2012 16:18, Luciano Andrés Chiarotto lachiaro...@gmail.com escribió: Hola a todos. Les comento el problema que tengo cuando instalé el repositorio epel-release-6-7.noarch.rpm 1 - Bajé el archivo epel-release-6-7.noarch.rpm y dentro del servidor ejecuto el comando de instalación, cuando lo termino de instalar muestra el mensaje (el paquete ya esta instalado) --- rpm -Uvh epel-release-6-7.noarch.rpm #Lo que hago es actualizar el paquete epel porque tengo la versión anterior #instalada (epel release-6-6...) Luego- 2 - Quiero instalar el paquete pciutils con el comando --- yum install -y pciutils.x86_64 (Esta utilidad la tengo que instalar para que funcione un script que busca este comando lspci). No me deja instalar este paquete porque muestra el siguiente mensaje de error ... Loading mirror speeds from cached hostfile Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again Actualicé pensando que podía tener mayores beneficios pero complicó el trabajo. Si alguna persona le paso lo mismo se lo voy agradecer que me responda. Desde ya muchas gracias. Luciano ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es Luciano, preguntas: - Tu maquina esta directa a internet o esta detras de un proxy?. - Si esta detras de un proxy requiere autorización o no? --
Re: [CentOS] Good Anti-virus for Linux desktops and servers
the only method I know that works consistently is to block all direct web and ssl access and force use of a web proxy, so the SSL is between the remote server and the proxy server, which is your security gateway. The way I've handled this in previous places when the requirement has existed is a company CA cert installed on all corporate devices (windows with AD makes this very easy) and man in the middle everything. There's no browser security errors then and the unencrypted data is visible for security inspection. Of course if doing this make sure you notify in the AUP for the company employees have to sign and agree to abide by etc etc... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS6 and netboot
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/nfs-diskless-systems.html Can you tell me what you want rebuilt and where I would find it? http://vault.centos.org/5.8/os/SRPMS/system-config-netboot-0.1.45.1-3.el5.src.rpm This SRPM creates both system-config-netboot and system-config-netboot-cmd. I would like to see those available for CentOS6 if you feel it's a useful addition. Otherwise I'd maintain my own. The only thing CentOS removes that Red Hat includes is things that specifically are RHN centric. We don't build those for obvious reasons. Sure, I understand that. But these packages have been removed by upstream. They are no longer included after EL5. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] slowness with new kernel+nouveau?
Hello, New kernel version 2.6.32-279.2.1.el6.x86_64 in combination with xorg-x11-drv-nouveau Version:0.0.16 is somehow painfully slow on my laptop. during start up it takes almost half a minute for gnome login to appear. After having logged in the following happens: - gnome top and bottom panels slide/crawl in to view one pixel line at a time. - starting the terminal takes much more time, 10-15, sometimes even up to 20 seconds. - Firefox also takes much longer to start. Removing xorg-x11-drv-nouveau seems to resolve this slowness but then my attached monitor does not work. Anyone else experiencing this issue or know how to fix/troubleshoot? -- Regards, Darod Zyree ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Good Anti-virus for Linux desktops and servers
On 8/15/2012 3:40 AM, James Hogarth wrote: the only method I know that works consistently is to block all direct web and ssl access and force use of a web proxy, so the SSL is between the remote server and the proxy server, which is your security gateway. The way I've handled this in previous places when the requirement has existed is a company CA cert installed on all corporate devices (windows with AD makes this very easy) and man in the middle everything. There's no browser security errors then and the unencrypted data is visible for security inspection. Of course if doing this make sure you notify in the AUP for the company employees have to sign and agree to abide by etc etc... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos that is how astaro does ssl scanning. Once it has gotten to the endpoint it is too late. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Good Anti-virus for Linux desktops and servers
On 8/14/2012 8:21 PM, Gregory Machin wrote: I'm not to keen either. but one cant account for what users may bring in on USB / cdrom or other possible sources. Quite often the users are clueless that they have a virus on their usb flash drive :-( . We have edge devices with all the bells etc. Thanks GM On Tue, Aug 14, 2012 at 9:02 PM, William Warren hescomins...@emmanuelcomputerconsulting.com wrote: On 8/13/2012 12:25 AM, Gregory Machin wrote: Hi. I'm look for an enterprise quality Anti-virus / Malware for my Linux machines . Mostly Ubuntu on the desktop, CentOS and RHEL servers. I must have real time scanning, on demand scanning, and centralized management. Is there anything out there that can do this ? GM ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos I'm not a fan of anti-crud on servers. Put an astaro security gateway in front of your network and let it scan everything before it gets to your internal devices ___ 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 a/v on endpoints yes..I run a/v on endpoints for clients..:) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] samba problem with kernel 2.6.32-279.*
Hello, We use Norton Ghost, running in a PXE booted DOS, to handle Windows XP images. The images are stored on a samba share on our CentOS 6 server. This has worked without any problems for years. After kernel 2.6.32-279* it has stopped working. The symptom is that if I boot in DOS, and do: net use x: \\myserver\ghostimages dir x: I get an infinite loop where the first file name is listed again and again. Going back to kernel-2.6.32-220.17.1 on the server fixes the problem. The problem exist with kernel-2.6.32-279, kernel-2.6.32-279.2.1, and kernel-2.6.32-279.5.1. Samba is version samba-3.5.10-125, the server is x86_64. Where should I look for a solution to that problem on the newer kernels? Mogens -- Mogens Kjaer, m...@lemo.dk http://www.lemo.dk ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] iscsi storage, LACP or Multipathing | Migration or rebuild?
Hi, I do have one iscsi storage with 4 GBit nics of which currently only one is configured with an ip and which is in productive use by one cent os 6.3 server. Doing some research brought me to the idea to use some nic bonding or multipathing for that storage, but multipathing I did about four or five years ago only once :) Furthormore I can't find the ultimate answer (may be there is not such) what will be better for us: bonding or multipathing. The storage is used for backup; it's connected to an backupserver which pulls data from different servers ... may be at the same time or one after an other. The server uses two bonded nics to the LAN. My question regarding the setup is, what might be good or better: bonding or multipathing. We'd like to increase performance and nic failover if one link breaks. If multipathing is to be preferred, is it possible to preserve the data currently saved on the storages ext4? And googling shows up a lot of different how tos and the redhat doc; but I din not found one describing a straight forward setup. So thanks a lot for any suggestion or comments! Regards . Götz -- Götz Reinicke IT-Koordinator Tel. +49 7141 969 82 420 Fax +49 7141 969 55 420 E-Mail goetz.reini...@filmakademie.de Filmakademie Baden-Württemberg GmbH Akademiehof 10 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzender des Aufsichtsrats: Jürgen Walter MdL Staatssekretär im Ministerium für Wissenschaft, Forschung und Kunst Baden-Württemberg Geschäftsführer: Prof. Thomas Schadt ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Good Anti-virus for Linux desktops and servers
On Wed, 2012-08-15 at 12:47 +0100, Nux! wrote: On 14.08.2012 14:06, Adam Tauno Williams wrote: On Tue, 2012-08-14 at 07:28 +0100, Nux! wrote: On 13.08.2012 22:46, Gregory Machin wrote: Hi. Thanks for the feed back. Why not Clamav? It has othe n-access thingy as well. http://www.clamav.net/doc/latest/html/node21.html you shouldn't run Dazuko on production systems But, if your clients are Windows boxes via Samba, you can perform on-demand file access via Samba + CLAMAV using a VFS module. This works very well. Then files detected to contain malware cannot be read or saved, and the administrator can be notified. I don't think that really helps the LINUX desktop however. Thanks for the tip with the VFS. Not much of a Samba user here, but definitely good advice for the future. Searching a bit reveals multiple ways of using this VFS feature; do you have a recommended way of doing it? The examples are pretty straight-forward. Just make sure you are looking at docs for samba-virusfilter and not the older docs for samba-vscan. http://www.whitemiceconsulting.com/2011/11/samba-vscan-is-dead-long-live-samba.html http://www.whitemiceconsulting.com/2011/11/samba-virusfilter-013-released.html signature.asc Description: This is a digitally signed message part ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Eth1 problem on CentOS-6.3
James B. Byrne wrote: Having replaced the suspect card and rebooted the host I see these messages in /var/log/messages repeated over and over: snip Aug 15 07:20:13 vhost01 kernel: r8169 :01:00.0: eth1: RTL8168d/8111d at 0xc9001258c000, 00:0a:cd:1d:32:e7, XID 081000c0 IRQ 30 Aug 15 07:20:13 vhost01 kernel: r8169 :01:00.0: eth1: jumbo features [frames: 9200 bytes, tx checksumming: ko] Aug 15 07:20:14 vhost01 kernel: r8169 :01:00.0: eth1: invalid firwmare Aug 15 07:20:14 vhost01 kernel: r8169 :01:00.0: eth1: unable to load firmware patch rtl_nic/rtl8168d-1.fw (-22) snip So, what is going on? This host is the first one of two nearly identically configured machines. The second host does not report or evidence any problem with its eth1. My eyes uncrossed, and I saw, buried in there, the firstlink, above, and the last. You might want to see if a) the 8168d firmware patch will work on that card; b) vhost - it's a virtual host? perhaps it's trying to load the firmware patch to the real NIC, and as a guest VM, it doesn't have rights? mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Extract lines from text file
Hi, I'm looking for a command to extract lines from a large text file, a password file. A typical user has a username made from a letter followed by their id-number. m9718508:pw:9301:840: Lynch :/home/pgstud/m9718508:/bin/bash So for instance if I need to extract lines where; the 1st field, the username begins with an m and the 4th field, the group contains exactly 850 cat passwdfile | grep ^m | grep 850 output is close but fails if the value 850 appears outside the 4th field. In the above example which should be ignored 850 appears in the username and home directory and is therefore extracted. Any ideas. Thanks, Tony ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] iscsi storage, LACP or Multipathing | Migration or rebuild?
Hi Götz. I'm running Centos 6.2 on a Proliant DL380 G7 server connected to a HP Lefthand P4500 using multipath, and ALB(Adaptive Load Balancing) on the Lefthand box it self. Regarding, multipath vs bonding read this - http://blog.open-e.com/bonding-versus-mpio-explained/ You will need to go through the storage manual for red hat enterprise 6 and read some chapters regarding configuring your options/needs for your scenario. Best regards, Svavar O - Iceland -- Götz Reinicke wrote: Hi, I do have one iscsi storage with 4 GBit nics of which currently only one is configured with an ip and which is in productive use by one cent os 6.3 server. Doing some research brought me to the idea to use some nic bonding or multipathing for that storage, but multipathing I did about four or five years ago only once :) Furthormore I can't find the ultimate answer (may be there is not such) what will be better for us: bonding or multipathing. The storage is used for backup; it's connected to an backupserver which pulls data from different servers ... may be at the same time or one after an other. The server uses two bonded nics to the LAN. My question regarding the setup is, what might be good or better: bonding or multipathing. We'd like to increase performance and nic failover if one link breaks. If multipathing is to be preferred, is it possible to preserve the data currently saved on the storages ext4? And googling shows up a lot of different how tos and the redhat doc; but I din not found one describing a straight forward setup. So thanks a lot for any suggestion or comments! Regards . Götz ___ 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] Extract lines from text file
Greetings, On Wed, Aug 15, 2012 at 7:52 PM, Tony Molloy tony.mol...@ul.ie wrote: Hi, So for instance if I need to extract lines where; the 1st field, the username begins with an m and the 4th field, the group contains exactly 850 cut -d: -f1,4 input-filename -- Regards, Rajagopal ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Extract lines from text file
Hello Tony, On Wed, 15 Aug 2012 15:22:10 +0100 Tony Molloy tony.mol...@ul.ie wrote: Hi, I'm looking for a command to extract lines from a large text file, a password file. A typical user has a username made from a letter followed by their id-number. m9718508:pw:9301:840: Lynch :/home/pgstud/m9718508:/bin/bash So for instance if I need to extract lines where; the 1st field, the username begins with an m and the 4th field, the group contains exactly 850 cat passwdfile | grep ^m | grep 850 output is close but fails if the value 850 appears outside the 4th field. In the above example which should be ignored 850 appears in the username and home directory and is therefore extracted. Something like `grep -E '^m.+:.*:.*:850:'` maybe? Regards, -- wwp signature.asc Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Trying to change subscription optin
I am trying to change my subscription option to a daily digest but am unable to log in to change my options -- Ed Gurski (e...@gurski.com) Registered Linux User 458454 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Extract lines from text file
Em 15-08-2012 11:22, Tony Molloy escreveu: Hi, I'm looking for a command to extract lines from a large text file, a password file. A typical user has a username made from a letter followed by their id-number. m9718508:pw:9301:840: Lynch :/home/pgstud/m9718508:/bin/bash So for instance if I need to extract lines where; the 1st field, the username begins with an m and the 4th field, the group contains exactly 850 cat passwdfile | grep ^m | grep 850 output is close but fails if the value 850 appears outside the 4th field. In the above example which should be ignored 850 appears in the username and home directory and is therefore extracted. Any ideas. ]$ cat testcentoslist m9718508:pw:9301:840: Lynch :/home/pgstud/m9718508:/bin/bash m9718308:pw:9301:850: Lynch :/home/pgstud/m9718508:/bin/bash m9718208:pw:9301:840: Lynch :/home/pgstud/m9718508:/bin/bash m9718508:pw:9301:840: Lynch :/home/pgstud/m9718908:/bin/bash ]$ cat testcentoslist | egrep ^m.*:.*:.*:850: m9718308:pw:9301:850: Lynch :/home/pgstud/m9718508:/bin/bash -- Marcelo Beckmann Suporte Corporativo - supo...@webers.com.br Webers Tecnologia - http://www.webers.com.br Curitiba (PR) (41) 3094-6600 Rio de Janeiro (RJ) (21) 4007-1207 São Paulo (SP) (11) 4007-1207 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Trying to change subscription optin
Solved --- I was blocking the site with NoScript... -- Ed Gurski (e...@gurski.com) Registered Linux User 458454 On Wed, 2012-08-15 at 10:36 -0400, Ed Gurski wrote: I am trying to change my subscription option to a daily digest but am unable to log in to change my options ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] tigervnc-server-module crashes after EL 6.3 update
On Tue, 2012-08-14 at 20:55 -0500, Johnny Hughes wrote: On 08/14/2012 05:23 PM, Cal Webster wrote: We began experiencing failed vnc connections to the console display on servers that have been updated to EL 6.3. No such failures have occurred on similar connections to EL 6.2 servers. On the client machine a normal vncviewer display appears with the expected graphical login until the mouse pointer is moved within the boundaries of the vncviewer window. At this point the window closes and an error message appears in both a pop-up window and in the terminal window in which the session was initiated stating read: Connection reset by peer (104). On the server end, a core dump is generated and a abrt bug report is created. /var/log/messages -- Aug 14 11:00:30 jato2 abrt[11411]: File '/usr/bin/Xorg' seems to be deleted Aug 14 11:00:30 jato2 abrt[11411]: Saved core dump of pid 7892 (/usr/bin/Xorg) to /var/spool/abrt/ccpp-2012-08-14-11:00:30-7892 (42041344 bytes) Aug 14 11:00:30 jato2 abrtd: Directory 'ccpp-2012-08-14-11:00:30-7892' creation detected -- This bug has been reported in the CentOS bug tracker here: 0005824: tigervnc-server-module keep crashing http://bugs.centos.org/view.php?id=5824 However, this appears to be a bug upstream. The source RPM provided with CentOS is identical to that of upstream with no modifications. Also, there is an upstream bug reported that appears to have the same symptoms. I have added a comment to the upstream bug report (listed below) if anyone wishes to see the details. tigervnc-server-module crashes with dual screen setup https://bugzilla.redhat.com/show_bug.cgi?id=820443 We have verified that rebuilding the unmodified source RPM for tigervnc produces a tigervnc-server-module RPM that does not suffer from this bug. Removing the original tigervnc-server-module package and replacing it with the rebuilt one fixes the problem. I've duplicated the problem on 2 EL 6.3 x86_64 single-head display machines and have verified the fix. Tomorrow, I'll duplicate the problem on a dual-head x86_64 machine that currently still works after updating to EL 6.2 then confirm the the fix. Did you rebuild the SRPM using mock or directly on a physical machine with rpmbuild? No mock, just a simple rpmbuild -ba SPEC/tigervnc.spec ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Eth1 problem on CentOS-6.3
On Wed, August 15, 2012 09:15, Reindl Harald wrote: did you read the output you posted? http://lmgtfy.com/?q=unable+to+load+firmware+patch+rtl_nic%2Frtl8168d-1.fw r8169 :01:00.0: eth1: invalid firwmare r8169 :01:00.0: eth1: unable to load firmware patch rtl_nic/rtl8168d-1.fw (-22) I cannot seem to find a fix for this even given the references provided. However, I have discovered that eth1 has problems on the second host as well, it just does not generate the same messages: [root@vhost02 ~]# grep eth /var/log/messages Aug 13 17:10:18 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 13 17:16:19 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 14 11:23:39 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 14 11:23:41 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 14 11:37:42 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 14 11:37:44 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 14 11:38:51 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 14 11:38:53 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 14 11:40:17 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 14 11:40:19 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 14 11:40:50 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 14 11:40:52 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 14 15:26:20 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 14 15:26:22 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 15 05:28:39 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 15 05:28:42 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 15 05:40:32 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 15 05:40:34 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 15 05:47:34 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 15 05:47:36 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 15 05:48:21 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 15 05:48:23 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 15 06:16:53 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 15 06:16:54 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 15 06:18:35 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 15 06:18:37 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 15 06:22:27 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 15 06:22:29 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 15 06:31:36 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 15 06:31:38 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 15 06:40:27 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 15 06:40:29 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 15 06:41:40 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 15 06:41:42 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 15 06:49:39 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 15 06:49:41 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 15 07:01:59 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 15 07:02:01 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 15 07:04:08 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 15 07:04:10 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 15 07:07:28 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 15 07:07:30 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 15 07:09:54 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 15 07:09:56 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 15 07:12:07 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 15 07:12:09 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 15 07:13:58 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 15 07:14:00 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 15 07:17:04 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 15 07:17:06 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 15 07:20:14 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 15 07:20:16 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 15 07:29:28 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 15 07:29:30 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 15 09:31:56 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 15 09:31:58 vhost02 kernel: r8169 :01:00.0: eth1: link up Aug 15 09:33:18 vhost02 kernel: r8169 :01:00.0: eth1: link down Aug 15 09:33:20 vhost02 kernel: r8169 :01:00.0: eth1: link up So, my questions are: What is the problem and how do I fix it for both hosts? -- *** E-Mail is NOT a SECURE channel *** James B. Byrnemailto:byrn...@harte-lyne.ca Harte Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Eth1 problem on CentOS-6.3
On 15/08/12 16:18, James B. Byrne wrote: On Wed, August 15, 2012 09:15, Reindl Harald wrote: did you read the output you posted? http://lmgtfy.com/?q=unable+to+load+firmware+patch+rtl_nic%2Frtl8168d-1.fw r8169 :01:00.0: eth1: invalid firwmare r8169 :01:00.0: eth1: unable to load firmware patch rtl_nic/rtl8168d-1.fw (-22) I cannot seem to find a fix for this even given the references provided. However, I have discovered that eth1 has problems on the second host as well, it just does not generate the same messages: snip So, my questions are: What is the problem and how do I fix it for both hosts? Have you tried the updated driver I suggested? Set up elrepo.org repository and then do: yum install kmod-r8168 reboot and test. If it doesn't work you can uninstall it and you've lost nothing but 10 minutes of your time. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Extract lines from text file
wwp wrote: On Wed, 15 Aug 2012 15:22:10 +0100 Tony Molloy tony.mol...@ul.ie wrote: I'm looking for a command to extract lines from a large text file, a password file. A typical user has a username made from a letter followed by their id-number. m9718508:pw:9301:840: Lynch :/home/pgstud/m9718508:/bin/bash So for instance if I need to extract lines where; the 1st field, the username begins with an m and the 4th field, the group contains exactly 850 cat passwdfile | grep ^m | grep 850 output is close but fails if the value 850 appears outside the 4th field. In the above example which should be ignored 850 appears in the username and home directory and is therefore extracted. Something like `grep -E '^m.+:.*:.*:850:'` maybe? Complicated. awk '{ if ($1 ~ /^m/ $4 == 850 ) { print $0;}}' /etc/passwd mark awk! awk!* * No, I'm still not a seagull ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Eth1 problem on CentOS-6.3
On 15/08/12 16:18, James B. Byrne wrote: On Wed, August 15, 2012 09:15, Reindl Harald wrote: did you read the output you posted? http://lmgtfy.com/?q=unable+to+load+firmware+patch+rtl_nic%2Frtl8168d-1.fw r8169 :01:00.0: eth1: invalid firwmare r8169 :01:00.0: eth1: unable to load firmware patch rtl_nic/rtl8168d-1.fw (-22) I cannot seem to find a fix for this even given the references provided. However, I have discovered that eth1 has problems on the second host as well, it just does not generate the same messages: snip So, my questions are: What is the problem and how do I fix it for both hosts? Do you actually have the kernel-firmware package installed that provides the firmware? rpm -q kernel-firmware ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Extract lines from text file
In article 81eb30fb297893749f5c1e211f08c7e4.squir...@mail.5-cent.us, m.r...@5-cent.us wrote: wwp wrote: On Wed, 15 Aug 2012 15:22:10 +0100 Tony Molloy tony.mol...@ul.ie wrote: I'm looking for a command to extract lines from a large text file, a password file. A typical user has a username made from a letter followed by their id-number. m9718508:pw:9301:840: Lynch :/home/pgstud/m9718508:/bin/bash So for instance if I need to extract lines where; the 1st field, the username begins with an m and the 4th field, the group contains exactly 850 cat passwdfile | grep ^m | grep 850 output is close but fails if the value 850 appears outside the 4th field. In the above example which should be ignored 850 appears in the username and home directory and is therefore extracted. Something like `grep -E '^m.+:.*:.*:850:'` maybe? Complicated. awk '{ if ($1 ~ /^m/ $4 == 850 ) { print $0;}}' /etc/passwd awk -F: '{ if ($1 ~ /^m/ $4 == 850 ) { print $0;}}' /etc/passwd Cheers Tony -- Tony Mountifield Work: t...@softins.co.uk - http://www.softins.co.uk Play: t...@mountifield.org - http://tony.mountifield.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS-announce Digest, Vol 90, Issue 9
Send CentOS-announce mailing list submissions to centos-annou...@centos.org 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 centos-announce-requ...@centos.org You can reach the person managing the list at centos-announce-ow...@centos.org When replying, please edit your Subject line so it is more specific than Re: Contents of CentOS-announce digest... Today's Topics: 1. CESA-2012:1156 Moderate CentOS 6 kernel Update (Johnny Hughes) -- Message: 1 Date: Wed, 15 Aug 2012 04:21:07 + From: Johnny Hughes joh...@centos.org Subject: [CentOS-announce] CESA-2012:1156 Moderate CentOS 6 kernel Update To: centos-annou...@centos.org Message-ID: 20120815042107.ga19...@chakra.karan.org Content-Type: text/plain; charset=us-ascii CentOS Errata and Security Advisory 2012:1156 Moderate Upstream details at : https://rhn.redhat.com/errata/RHSA-2012-1156.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: 401fe56789a69f3ca2c7f327dca1bedbe3e122b86233f178f7bd47f778c0adb1 kernel-2.6.32-279.5.1.el6.i686.rpm f7f4959375076ce578db837cff336b5ddcdeed1f72ee5e4dbf1475a8f5fad4af kernel-debug-2.6.32-279.5.1.el6.i686.rpm 4902e0cf5cee8c2fa7314db34498d612abe5e3db22d76cd6e02755f21f0d41ef kernel-debug-devel-2.6.32-279.5.1.el6.i686.rpm 780a2a8ab3b0d2b559179e171edcb1f6c58d15b7c6ce514273699dcdf1ecb19f kernel-devel-2.6.32-279.5.1.el6.i686.rpm 14aa1fc5cfa421605236ebb4e79aa4ef0b4dde974255398dd3b50932f581c1a6 kernel-doc-2.6.32-279.5.1.el6.noarch.rpm 4e4bc121b137cc83dfe9c9ca5497f7fbf1daca41e2668128accd06cc550fe04e kernel-firmware-2.6.32-279.5.1.el6.noarch.rpm f2d9d272cb1bcf13f821b0b1be2943753a135c33c43cb92642f38c05db461b50 kernel-headers-2.6.32-279.5.1.el6.i686.rpm 71daaf6e22b7f5a71c0d836875c3a1101b5d071c7cebed79b73b5a8244f98ec9 perf-2.6.32-279.5.1.el6.i686.rpm f00d8c073dfe7b88e9f7caded9be261f8ebc45356c35692554624b8fa713bd98 python-perf-2.6.32-279.5.1.el6.i686.rpm x86_64: fdfb26523bcc4ca77ecdd182d31d78d83b866d1283b3dfc624c34e70f69bd61b kernel-2.6.32-279.5.1.el6.x86_64.rpm bdf821479037c870f2a926fd55509af7ad88cd5c2d312497e61530d0d43f2438 kernel-debug-2.6.32-279.5.1.el6.x86_64.rpm 2c9c0a7d50378f70ac80582cb5636d2b36d9fb8615b4b72ea2fc2df889b5656e kernel-debug-devel-2.6.32-279.5.1.el6.x86_64.rpm 6ad2ed5933e22186c4e97c64ffd0ddfbded48dea2ba5f3291e47963127c56a34 kernel-devel-2.6.32-279.5.1.el6.x86_64.rpm 29319bb3c31c5ee6d370d0da82a51851f24e54688136104c2694b8b0365adcc6 kernel-doc-2.6.32-279.5.1.el6.noarch.rpm 1e144afd01a3be84b9e698dedbe4cd95fc99025f23e583ac7498ac3568dc86b6 kernel-firmware-2.6.32-279.5.1.el6.noarch.rpm f5bc0117e4371037084181e899b40b6da53e0666d932ba9aacf0950a400cda8d kernel-headers-2.6.32-279.5.1.el6.x86_64.rpm 2394f7b0fa0de3b86d21e9903f6886323fd42ce7ab1f8f3f3a8a52723eb37c75 perf-2.6.32-279.5.1.el6.x86_64.rpm d9702f2bf017d839e9923df390b31e3e75bca11613672d8c620fe19eb8971f16 python-perf-2.6.32-279.5.1.el6.x86_64.rpm Source: 2dbace349e15081cbd991c5890958e6a4efcc544de2a04eb7cf5b4cb58d614fe kernel-2.6.32-279.5.1.el6.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #cen...@irc.freenode.net -- ___ CentOS-announce mailing list centos-annou...@centos.org http://lists.centos.org/mailman/listinfo/centos-announce End of CentOS-announce Digest, Vol 90, Issue 9 ** ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] how best to rollback from a yum update?
Suppose I want to upgrade a bunch of packages on a system, but in case the upgrade produces unexpected, undesired results, I want to be able to rollback the system to its original state. What is the best way to do that? Often, I won't have, or be able to find, packages for the current installed versions. I.e. If I haven't upgraded postgres for 2 years, it may be that I can no longer find a package for the version I am currently running. The 'rollback' feature of rpm and yum [1] looks promising, but I have a few concerns with it: a) why isn't the --rolback switch described in either the man page for rpm or the output from --help? This makes me think the --rollback switch is deprecated or otherwise unofficial. b) how can I trim/purge the 'repackaged' rpms that by default go in /var/spool/repackage [2]? I don't want to just leave them there forever, but if I trim/purge/delete them, how will the rpm database be updated to know that it can no longer rollback to the date that they were installed? AtDhVaAnNkCsE [1] http://www.freedomit.co.nz/kb-centos/enabling-yum/rpm-rollback [2] http://www.linuxjournal.com/article/7034?page=0,1 -- Jon Detert Sr. Systems Administrator Infinity Healthcare Milwaukee, Wisconsin 414-290-6759 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how best to rollback from a yum update?
On 15.08.2012 17:23, Jon Detert wrote: Suppose I want to upgrade a bunch of packages on a system, but in case the upgrade produces unexpected, undesired results, I want to be able to rollback the system to its original state. What is the best way to do that? I would use yum-plugin-fs-snapshot (or just take an lvm snapshot manually). -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Extract lines from text file
Tony Mountifield wrote: In article 81eb30fb297893749f5c1e211f08c7e4.squir...@mail.5-cent.us, m.r...@5-cent.us wrote: wwp wrote: On Wed, 15 Aug 2012 15:22:10 +0100 Tony Molloy tony.mol...@ul.ie wrote: I'm looking for a command to extract lines from a large text file, a password file. A typical user has a username made from a letter followed by their id-number. m9718508:pw:9301:840: Lynch :/home/pgstud/m9718508:/bin/bash So for instance if I need to extract lines where; the 1st field, the username begins with an m and the 4th field, the group contains exactly 850 cat passwdfile | grep ^m | grep 850 output is close but fails if the value 850 appears outside the 4th field. In the above example which should be ignored 850 appears in the username and home directory and is therefore extracted. Something like `grep -E '^m.+:.*:.*:850:'` maybe? Complicated. awk '{ if ($1 ~ /^m/ $4 == 850 ) { print $0;}}' /etc/passwd awk -F: '{ if ($1 ~ /^m/ $4 == 850 ) { print $0;}}' /etc/passwd Or awk 'BEGIN { FS=:;}{ if ($1 ~ /^m/ $4 == 850 ) { print $0;}}' /etc/passwd mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Extract lines from text file
Am 15.08.2012 16:36, schrieb Marcelo Beckmann: Em 15-08-2012 11:22, Tony Molloy escreveu: [...] cat passwdfile | grep ^m | grep 850 output [...] ]$ cat testcentoslist | egrep ^m.*:.*:.*:850: http://en.wikipedia.org/wiki/Cat_%28Unix%29#Useless_use_of_cat Because a cat is a terrible thing to waste. SCNR, T. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [SOLVED] (maybe) Eth1 problem on CentOS-6.3
I seem to have resolved this issue by installing the alternate kernel module for this chip set available from elrepo. # /sbin/lspci -nn | grep -i net . . . 01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03) . . . # /sbin/lspci -n | grep '01:00.0' 01:00.0 0200: 10ec:8168 (rev 03) Using the the device id (10ec:8168) to search: http://elrepo.org/tiki/DeviceIDs shows that this matches: r8168.ko pci10EC:8168kmod-r8168 # yum whatprovides kmod-r8168 . . . kmod-r8168-8.031.00-1.el6.elrepo.x86_64 : r8168 kernel module(s) Repo: elrepo Matched from: . . . # yum install kmod-r8168 . . . Setting up Install Process Resolving Dependencies -- Running transaction check --- Package kmod-r8168.x86_64 0:8.031.00-1.el6.elrepo will be installed -- Finished Dependency Resolution Dependencies Resolved Package Arch Version RepositorySize Installing: kmod-r8168 x86_64 8.031.00-1.el6.elrepo elrepo 73 k Transaction Summary Install 1 Package(s) Total size: 73 k Installed size: 533 k Is this ok [y/N]: y Downloading Packages: . . . This seems to have cleared up the problem on both hosts but, only time will tell. -- *** E-Mail is NOT a SECURE channel *** James B. Byrnemailto:byrn...@harte-lyne.ca Harte Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Extract lines from text file
Tilman Schmidt wrote: Am 15.08.2012 16:36, schrieb Marcelo Beckmann: Em 15-08-2012 11:22, Tony Molloy escreveu: [...] cat passwdfile | grep ^m | grep 850 output [...] ]$ cat testcentoslist | egrep ^m.*:.*:.*:850: http://en.wikipedia.org/wiki/Cat_%28Unix%29#Useless_use_of_cat Because a cat is a terrible thing to waste. And why would you want to disturb our Lords Masters? I mean, why are *we* here? mark -- The truth is out, we know at last: Dogs have masters, cats have staff. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Extract lines from text file
On Wednesday 15 August 2012 15:36:09 Marcelo Beckmann wrote: Em 15-08-2012 11:22, Tony Molloy escreveu: Hi, I'm looking for a command to extract lines from a large text file, a password file. A typical user has a username made from a letter followed by their id-number. m9718508:pw:9301:840: Lynch :/home/pgstud/m9718508:/bin/bash So for instance if I need to extract lines where; the 1st field, the username begins with an m and the 4th field, the group contains exactly 850 cat passwdfile | grep ^m | grep 850 output is close but fails if the value 850 appears outside the 4th field. In the above example which should be ignored 850 appears in the username and home directory and is therefore extracted. Any ideas. ]$ cat testcentoslist m9718508:pw:9301:840: Lynch :/home/pgstud/m9718508:/bin/bash m9718308:pw:9301:850: Lynch :/home/pgstud/m9718508:/bin/bash m9718208:pw:9301:840: Lynch :/home/pgstud/m9718508:/bin/bash m9718508:pw:9301:840: Lynch :/home/pgstud/m9718908:/bin/bash ]$ cat testcentoslist | egrep ^m.*:.*:.*:850: m9718308:pw:9301:850: Lynch :/home/pgstud/m9718508:/bin/bash Exactly what I needed. I'll just drop the cat as a later poster pointed out. Thanks to all who replied. Tony ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Extract lines from text file
On Wed, Aug 15, 2012 at 1:26 PM, Tony Molloy tony.mol...@ul.ie wrote: ]$ cat testcentoslist | egrep ^m.*:.*:.*:850: m9718308:pw:9301:850: Lynch :/home/pgstud/m9718508:/bin/bash Exactly what I needed. I'll just drop the cat as a later poster pointed out. sed -n -e '/pattern/p' can match anything grep would do and might be even more useful if you want substitutions for subsequent use. And of course perl can do anything sed can do, and then some... -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] tigervnc-server-module crashes after EL 6.3 update
On 08/15/2012 09:47 AM, Cal Webster wrote: On Tue, 2012-08-14 at 20:55 -0500, Johnny Hughes wrote: On 08/14/2012 05:23 PM, Cal Webster wrote: We began experiencing failed vnc connections to the console display on servers that have been updated to EL 6.3. No such failures have occurred on similar connections to EL 6.2 servers. On the client machine a normal vncviewer display appears with the expected graphical login until the mouse pointer is moved within the boundaries of the vncviewer window. At this point the window closes and an error message appears in both a pop-up window and in the terminal window in which the session was initiated stating read: Connection reset by peer (104). On the server end, a core dump is generated and a abrt bug report is created. /var/log/messages -- Aug 14 11:00:30 jato2 abrt[11411]: File '/usr/bin/Xorg' seems to be deleted Aug 14 11:00:30 jato2 abrt[11411]: Saved core dump of pid 7892 (/usr/bin/Xorg) to /var/spool/abrt/ccpp-2012-08-14-11:00:30-7892 (42041344 bytes) Aug 14 11:00:30 jato2 abrtd: Directory 'ccpp-2012-08-14-11:00:30-7892' creation detected -- This bug has been reported in the CentOS bug tracker here: 0005824: tigervnc-server-module keep crashing http://bugs.centos.org/view.php?id=5824 However, this appears to be a bug upstream. The source RPM provided with CentOS is identical to that of upstream with no modifications. Also, there is an upstream bug reported that appears to have the same symptoms. I have added a comment to the upstream bug report (listed below) if anyone wishes to see the details. tigervnc-server-module crashes with dual screen setup https://bugzilla.redhat.com/show_bug.cgi?id=820443 We have verified that rebuilding the unmodified source RPM for tigervnc produces a tigervnc-server-module RPM that does not suffer from this bug. Removing the original tigervnc-server-module package and replacing it with the rebuilt one fixes the problem. I've duplicated the problem on 2 EL 6.3 x86_64 single-head display machines and have verified the fix. Tomorrow, I'll duplicate the problem on a dual-head x86_64 machine that currently still works after updating to EL 6.2 then confirm the the fix. Did you rebuild the SRPM using mock or directly on a physical machine with rpmbuild? No mock, just a simple rpmbuild -ba SPEC/tigervnc.spec OK, if you find that this solves your problems for sure, I will build the SRPM outside of mock and see if it is different. signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] samba problem with kernel 2.6.32-279.*
On 08/15/2012 06:25 AM, Mogens Kjaer wrote: Hello, We use Norton Ghost, running in a PXE booted DOS, to handle Windows XP images. The images are stored on a samba share on our CentOS 6 server. This has worked without any problems for years. After kernel 2.6.32-279* it has stopped working. The symptom is that if I boot in DOS, and do: net use x: \\myserver\ghostimages dir x: I get an infinite loop where the first file name is listed again and again. Going back to kernel-2.6.32-220.17.1 on the server fixes the problem. The problem exist with kernel-2.6.32-279, kernel-2.6.32-279.2.1, and kernel-2.6.32-279.5.1. Samba is version samba-3.5.10-125, the server is x86_64. Where should I look for a solution to that problem on the newer kernels? Mogens I would start in: rpm -q --changelog kernel-2.6.32-279 | less and look at everything smb or cifs between the last version that works and your version to see if you can tell what update might be causing the issue. signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Extract lines from text file
On Wednesday 15 August 2012 19:46:42 Les Mikesell wrote: On Wed, Aug 15, 2012 at 1:26 PM, Tony Molloy tony.mol...@ul.ie wrote: ]$ cat testcentoslist | egrep ^m.*:.*:.*:850: m9718308:pw:9301:850: Lynch :/home/pgstud/m9718508:/bin/bash Exactly what I needed. I'll just drop the cat as a later poster pointed out. sed -n -e '/pattern/p' can match anything grep would do and might be even more useful if you want substitutions for subsequent use. And of course perl can do anything sed can do, and then some... True true, and of course C could do anything and everything ;-) But all I need is a simple script which will be run once a year to remove the graduated students from the password file. Regards, Tony ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Extract lines from text file
Tony Molloy wrote: On Wednesday 15 August 2012 19:46:42 Les Mikesell wrote: On Wed, Aug 15, 2012 at 1:26 PM, Tony Molloy tony.mol...@ul.ie wrote: ]$ cat testcentoslist | egrep ^m.*:.*:.*:850: m9718308:pw:9301:850: Lynch :/home/pgstud/m9718508:/bin/bash Exactly what I needed. I'll just drop the cat as a later poster pointed out. sed -n -e '/pattern/p' can match anything grep would do and might be even more useful if you want substitutions for subsequent use. And of course perl can do anything sed can do, and then some... True true, and of course C could do anything and everything ;-) But all I need is a simple script which will be run once a year to remove the graduated students from the password file. Ah, but are you sure they're not just dropped out for a term, or about to become indentured servants, er, grad students? In that case, maybe just change their login shell to /bin/noLogin mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Eth1 problem on CentOS-6.3
On Wed, August 15, 2012 09:26, m.r...@5-cent.us wrote: My eyes uncrossed, and I saw, buried in there, the firstlink, above, and the last. You might want to see if a) the 8168d firmware patch will work on that card; b) vhost - it's a virtual host? perhaps it's trying to load the firmware patch to the real NIC, and as a guest VM, it doesn't have rights? vhost is a kvm host system, not a virtualized guest. As I wrote elsewhere, I installed the kmod package from elrepo that handles this device, which solution I believe you may have originally suggested to me. In any case, that seems to have solved the problem (fingers crossed). Thanks for the help. I appreciate it very much. Sorry about your eyes. But when things are totally unfamiliar to me I hesitate to trim error logs lest out of ignorance I remove what is really important. -- *** E-Mail is NOT a SECURE channel *** James B. Byrnemailto:byrn...@harte-lyne.ca Harte Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] samba problem with kernel 2.6.32-279.*
On 08/15/2012 06:25 AM, Mogens Kjaer wrote: Hello, We use Norton Ghost, running in a PXE booted DOS, to handle Windows XP images. The images are stored on a samba share on our CentOS 6 server. This has worked without any problems for years. After kernel 2.6.32-279* it has stopped working. The symptom is that if I boot in DOS, and do: net use x: \\myserver\ghostimages dir x: I get an infinite loop where the first file name is listed again and again. Going back to kernel-2.6.32-220.17.1 on the server fixes the problem. The problem exist with kernel-2.6.32-279, kernel-2.6.32-279.2.1, and kernel-2.6.32-279.5.1. Samba is version samba-3.5.10-125, the server is x86_64. Where should I look for a solution to that problem on the newer kernels? Mogens I don't this would impact it, but if the underlying file system of the samba machine's file system is ext4 and if it is a 64-bit machine, it might. http://joejulian.name/blog/glusterfs-bit-by-ext4-structure-change/ signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] KVM Setup for Win7 Pro on CentOS 5.x
Can somebody point me to a HowTO or other documentation describing the tools available under the CentOS 5 KVM package to create and manage a Windows 7 Pro VM? All my VM experience to date has been the old free VMware Server. I need to: + Create the VM instance allowing for about 50GB total disk space which will be either a single image partitioned into two Windows 'Drives' for the OS and applications/data, or two images. + Install Windows 7 from an OEM System Builder Pack, either using the CD/DVD drive on the Linux server or from an image created with 'dd' from the Win7 media. + Set up network bridging on the private LAN so that the Windows system is accessible via OpenVPN connections from the outside world and by users on the LAN to run a client/server accounting application. Thanks Bill -- INTERNET: b...@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax:(206) 232-9186 Skype: jwccsllc (206) 855-5792 The demands of the majority are always greater than taxation alone can provide and thats where the FED comes in. The value of the dollar has depreciated 97% since the creation of the FED. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how best to rollback from a yum update?
On Wednesday 15 August 2012, Jon Detert jdet...@infinityhealthcare.com wrote: Suppose I want to upgrade a bunch of packages on a system, but in case the upgrade produces unexpected, undesired results, I want to be able to rollback the system to its original state. What is the best way to do that? yum history list, then yum history undo -- Yves Bellefeuille y...@storm.ca Simply put, E=mc^2 is liberal claptrap. -- Conservapedia.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Strange issue with system time being off
Hi all, After poking around a bit I ended up just going the /etc/ntp/step-tickers route to resolve the issue and have the time in-sync as soon as the OS comes up. Thanks for all the help! On Sat, Aug 11, 2012 at 7:15 PM, Gordon Messmer yiny...@eburg.com wrote: On 08/09/2012 12:33 PM, Russell Jones wrote: The hardware clock is configured in local time. /etc/sysconfig/clock is set to UTC=false and ZONE=America/Chicago. What other settings are in that file? The system is treating your hardware clock as if it were UTC. Actually setting it to UTC is probably the easiest fix (and possibly the best one). ___ 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] stupid bash question
the relevant snippet is... NAME=*.mov cd $IN if test -n $(find . -maxdepth 1 -name $NAME -print -quit) and if there is one file in this directory - ie test.mov, this works fine but if there are two (or more) files in this directory - test.mov, test2.mov then I get an error... find: paths must precede expression So my code is evidently wrong. I just want a test for 1 or more files ending in .mov in the directory? Any one want to toss me a bone here? -- Craig White ~ craig.wh...@ttiltd.com 1.800.869.6908 ~~ www.ttiassessments.com Need help communicating between generations at work to achieve your desired success? Let us help! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] stupid bash question
On Wed, Aug 15, 2012 at 4:19 PM, Craig White craig.wh...@ttiltd.com wrote: the relevant snippet is... NAME=*.mov cd $IN if test -n $(find . -maxdepth 1 -name $NAME -print -quit) and if there is one file in this directory - ie test.mov, this works fine but if there are two (or more) files in this directory - test.mov, test2.mov then I get an error... find: paths must precede expression So my code is evidently wrong. I just want a test for 1 or more files ending in .mov in the directory? Any one want to toss me a bone here? Run the script with -x to see what's happening. $NAME is probably getting expanded. You might have to set noglob. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] stupid bash question
On Wed, 15 Aug 2012, Craig White wrote: the relevant snippet is... NAME=*.mov cd $IN if test -n $(find . -maxdepth 1 -name $NAME -print -quit) and if there is one file in this directory - ie test.mov, this works fine but if there are two (or more) files in this directory - test.mov, test2.mov then I get an error... find: paths must precede expression The substitution of $NAME is expanding the wild card, giving you a single -name with two arguments. You probably want something like: NAME=\*.mov Steve ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] stupid bash question
I gess you could also avoid the expension with: if test -n $(find . -maxdepth 1 -name \$NAME\ -print -quit) 2012/8/15 Steve Thompson s...@vgersoft.com: On Wed, 15 Aug 2012, Craig White wrote: the relevant snippet is... NAME=*.mov cd $IN if test -n $(find . -maxdepth 1 -name $NAME -print -quit) and if there is one file in this directory - ie test.mov, this works fine but if there are two (or more) files in this directory - test.mov, test2.mov then I get an error... find: paths must precede expression The substitution of $NAME is expanding the wild card, giving you a single -name with two arguments. You probably want something like: NAME=\*.mov Steve ___ 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] stupid bash question
Put escaped double quotes around name, like \$NAME\ in the test expression. -- Pat Welch Sent from my Android phone with K-9 Mail. Craig White craig.wh...@ttiltd.com wrote: the relevant snippet is... NAME=*.mov cd $IN if test -n $(find . -maxdepth 1 -name $NAME -print -quit) and if there is one file in this directory - ie test.mov, this works fine but if there are two (or more) files in this directory - test.mov, test2.mov then I get an error... find: paths must precede expression So my code is evidently wrong. I just want a test for 1 or more files ending in .mov in the directory? Any one want to toss me a bone here? -- Craig White ~ craig.wh...@ttiltd.com 1.800.869.6908 ~~ www.ttiassessments.com Need help communicating between generations at work to achieve your desired success? Let us help! _ 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] stupid bash question
Some really good suggestions but unfortunately no dice On Aug 15, 2012, at 3:22 PM, Larry Martell wrote: Run the script with -x to see what's happening. $NAME is probably getting expanded. You might have to set noglob. set +o noglob (inside or outside script made no difference On Aug 15, 2012, at 3:45 PM, Steve Thompson wrote: The substitution of $NAME is expanding the wild card, giving you a single -name with two arguments. You probably want something like: NAME=\*.mov - Definitely agree that it's expanding the glob but this doesn't work - On Aug 15, 2012, at 3:51 PM, Jérémie Dubois-Lacoste wrote: (and Patrick Welch too) I gess you could also avoid the expension with: if test -n $(find . -maxdepth 1 -name \$NAME\ -print -quit) thought this would be a winner but it seems to completely miss everything with the $NAME completely Thanks Craig ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Good Anti-virus for Linux desktops and servers
Hi. I tried it. It's very limiting in its support based on Linux kernel. I would have to package create packages for the unsupported kernels on many of our machines. And it was a complete fail when I installed the packages of our media kit. I don't have time for jumping through hoops. Thanks On Wed, Aug 15, 2012 at 2:43 PM, Andrew S Reis a...@dbmsinc.com wrote: You might try looking into Symantec Endpoint Protection. It offers everything you've mentioned you're looking for. Andrew Reis Microsoft Windows/Networking Support Webmaster DBMS Inc. Toll-Free: (888) 862-0662 ext. 307 Direct: (318) 219-5034 a...@dbmsinc.com http://www.dbmsinc.com -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of John R Pierce Sent: Tuesday, August 14, 2012 7:53 PM To: centos@centos.org Subject: Re: [CentOS] Good Anti-virus for Linux desktops and servers On 08/14/12 5:38 PM, Gregory Machin wrote: Good point unless its intercepting the ssl stream. there are ways of doing ithttp://wiki.squid-cache.org/Features/SslBump but its dodgy .. the only method I know that works consistently is to block all direct web and ssl access and force use of a web proxy, so the SSL is between the remote server and the proxy server, which is your security gateway. users don't like this. the various uPNP type methods of autoconfiguring web proxies are all dodgy. mobile device users frequently have issues. -- john r pierceN 37, W 122 santa cruz ca mid-left coast ___ 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 mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] stupid bash question
On Wed, Aug 15, 2012 at 5:08 PM, Craig White craig.wh...@ttiltd.com wrote: Some really good suggestions but unfortunately no dice On Aug 15, 2012, at 3:22 PM, Larry Martell wrote: Run the script with -x to see what's happening. $NAME is probably getting expanded. You might have to set noglob. set +o noglob (inside or outside script made no difference This worked for me: $ cat t.sh set -o noglob NAME=*.mov find . -maxdepth 1 -name $NAME -print $ touch t.mov t2.mov $ bash t.sh ./t.mov ./t2.mov ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] IPv6 on Centos 6
An update to close: it's a vmware issue: * new centos 5 creations exhibit the same behavior * a few months ago, we migrated from an esx 4.0 cluster to a new esx 4.1 cluster * we've just recently started using a new centos 6 template; the centos 6 system that's working was created before the migration * a fresh install on esxi 4.0.0 worked fine; when the vm was restarted on the new cluster, it exhibited the same failure. I'm hoping to get an esx 4.0 instance running to I can try the same test, as it seems that esx 4.0 vms will migrate properly and work. Failing that, we can clone the working centos 6 system for now until we can work with vmware to figure out what's going on... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] slowness with new kernel+nouveau?
On 08/15/2012 06:53 AM, Darod Zyree wrote: Hello, New kernel version 2.6.32-279.2.1.el6.x86_64 in combination with xorg-x11-drv-nouveau Version:0.0.16 is somehow painfully slow on my laptop. during start up it takes almost half a minute for gnome login to appear. After having logged in the following happens: - gnome top and bottom panels slide/crawl in to view one pixel line at a time. - starting the terminal takes much more time, 10-15, sometimes even up to 20 seconds. - Firefox also takes much longer to start. Removing xorg-x11-drv-nouveau seems to resolve this slowness but then my attached monitor does not work. Anyone else experiencing this issue or know how to fix/troubleshoot? Have you tried installing the Nvidia drivers from the CentOS repo? -- _ °v° /(_)\ ^ ^ Mark LaPierre Registerd Linux user No #267004 www.counter.li.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Extract lines from text file
On 08/15/2012 10:22 AM, Tony Molloy wrote: Hi, I'm looking for a command to extract lines from a large text file, a password file. A typical user has a username made from a letter followed by their id-number. m9718508:pw:9301:840: Lynch :/home/pgstud/m9718508:/bin/bash So for instance if I need to extract lines where; the 1st field, the username begins with an m and the 4th field, the group contains exactly 850 cat passwdfile | grep ^m | grep 850 output is close but fails if the value 850 appears outside the 4th field. In the above example which should be ignored 850 appears in the username and home directory and is therefore extracted. Any ideas. Thanks, Tony ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos [mlapier@mushroom ~]$ cat tmpfile m9718508:pw:9301:840: Lynch :/home/pgstud/m9718508:/bin/bash m1234567:pw:9302:850: Lynch :/home/pgstud/m1234567:/bin/bash [mlapier@mushroom ~]$ grep ^m tmpfile | grep :850: m1234567:pw:9302:850: Lynch :/home/pgstud/m1234567:/bin/bash [mlapier@mushroom ~]$ -- _ °v° /(_)\ ^ ^ Mark LaPierre Registerd Linux user No #267004 www.counter.li.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] stupid bash question
On Wed, Aug 15, 2012 at 05:19:22PM -0600, Larry Martell wrote: On Wed, Aug 15, 2012 at 5:08 PM, Craig White craig.wh...@ttiltd.com wrote: Some really good suggestions but unfortunately no dice On Aug 15, 2012, at 3:22 PM, Larry Martell wrote: Run the script with -x to see what's happening. $NAME is probably getting expanded. You might have to set noglob. set +o noglob (inside or outside script made no difference This worked for me: $ cat t.sh set -o noglob NAME=*.mov find . -maxdepth 1 -name $NAME -print $ touch t.mov t2.mov $ bash t.sh ./t.mov ./t2.mov how about something (seemingly simple) like this: find out how many there are: count=`ls * | grep -c .MOV$` then diagnose the result: if [ $count -ge 1 ] then do your stuff here else echo oops. nothing to do! fi of course, there are pitfalls... we're asuming that there are only FILES that would match the pattern .MOV, no directories. -- Fred Smith -- fre...@fcshome.stoneham.ma.us - The Lord detests the way of the wicked but he loves those who pursue righteousness. - Proverbs 15:9 (niv) - ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] stupid bash question
On 08/15/2012 06:19 PM, Craig White wrote: the relevant snippet is... NAME=*.mov cd $IN if test -n $(find . -maxdepth 1 -name $NAME -print -quit) and if there is one file in this directory - ie test.mov, this works fine but if there are two (or more) files in this directory - test.mov, test2.mov then I get an error... find: paths must precede expression So my code is evidently wrong. I just want a test for 1 or more files ending in .mov in the directory? Any one want to toss me a bone here? Are you trying to find out if there are one or more files that match, or are you trying to list the name(s) of the files? NAME=`ls *.mov` for FILE in $NAME do echo $FILE done -- _ °v° /(_)\ ^ ^ Mark LaPierre Registerd Linux user No #267004 www.counter.li.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] copy/paste centos 6
I had to update all these packages on CentOS 6 for a project. Everything works great on CentOS 6 - except - Copy/Paste between applications. Anyone - know which application below might control that function? Example I cannot have firefox running and copy and paste text into thunderbird. Both applications - actually all applications work - I just cant copy/paste. I'm thinking I did not correctly compile one of the applications below - or did not satisfy a dependency. I am just trying to narrow it down. Any one have insight into this? Thanks - Jerry atk-1.32.0.tar.gz autoconf-2.68.tar.gz cairo-1.10.0.tar.gz dbus-glib-0.92.tar.gz flex-2.5.35.tar.gz fontconfig-2.8.0.tar.gz gdk-pixbuf-2.22.1.tar.gz gettext-0.18.1.1.tar.gz glib-2.27.5.tar.gz gmime-2.5.4.tar.gz gnome-desktop-2.32.1.tar.bz2 gnome-icon-theme-2.31.0.tar.bz2 gnome-vfs-2.24.4.tar.gz gnutls-2.10.4.tar.bz2 gst-plugins-bad-0.10.23.tar.gz gst-plugins-base-0.10.36.tar.gz gst-plugins-good-0.10.31.tar.gz gst-plugins-ugly-0.10.19.tar.gz gstreamer-0.10.36.tar.gz gst-rtsp-server-0.10.8.tar.bz2 gtk+-2.23.3.tar.gz gtk-doc-1.15.tar.gz gtk-engines-2.20.2.tar.gz intltool-0.40.6.tar.gz libogg-1.1.4.tar.gz liboil-0.3.17.tar.gz libpng-1.4.4.tar.gz libproxy-0.2.3.tar.bz2 libsoup-2.32.2.tar.gz libtheora-1.1.1.tar.bz2 libtool-2.4.tar.gz libunique-1.1.6.tar.gz libvorbis-1.2.3.tar.gz m4-1.4.15.tar.gz metacity-2.34.0.tar.gz orc-0.4.11.tar.gz pango-1.28.3.tar.gz pixman-0.21.2.tar.gz shared-mime-info-0.90.tar.bz2 totem-2.30.2.tar.gz totem-pl-parser-2.32.1.tar.gz xvidcore-1.2.2.tar.gz ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] copy/paste centos 6
On Wednesday 15 August 2012, Jerry Geis ge...@pagestation.com wrote: I had to update all these packages on CentOS 6 for a project. Everything works great on CentOS 6 - except - Copy/Paste between applications. Anyone - know which application below might control that function? Perhaps xclipboard from xorg-x11-apps. Yves -- Yves Bellefeuille y...@storm.ca Simply put, E=mc^2 is liberal claptrap. -- Conservapedia.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos