Re: [CentOS] Python hashlib and ripemd160

2016-02-03 Thread Eero Volotinen
well, how about compiling instance to another directory like /opt/python-alternative? usually works like ./configure --prefix=/opt/python-alternative and then other normal stuff.. -- Eero 2016-02-03 12:52 GMT+02:00 Alice Wonder : > Hi - I think the patent monster has

Re: [CentOS] I am not understanding the size of the iso

2016-02-03 Thread Peter
On 03/02/16 19:15, Ramaseshan wrote: > Yep, This is true, > If I look at Fedora Gnome for example, which also ships all > these(browser,libre, gnome etc), the final DVD version is just about 1.2 GB. > That is what surprises me. You're comparing apples to oranges. The Fedora images are live DVD,

Re: [CentOS] Python hashlib and ripemd160

2016-02-03 Thread Alice Wonder
okay it appears there are no suspect patent issues with ripemd160 so either they just didn't include it for some other reason or the issue is elsewhere. On 02/03/2016 03:00 AM, Eero Volotinen wrote: well, how about compiling instance to another directory like /opt/python-alternative? usually

Re: [CentOS] CentOS 7, NSF, "feature"

2016-02-03 Thread James Hogarth
On 2 Feb 2016 20:19, "Ricardo J. Barberis" wrote: > because the interface wasn't yet up, so I had to make a new unit and put this > inside (/etc/systemd/system/nginx.service): > > > .include /usr/lib/systemd/system/nginx.service > > [Unit] > After=network.target

[CentOS] Python hashlib and ripemd160

2016-02-03 Thread Alice Wonder
Hi - I think the patent monster has struck again. rmd = hashlib.new('ripemd160',binascii.unhexlify(someString)).hexdigest() That fails - ValueError: unsupported hash type From some googling, it appears that the supported hash types are from OpenSSL and that means the OpenSSL in CentOS doesn't

[CentOS] [solved] Re: Python hashlib and ripemd160

2016-02-03 Thread Alice Wonder
from Crypto.Hash import RIPEMD That lets me do a ripemd-160 On 02/03/2016 03:18 AM, Alice Wonder wrote: okay it appears there are no suspect patent issues with ripemd160 so either they just didn't include it for some other reason or the issue is elsewhere. On 02/03/2016 03:00 AM, Eero

[CentOS] strange behavior of firewalld and port-forwarding

2016-02-03 Thread Django [BOfH]
HI, me and firewalld won't have a good start, but I hope we'll be good friends. One of my hosts must rerote traffic from one to another host. It isn't a big problem. I've a host witch must do: 1) forwarding port 25 tcp to a second host Here I've a special mail-relay. My external.xml look like

Re: [CentOS] Latest version of kate editor

2016-02-03 Thread James B. Byrne
On Tue, February 2, 2016 12:02, H wrote: > > What do people use as a programming editor on CentOS 6? My first > impression of kate was favorable, not only did it support the usual > programming and scripting languages but also markdown which I have > recently discovered... > > I use vim/gvim

Re: [CentOS] [solved] CentOS 7 - DNAT with firewalld

2016-02-03 Thread Django [BOfH]
HI, Am 26.01.2016 um 15:56 schrieb Django [BOfH]: > So I think destination NAT (DNAT) isn't working on my CentOS 7 host. As > I seaid on my CentOS6 host DNAT is working very well. > > So where's my error? in my configuration or in my head? ;) The problem was a fault in destination hosts

[CentOS] Strange performance issue on CentOS 6.7 server

2016-02-03 Thread Alfred von Campe
I’m running CentOS 6.7 on my build servers, and on one of the servers the builds are taking almost an order of magnitude longer than usual. There are no runaway processes and there is plenty of free memory. So I suspected that file I/O might be slow, and sure enough, that appears to be the

Re: [CentOS-es] Ayuda Script

2016-02-03 Thread Ricardo J. Barberis
El Miércoles 03/02/2016, Cesar Martinez escribió: > Saludos amigos listeros, saben si existe alguna forma de detectar un > cambio en una archivo, para luego reiniciar un servicio, necesito saber > cuando se a modificado el archivo squid.conf, para poder reiniciar el > firewall, ya que tengo un

Re: [CentOS-virt] Where is QXL driver for Windows?

2016-02-03 Thread Alexander Dalloz
Am 03.02.2016 um 17:40 schrieb C. L. Martinez: Hi all, Where can I found QXL driver for Windows 2012 R2/Windows 8.1? I don't see inside latest/stable iso images from fedoraproject ... Thanks. Don't know what you are checking, but it is definitely included in

Re: [CentOS] Strange performance issue on CentOS 6.7 server

2016-02-03 Thread Warren Young
On Feb 3, 2016, at 1:30 PM, Alfred von Campe wrote: > > I suspected that file I/O might be slow, and sure enough, that appears to be > the case….What could cause this A dying hard disk can do it. HDDs try to silently paper over I/O errors, but what they can’t hide is

Re: [CentOS] Strange performance issue on CentOS 6.7 server

2016-02-03 Thread Alfred von Campe
On Feb 3, 2016, at 16:13, Warren Young wrote: > A dying hard disk can do it. HDDs try to silently paper over I/O errors, but > what they can’t hide is the time it takes to do this. If your HDD is > constantly correcting errors at the oxide layer, it will be reallly > sow. > > You

Re: [CentOS] Strange performance issue on CentOS 6.7 server

2016-02-03 Thread Warren Young
On Feb 3, 2016, at 2:26 PM, Alfred von Campe wrote: > > On Feb 3, 2016, at 16:13, Warren Young wrote: > >> A dying hard disk can do it. HDDs try to silently paper over I/O errors, >> but what they can’t hide is the time it takes to do this. If your HDD is >> constantly

Re: [CentOS] Strange performance issue on CentOS 6.7 server

2016-02-03 Thread m . roth
Alfred von Campe wrote: > On Feb 3, 2016, at 16:13, Warren Young wrote: > >> A dying hard disk can do it. HDDs try to silently paper over I/O >> errors, but what they can’t hide is the time it takes to do this. If >> your HDD is constantly correcting errors at the oxide layer, it will be >>

Re: [CentOS] Kernel Panic post kernel-2.6.32-504.23.4.el6.x86_64

2016-02-03 Thread Warren Young
On Feb 3, 2016, at 12:24 PM, Max Pyziur wrote: > > When I tried rebooting the machine, none of the kernels would work except for > the oldest one. Define “would not work”. Post a photo of the error message somewhere if you can’t describe it better than that. You might have

Re: [CentOS] Strange performance issue on CentOS 6.7 server

2016-02-03 Thread Alfred von Campe
On Feb 3, 2016, at 17:10, Warren Young wrote: > smartctl can see through several different types of RAID controller to the > underlying physical disks via its -d option. This is what I have: # smartctl --all /dev/sda smartctl 5.43 2012-06-30 r3573 [i686-linux-2.6.32-573.12.1.el6.i686] (local

Re: [CentOS] CentOS 7, NSF, "feature" [SOLVED]

2016-02-03 Thread Warren Young
On Feb 3, 2016, at 10:18 AM, Gordon Messmer wrote: > > On 02/03/2016 08:59 AM, Warren Young wrote: >> Again, I don’t know why they couldn’t just do it with links. > > Probably because they want to support a read-only root filesystem, working > toward "stateless"

Re: [CentOS] CentOS 7, NSF, "feature" [SOLVED]

2016-02-03 Thread Gordon Messmer
On 02/03/2016 12:52 PM, Warren Young wrote: Probably because they want to support a read-only root filesystem, working toward "stateless" systems. How does that explain anything? The same RPM that installed the service file can create a hard link or symlink giving the command an alternate

Re: [CentOS] CentOS 7, NSF, "feature" [SOLVED]

2016-02-03 Thread Warren Young
On Feb 3, 2016, at 10:30 AM, Ricardo J. Barberis wrote: > > El Miércoles 03/02/2016, Warren Young escribió: >> >> Again, I don’t know why they couldn’t just do it with links. > > I guess that's probably to execute scripts and "hide" the name of the > interpreter, e.g.:

Re: [CentOS] Latest version of kate editor

2016-02-03 Thread m . roth
James B. Byrne wrote: > On Tue, February 2, 2016 12:02, H wrote: >> >> What do people use as a programming editor on CentOS 6? My first >> impression of kate was favorable, not only did it support the usual >> programming and scripting languages but also markdown which I have >> recently

Re: [CentOS-es] Ayuda Script

2016-02-03 Thread Ernesto Pérez Estévez
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 02/03/2016 10:38 AM, Death User wrote: > Puedes usar find para determinar si el archivo de ha modificado > hace n minutos (cada que se ejecuta el cron por ejemplo) y basado > en eso ejecutar el script, otra cosa que se me ocurre, es generar > un

Re: [CentOS-es] Ayuda Script

2016-02-03 Thread Roberto Bermúdez
Saludos César, no se su lo que pides haya como hacerlo, pero para cuando a mi me toca hacer algo como lo que indicas yo tengo un segundo script de iptables sin restricción, y mediante un ejecutable que yo me hice, reinicio squid e iptables, luego cuando debo restringir solo ejecuto otro archivo

Re: [CentOS-es] Ayuda Script

2016-02-03 Thread Death User
Puedes usar find para determinar si el archivo de ha modificado hace n minutos (cada que se ejecuta el cron por ejemplo) y basado en eso ejecutar el script, otra cosa que se me ocurre, es generar un hash md5 del archivo cada vez que se ejecuta el cron y compararlo con el hash md5 guardado en la

[CentOS-es] Ayuda Script

2016-02-03 Thread César Martinez
Saludos amigos listeros, saben si existe alguna forma de detectar un cambio en una archivo, para luego reiniciar un servicio, necesito saber cuando se a modificado el archivo squid.conf, para poder reiniciar el firewall, ya que tengo un script firewall que bloquea accesos a facebook youtube y

Re: [CentOS] Kernel Panic post kernel-2.6.32-504.23.4.el6.x86_64

2016-02-03 Thread Max Pyziur
On Wed, 3 Feb 2016, Warren Young wrote: On Feb 3, 2016, at 12:24 PM, Max Pyziur wrote: When I tried rebooting the machine, none of the kernels would work except for the oldest one. Define “would not work”. Post a photo of the error message somewhere if you can’t describe

Re: [CentOS] Kernel Panic post kernel-2.6.32-504.23.4.el6.x86_64

2016-02-03 Thread Peter Q.
probably open bug https://bugs.centos.org/view.php?id=9374 ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] CentOS 7, NSF, "feature" [SOLVED]

2016-02-03 Thread Always Learning
On Wed, 2016-02-03 at 13:57 -0700, Warren Young wrote: > On Feb 3, 2016, at 10:30 AM, Ricardo J. Barberis > wrote: > > > > El Miércoles 03/02/2016, Warren Young escribió: > >> > >> Again, I don’t know why they couldn’t just do it with links. > > > > I guess that's

[CentOS] CentOS 7 regression, can not take a KVM qcow2, convert it and boot it on ESXi...

2016-02-03 Thread Martinx - ジェームズ
Guys, I have a Packer build procedure, that works like a charm, when with CentOS 6.7. Exemplifying: 1- Packer (with virtio disk) + QEmu + CentOS 6.7 ISO; 2- Create a RAW image; 3- Convert the RAW image into QCOW2 for KVM hypervisors (okay); 4- Convert the RAW image into VMDK for ESXi

Re: [CentOS] CentOS 7 regression, can not take a KVM qcow2, convert it and boot it on ESXi...

2016-02-03 Thread Gordon Messmer
On 02/03/2016 06:33 PM, Martinx - ジェームズ wrote: What am I missing? Use lsinitrd to compare the two initrds. Direct each output to two files and then use "diff -u" to see the difference. ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] CentOS 7 regression, can not take a KVM qcow2, convert it and boot it on ESXi...

2016-02-03 Thread Martinx - ジェームズ
On 4 February 2016 at 00:58, Gordon Messmer wrote: > On 02/03/2016 06:33 PM, Martinx - ジェームズ wrote: >> >> What am I missing? > > > Use lsinitrd to compare the two initrds. Direct each output to two files > and then use "diff -u" to see the difference. Mmm... Nice

Re: [CentOS] hot do use iscsi loopback

2016-02-03 Thread lejeczek
On 03/02/16 15:56, lejeczek wrote: hi everybody I've looked it up on the net but info is scarce. Could please someone explain how to use loopback and what is purpose? many thanks ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] CentOS 7, NSF, "feature" [SOLVED]

2016-02-03 Thread Noam Bernstein
> On Feb 3, 2016, at 10:57 AM, m.r...@5-cent.us wrote: > > The issue: NFS fails to start in CentOS 7 if it cannot resolve any of a > list of hosts. > > Well, my manager had to google to find the *truly* obscure solution that > uses a deeply oddball syntax. > > In

Re: [CentOS] CentOS 7, NSF, "feature" [SOLVED]

2016-02-03 Thread Warren Young
On Feb 3, 2016, at 8:57 AM, m.r...@5-cent.us wrote: > > Notice the *deeply* weird syntax of "=-”. That syntax comes from make(1), where it means the same thing. make(1) has been with us since 1977, so I’d think “old and familiar” is a better description than “deeply weird.” > And, I read in

Re: [CentOS] CentOS 7, NSF, "feature"

2016-02-03 Thread Ricardo J. Barberis
El Miércoles 03/02/2016, James Hogarth escribió: > On 2 Feb 2016 20:19, "Ricardo J. Barberis" wrote: > > because the interface wasn't yet up, so I had to make a new unit and put > > this > > > inside (/etc/systemd/system/nginx.service): > > > > > > .include

[CentOS] How to install packages from git.centos.org

2016-02-03 Thread Tim
Hi all, how can I install rpms from git.centos.org? I'd like to install and test the realtime-kernel. It seems to me that https://wiki.centos.org/Sources only means to build srpms. What I ned is an rt-kernel with headers for further compiling. Purpose: I'd like to build a digital audio

[CentOS-virt] Where is QXL driver for Windows?

2016-02-03 Thread C. L. Martinez
Hi all, Where can I found QXL driver for Windows 2012 R2/Windows 8.1? I don't see inside latest/stable iso images from fedoraproject ... Thanks. -- Greetings, C. L. Martinez ___ CentOS-virt mailing list CentOS-virt@centos.org

[CentOS] hot do use iscsi loopback

2016-02-03 Thread lejeczek
hi everybody I've looked it up on the net but info is scarce. Could please someone explain how to use loopback and what is purpose? many thanks ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Strange performance issue on CentOS 6.7 server

2016-02-03 Thread James Hogarth
On 3 Feb 2016 22:24, "Alfred von Campe" wrote: > > On Feb 3, 2016, at 17:10, Warren Young wrote: > > > smartctl can see through several different types of RAID controller to the underlying physical disks via its -d option. > > This is what I have: > > # smartctl --all

Re: [CentOS] I am not understanding the size of the iso

2016-02-03 Thread Ramaseshan
The whole confusion was, instead of downloading the Live DVD install, I downloaded the DVD version, and made the default installation option (overlooking it) and it gave me only a minimal install by default. So it was nothing but a silly mistake, I am sorry about it. Didnt quite realize it. On

Re: [CentOS] nfs stuck, don't know what processes to kill

2016-02-03 Thread Dave Burns
Thanks. How did I miss that -l switch? Unfortunately, I went into panic mode and just rebooted, but I'll know next time. Dave On Tue, Feb 2, 2016 at 9:00 AM, Phelps, Matthew wrote: > Try "umount -fl"('eff el') > > On Tue, Feb 2, 2016 at 1:58 PM, Dave Burns

Re: [CentOS] nfs stuck, don't know what processes to kill

2016-02-03 Thread Dave Burns
On Tue, Feb 2, 2016 at 9:23 AM, wrote: > Dave Burns wrote: > > My NFS server is up and other clients can access x. One particular client > > can't. I tried to unmount the NFS share: > > > > [root@nfsclient ~]# umount -f /disk/x > > umount2: Device or resource busy > >

Re: [CentOS] CentOS 7, NSF, "feature" [SOLVED]

2016-02-03 Thread m . roth
Warren Young wrote: > On Feb 3, 2016, at 8:57 AM, m.r...@5-cent.us wrote: >> >> I also don't understand why you'd set as an out-of-the-box default >> that it should fail to come up if it can't resolve any export host, >> rather than default to coming up. > > You do it for the same reason you’d

Re: [CentOS] I am not understanding the size of the iso

2016-02-03 Thread Ramaseshan
Sorry, I understand the size of the ISO. I overlooked the installation options. Now its all clear. On Wednesday 03 February 2016 04:02 PM, Peter wrote: > On 03/02/16 19:15, Ramaseshan wrote: >> Yep, This is true, >> If I look at Fedora Gnome for example, which also ships all >>

Re: [CentOS] delete directories with find and exclude other directories

2016-02-03 Thread Valeri Galtsev
On Wed, February 3, 2016 11:37 am, Tim Dunphy wrote: > Hi all, > > I'm attempting to delete some directories and I want to be able to exclude > a directory called 'logs' from being deleted. > > This is my basic find operation (without the exclusion) > > # find . -type d |tail -10 >

Re: [CentOS] nfs stuck, don't know what processes to kill

2016-02-03 Thread m . roth
Dave Burns wrote: > On Tue, Feb 2, 2016 at 9:23 AM, wrote: > >> Dave Burns wrote: >> > My NFS server is up and other clients can access x. One particular >> client >> > can't. I tried to unmount the NFS share: >> > >> > [root@nfsclient ~]# umount -f /disk/x >> > umount2: Device

Re: [CentOS] delete directories with find and exclude other directories

2016-02-03 Thread m . roth
Tim Dunphy wrote: > Hi all, > > I'm attempting to delete some directories and I want to be able to exclude > a directory called 'logs' from being deleted. > > This is my basic find operation (without the exclusion) > > # find . -type d |tail -10 > ./d20160124-1120-df8mfb/deployments >

Re: [CentOS] CentOS 7, NSF, "feature" [SOLVED]

2016-02-03 Thread m . roth
The issue: NFS fails to start in CentOS 7 if it cannot resolve any of a list of hosts. Well, my manager had to google to find the *truly* obscure solution that uses a deeply oddball syntax. In /usr/lib/systemd/system/nfs-server.service, you edit the following line so that it looks like this:

Re: [CentOS-es] Ayuda Script

2016-02-03 Thread César Martínez
Gracias amigos revisare las opciones que mencionan haber como me va -- Saludos César Martínez Servicom Enviado desde mi móvil samsung A3 4G El 3 de febrero de 2016 10:40:49 GMT-05:00, "Ernesto Pérez Estévez" escribió: >-BEGIN PGP SIGNED MESSAGE- >Hash:

Re: [CentOS] CentOS 7, NSF, "feature" [SOLVED]

2016-02-03 Thread Ricardo J. Barberis
El Miércoles 03/02/2016, Warren Young escribió: > On Feb 3, 2016, at 8:57 AM, m.r...@5-cent.us wrote: > > Notice the *deeply* weird syntax of "=-”. > > That syntax comes from make(1), where it means the same thing. make(1) has > been with us since 1977, so I’d think “old and familiar” is a better

[CentOS] delete directories with find and exclude other directories

2016-02-03 Thread Tim Dunphy
Hi all, I'm attempting to delete some directories and I want to be able to exclude a directory called 'logs' from being deleted. This is my basic find operation (without the exclusion) # find . -type d |tail -10 ./d20160124-1120-df8mfb/deployments ./d20160124-1120-df8mfb/releases

Re: [CentOS] CentOS 7, NSF, "feature" [SOLVED]

2016-02-03 Thread Gordon Messmer
On 02/03/2016 08:59 AM, Warren Young wrote: Again, I don’t know why they couldn’t just do it with links. Probably because they want to support a read-only root filesystem, working toward "stateless" systems. ___ CentOS mailing list

[CentOS] Kernel Panic post kernel-2.6.32-504.23.4.el6.x86_64

2016-02-03 Thread Max Pyziur
Greetings, Today, I decided to reboot one of my CentOS machines after it had been running for 219 days. In this time, I had done yum updates several times. When I tried rebooting the machine, none of the kernels would work except for the oldest one. Here are the installed kernels:

Re: [CentOS] delete directories with find and exclude other directories

2016-02-03 Thread Gordon Messmer
On 02/03/2016 10:51 AM, m.r...@5-cent.us wrote: Right, but a) I think I tried using prune 20 years ago... and b) I thought the o/p wanted to not deal with any directory whose name was logs. leaving off prune would get everything, which is perhaps a bit more useful. I think you don't

Re: [CentOS] delete directories with find and exclude other directories

2016-02-03 Thread Chris Beattie
On 2/3/2016 12:37 PM, Tim Dunphy wrote: > I'm attempting to delete some directories and I want to be able to exclude > a directory called 'logs' from being deleted. Since you can't have a file and a directory named "logs" in the same directory at the same time (that I know of), you could turn on

Re: [CentOS] CentOS 7, NSF, "feature"

2016-02-03 Thread Sylvain CANOINE
> De: "Ricardo J. Barberis" > [Unit] > After=network.target remote-fs.target nss-lookup.target network-online.target > > > > The After line is the important one, I copied it from > /usr/lib/systemd/system/nginx.service and added "network-online.target" > at the end. > >

Re: [CentOS] delete directories with find and exclude other directories

2016-02-03 Thread Gordon Messmer
On 02/03/2016 09:37 AM, Tim Dunphy wrote: If I try to exlclude the logs directory with the prune command I get back no results. root@ops-manager:/tmp/tmp# find . -type d -prune -o -name 'logs' -print What am I doing wrong? You're not applying the prune command to items named logs, for one.

Re: [CentOS] delete directories with find and exclude other directories

2016-02-03 Thread Gordon Messmer
On 02/03/2016 10:11 AM, m.r...@5-cent.us wrote: find . -type d ! -name logs -prune That will prune all of the directories whose name is not "logs", starting with "." So... not terribly useful. ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] delete directories with find and exclude other directories

2016-02-03 Thread m . roth
Gordon Messmer wrote: > On 02/03/2016 10:11 AM, m.r...@5-cent.us wrote: >> find . -type d ! -name logs -prune > > That will prune all of the directories whose name is not "logs", > starting with "." > > So... not terribly useful. Right, but a) I think I tried using prune 20 years ago... and b) I