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 remote-fs.target nss-lookup.target

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, p

[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

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 struck again. > > rmd = has

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

[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 Volotine

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 routing

[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 t

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 toge

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 discovered

[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] 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: Exe

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 /usr/lib/systemd/system/nginx.service >

[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 workstat

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 https://lists.centos.org/mai

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 /usr/lib/systemd/system/nfs-serv

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 t

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@centos.org

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 ./d20160131-16

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 wrote: > > > My NFS server

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 > ./d20160124-11

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 >> these(browser,libr

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 > > umount.nfs: /disk/x: device

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 fail

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 or resource busy >

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 > ./d20160124-

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 https://lists

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 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. > > After making your chang

[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: kernel-

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 understand.

[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 cas

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" systems. How does that explain

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.: I get why second-rate p

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 to turn off rhgb m

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 the time it takes to do t

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 can

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 >> r

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 nam

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 correcting errors at t

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 b

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 it better than t

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] 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 /dev/sda > smartctl 5.43 2012

[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 hyper

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 https://lists.cento

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 probably to execute scripts

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 tip! Thanks! :-D

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