Re: [CentOS] C5 C6 : useradd

2015-01-24 Thread Stephen Harris
On Sun, Jan 25, 2015 at 03:43:06AM +, Always Learning wrote: -M, do not create user's home directory so why do I see in /etc/passwd fred:x:504:504::/home/fred:/sbin/nologin -M stops it doing a mkdir to create the actual directory in the filesystem Should the 'correct'

Re: [CentOS] VLAN issue

2015-01-25 Thread Stephen Harris
On Sun, Jan 25, 2015 at 09:12:29AM -0500, Boris Epstein wrote: OK... but why does it need to be a trunk port? If you are on a trunk port then your machine needs to be configured for VLANs. If you are not on a trunk port then your machine needs to be configured normally. It _sounds_ like you

Re: [CentOS] VLAN issue

2015-01-23 Thread Stephen Harris
On Fri, Jan 23, 2015 at 07:10:57PM -0500, Boris Epstein wrote: This makes two of us. I've done everything as you have described and it simply does not work. Are you actually seeing VLAN tagged traffic, or is the cisco switch just providing a normal stream? At work we have hundreds of VLANs,

Re: [CentOS] how to stop yum when networkmanager has broken resolv.conf?

2015-02-20 Thread Stephen Harris
On Fri, Feb 20, 2015 at 04:13:13PM -0700, Chris Stone wrote: try CTRL-Z to put that running process in your shell to sleep, then: bg 1 You're missing a % there killall -TERM yum Or just control-Z and then 'kill -9 %1' You don't need to background the job and then kill every process

Re: [CentOS] AWOL rpm

2015-03-24 Thread Stephen Harris
On Tue, Mar 24, 2015 at 10:56:29AM -0700, Ali Corbin wrote: This morning I was showing a co-worker how to upgrade glibc. And he found that yum wouldn't give him glibc-common-2.5-123.el5_11.1.i386.rpm. So I browsed to the web interface of one of the centos5 mirrors, and couldn't find it

Re: [CentOS] How to decrypt rootpassword form kickstart file

2015-04-01 Thread Stephen Harris
On Wed, Apr 01, 2015 at 06:09:01PM +0200, Andrew Holway wrote: In the UK we have a law which give you the right to remain silent; so as not to incriminate yourself. I think in the US its known as taking the fifth. The UK RIPA act requires you to hand over decryption keys upon presentation of

Re: [CentOS] Glibc sources?

2015-02-27 Thread Stephen Harris
On Fri, Feb 27, 2015 at 06:49:23PM +, ANDY KENNEDY wrote: But, when looking through the source code for this version on the CentOS servers I only see: http://vault.centos.org/6.6/updates/Source/SPackages/ [ ] glibc-2.12-1.149.el6_6.5.src.rpm27-Jan-2015 23:13 15M

Re: [CentOS] yum causing RPC timed out?

2015-02-27 Thread Stephen Harris
On Fri, Feb 27, 2015 at 12:38:06PM -1000, Dave Burns wrote: What makes you think NIS is involved? Is Errno 12 a clue? I tried searching for (do_ypcall: clnt_call: rpc: timed do_ypcall is a NIS error message. (Previous NIS was called yellow pages; the yp in do_ypcall is a reference to that).

Re: [CentOS] unable to umount

2015-02-22 Thread Stephen Harris
nothing is using the partition $ lsof |grep srv empty Although the prompt is a $, I assume you're actually doing this as root? $ umount /srv umount: /srv: device is busy umount: /srv: device is busy what could keeping the device busy ... ? Is the device NFS exported? I've seem that

Re: [CentOS] scp -rp behavior

2015-02-21 Thread Stephen Harris
On Sat, Feb 21, 2015 at 08:08:23PM -0500, Mark LaPierre wrote: scp -pr mlapier@192.168.15.105: /home/mlapier/.thunderbird Why do you have a space after the : ? Get rid of it. -- rgds Stephen ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] Real sh? Or other efficient shell for non-interactive scripts

2015-04-24 Thread Stephen Harris
On Fri, Apr 24, 2015 at 08:32:45AM -0400, Scott Robbins wrote: Wasn't Solaris, which for awhile at least, was probably the most popular Unix, using ksh by default? Solaris /bin/sh was a real real dumb version of the bourne shell. Solaris included /bin/ksh as part of the core distribution (ksh88

Re: [CentOS] Real sh? Or other efficient shell for non-interactive scripts

2015-04-24 Thread Stephen Harris
On Fri, Apr 24, 2015 at 03:15:27PM +0200, Joerg Schilling wrote: Stephen Harris li...@spuddy.org wrote: Bash was bigger than ksh in the non-commercial Unix world because of ksh88 licensing problems. Back in 1998 I wanted to teach a ksh scripting course to my local LUG, but ATT (David

Re: [CentOS] Real sh? Or other efficient shell for non-interactive scripts

2015-04-24 Thread Stephen Harris
On Fri, Apr 24, 2015 at 08:54:48AM -0400, Pete Geenhuizen wrote: Even though Solaris started using ksh as the default user environment, almost all of the start scrips were either bourne or bash scripts. With Bash having more functionality the scripts typically used the environment that

Re: [CentOS] bash script fails conditional test

2015-04-19 Thread Stephen Harris
On Sun, Apr 19, 2015 at 01:15:36PM -0400, Tim Dunphy wrote: if [[ -e $pid ]] -e means if file exists. You should use -n -- rgds Stephen ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] bash script fails conditional test

2015-04-19 Thread Stephen Harris
On Sun, Apr 19, 2015 at 09:40:29PM -0400, Tim Dunphy wrote: Good tip! But I ran the script with sh +x . I guess that running it with sh You should use bash -x (bash and not sh because sh may not be bash everywhere; eg Ubuntu; -x and not +x because -x means turn on debug but +x means turn _off_

Re: [CentOS] bash script fails conditional test

2015-04-19 Thread Stephen Harris
On Sun, Apr 19, 2015 at 09:00:06PM -0500, Chris Adams wrote: Once upon a time, Stephen Harris li...@spuddy.org said: You should use bash -x (bash and not sh because sh may not be bash everywhere; eg Ubuntu; -x and not +x because -x means turn on debug but +x means turn _off_ debug

Re: [CentOS] Real sh? Or other efficient shell for non-interactive scripts

2015-04-24 Thread Stephen Harris
On Fri, Apr 24, 2015 at 10:38:25AM -0400, m.r...@5-cent.us wrote: Fascinating. As I'd been in Sun OS, and started doing admin work when it became Solaris, I'd missed that bit. A question: did the license agreement include payment, or was it just restrictive on distribution? In 1990, when I

Re: [CentOS] Real sh? Or other efficient shell for non-interactive scripts

2015-04-24 Thread Stephen Harris
On Fri, Apr 24, 2015 at 09:47:24AM -0700, Gordon Messmer wrote: On 04/24/2015 03:57 AM, Pete Geenhuizen wrote: if you leave it out the script will run in whatever environment it currently is in. I'm reasonably certain that a script with no shebang will run with /bin/sh. I interpret your

Re: [CentOS] can't disable tcp6 on centos 7

2015-05-03 Thread Stephen Harris
On Sun, May 03, 2015 at 07:23:19PM -0400, Tim Dunphy wrote: [root@puppet:~] #telnet localhost 5666 This is using TCP [root@monitor1:~] #nmap -p 5666 puppet.mydomain.com ... 5666/tcp filtered nrpe This is using TCP Back on the puppet host I verify that the port is open for UDP: So why are

Re: [CentOS] Centos 7 and qemu-kvm

2015-05-09 Thread Stephen Harris
On Sat, May 09, 2015 at 10:11:16AM -0500, Robert Nichols wrote: On 05/09/2015 08:26 AM, Jerry Geis wrote: so I installed virt-manager - I have file images and those work. some times I do directly to a USB connected disk. I do not see how to do that in virt-manager ??? How do I use a

Re: [CentOS] [CentOS-announce] CEEA-2015:0958 CentOS 5 openssl Enhancement Update

2015-05-13 Thread Stephen Harris
On Wed, May 13, 2015 at 03:15:43PM +, Johnny Hughes wrote: CentOS Errata and Enhancement Advisory 2015:0958 Upstream details at : https://rhn.redhat.com/errata/RHEA-2015-0958.html Awww... and there I was hoping they'd finally backported TLS1.2. But, nope, just a newer CA list. Ah well

[CentOS] os-release file doesn't match upstream?

2015-04-01 Thread Stephen Harris
On a fully patched C7 machine... % cat /etc/redhat-release CentOS Linux release 7.1.1503 (Core) % cat /etc/os-release NAME=CentOS Linux VERSION=7 (Core) ID=centos ID_LIKE=rhel fedora VERSION_ID=7 PRETTY_NAME=CentOS Linux 7 (Core) ANSI_COLOR=0;31

Re: [CentOS] [CentOS-announce] Release for CentOS Linux 7 (1503 ) on x86_64

2015-04-02 Thread Stephen Harris
On Thu, Apr 02, 2015 at 04:56:45PM +0100, Karanbir Singh wrote: os-release has been at /7/ since the first CentOS 7 release - what extra value does having 7.1 in there bring ? At best it just says that your Compatibility with RedHat, that says 7.1 ? -- rgds Stephen

Re: [CentOS] Upgrading to CentOS 7

2015-05-19 Thread Stephen Harris
On Tue, May 19, 2015 at 09:25:30AM -0500, Jim Perrin wrote: If you have a good config management environment set up, rolling out a new build to replace older systems is much easier than walking through an update on each system. I really recommend people use ansible, chef, puppet.. whatever

Re: [CentOS-virt] RHEL 5.5 Xen fixes

2010-03-31 Thread Stephen Harris
On Thu, Apr 01, 2010 at 09:19:34AM +1100, Norman Gaywood wrote: This may be a dumb/FA question but how do you run Xen 3.4+ with the latest Centos kernel? And maybe another dumb question... What's the difference between xen.org's 3.4.x series and Citrix Xenserver 5.5? -- rgds Stephen

Re: [CentOS-virt] Package updates and required reboots

2011-05-06 Thread Stephen Harris
On Fri, May 06, 2011 at 09:45:31AM -0400, Ben M. wrote: With CentOS Xen 5.6 (standard installation, SELinux enabled) is there an FAQ or general user consensus as to when to do a reboot after what updates? In my opinion, is the change sufficiently urgent that existing running processes need

Re: [CentOS-virt] shut down a Centos 6 guest / libvirt / ACPI

2012-06-02 Thread Stephen Harris
On Sun, Jun 03, 2012 at 02:22:33AM +0200, Michael Kress wrote: features acpi/apic/pae/ /features What was hard though, was to add those features later in the xml, even installing acpid wasn't any use, had to reinstall with the above procedure. But now I know how to proceed. What you

[CentOS-virt] Buffered console with kvm ?

2012-09-16 Thread Stephen Harris
My Centos 6 server acts as a KVM host for a number of guests. Each of these guests have been configured with a serial console so I can do things like virsh console test2 and get access to the console of that machine. However what would be really useful is if the console also had a buffer so

Re: [CentOS-virt] Package lists for Cloud images

2012-10-04 Thread Stephen Harris
On Thu, Oct 04, 2012 at 05:15:49PM +0100, Nux! wrote: On 04.10.2012 14:04, Stephen Harris wrote: Under what circumstances is a resize needed? The VMs will not be deployed via ks. The ks role in my case is merely Ah, OK. You're building an image for deployment. That makes more sense

[CentOS-virt] Can't build 5.9 with KVM on a 6.3 host - DHCP hang?

2013-02-08 Thread Stephen Harris
During the build (via a serial console) we get input: ImExPS/2 Generic Explorer Mouse as /class/input/input1 running install... running /sbin/loader Sending request for IP information for eth0... Determining host name and domain... Sending request for IP information for eth0...

Re: [CentOS-virt] Hot adding USB devices to guests at a fixed address

2013-11-27 Thread Stephen Harris
On Tue, Nov 26, 2013 at 11:45:43AM -0500, R P Herrold wrote: On Tue, 26 Nov 2013, Stephen Harris wrote: % cat /etc/udev/rules.d/90-owon.rules ACTION==add, \ SUBSYSTEM==usb, \ SYSFS{idVendor}==5345, \ SYSFS{idProduct}==1234, \ RUN+=/usr/bin/virsh attach-device

Re: [CentOS-virt] Remove Centos from AWS marketplace

2014-03-09 Thread Stephen Harris
On Sun, Mar 09, 2014 at 11:28:07AM -0400, Digimer wrote: Would you mind elaborating on this? If a snapshot is a point-in-time image of a VM (or even normal FS), why would DB backups be at risk (assuming things like fsync are used)? I'm asking in general terms... no idea if this is

<    2   3   4   5   6   7