Re: [CentOS] Easy way to strip down CentOS?

2015-02-26 Thread Niki Kovacs

Le 26/02/2015 15:53, David Both a écrit :

Ok, I understand, now. I just leave multiple desktops in place and
switch between them as I want. But perhaps you have reasons to do it as
you do. That is one thing I really appreciate about Linux, the fact that
there are many, many ways to accomplish almost everything and that what
is right and works for me may not be what works best for you.

Your scripting style is irrelevant so long as it gets the job done for
you. And one tenet the Unix/Linux Philosophy is, automate everything,
which is what you have done.


I've written a new blog post about the subject here:

https://kikinovak.wordpress.com/2015/02/27/revenir-a-une-installation-minimale/

Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Easy way to strip down CentOS?

2015-02-26 Thread Niki Kovacs



Le 26/02/2015 15:00, David Both a écrit :

Perhaps I have not been following closely enough, but why go backwards?
Why not start with a minimal installation and then add only those
packages that are needed for your situation?


Here's why.

I'm currently experimenting with CentOS on my workstation, trying out 
different desktop environments like GNOME3, KDE, MATE, Xfce. But at the 
same time, I'm also working on that same workstation, for example 
developing websites on a local LAMP stack, using multimedia apps like 
Audacity to edit some audio tracks for my training courses, etc.


When switching from one desktop environment to another for the sake of 
trying it out, there's always tons of cruft on the system, even after a 
yum groupremove Old Desktop Environment. And I don't want to do a 
fresh reinstallation, because I have all my data and files in place, and 
this is a RAID 1 installation, so it's not exactly trivial to reinstall 
and put everything back in place.


Anyway, I spent a couple hours experimenting, and I found a satisfying 
solution. It's not very elegant, but it works. Here goes.


1. First, make a list of the packages contained in a minimal 
installation. This is easy, since I can do a minimal installation in a 
virtual guest, and then run the following little script:


#!/bin/bash
#
# create_package_list.sh
#
# (c) Niki Kovacs, 2014

TMP=/tmp
RPMLIST=$TMP/rpmlist.txt
PKGLIST=$TMP/pkglist.txt
rm -f $RPMLIST $PKGLIST
rpm -qa | sort  $RPMLIST
sed 's/-[^-]*-[^-]*\.[^.]*\.[^.]*$//' $RPMLIST  $PKGLIST

2. I copy that package list to the 'core' file in my Git repo and run 
the following script on the system I want to prune:


#!/bin/bash
#
# purge_system.sh
#
# (c) Niki Kovacs, 2014

CWD=$(pwd)
TMP=/tmp

RPMLIST=$TMP/rpmlist.txt
PKGLIST=$TMP/pkglist.txt
PKGINFO=$TMP/pkg_database

rpm -qa | sort  $RPMLIST

sed 's/-[^-]*-[^-]*\.[^.]*\.[^.]*$//' $RPMLIST  $PKGLIST

PACKAGES=$(egrep -v '(^\#)|(^\s+$)' $PKGLIST)

rm -rf $RPMLIST $PKGLIST $PKGINFO
mkdir $PKGINFO

# Create core package database
echo
echo +==
echo | Creating core package database...
echo +==
echo
sleep 3
CORE=$(egrep -v '(^\#)|(^\s+$)' $CWD/../pkglists/core)
for PACKAGE in $CORE; do
  printf .
  touch $PKGINFO/$PACKAGE
done

unset CRUFT

# Check installed packages against core package database
echo
echo
echo +
echo | Checking for packages to be removed from your system...
echo +
echo
sleep 3
for PACKAGE in $PACKAGES; do
  if [ -r $PKGINFO/$PACKAGE ]; then
continue
  else
printf .
CRUFT=$CRUFT $PACKAGE
  fi
done

echo
echo

# Remove all non-core packages
yum remove $CRUFT

I've tested this a few times, and it works as expected. I know my 
scripting style is a bit hodge-podge. If you have a more elegant 
solution, I'm always open for suggestions.


Cheers,

Niki


--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Easy way to strip down CentOS?

2015-02-26 Thread David Both
Ok, I understand, now. I just leave multiple desktops in place and switch 
between them as I want. But perhaps you have reasons to do it as you do. That is 
one thing I really appreciate about Linux, the fact that there are many, many 
ways to accomplish almost everything and that what is right and works for me may 
not be what works best for you.


Your scripting style is irrelevant so long as it gets the job done for you. And 
one tenet the Unix/Linux Philosophy is, automate everything, which is what you 
have done.



On 02/26/2015 09:21 AM, Niki Kovacs wrote:



Le 26/02/2015 15:00, David Both a écrit :

Perhaps I have not been following closely enough, but why go backwards?
Why not start with a minimal installation and then add only those
packages that are needed for your situation?


Here's why.

I'm currently experimenting with CentOS on my workstation, trying out 
different desktop environments like GNOME3, KDE, MATE, Xfce. But at the same 
time, I'm also working on that same workstation, for example developing 
websites on a local LAMP stack, using multimedia apps like Audacity to edit 
some audio tracks for my training courses, etc.


When switching from one desktop environment to another for the sake of trying 
it out, there's always tons of cruft on the system, even after a yum 
groupremove Old Desktop Environment. And I don't want to do a fresh 
reinstallation, because I have all my data and files in place, and this is a 
RAID 1 installation, so it's not exactly trivial to reinstall and put 
everything back in place.


Anyway, I spent a couple hours experimenting, and I found a satisfying 
solution. It's not very elegant, but it works. Here goes.


1. First, make a list of the packages contained in a minimal installation. 
This is easy, since I can do a minimal installation in a virtual guest, and 
then run the following little script:


#!/bin/bash
#
# create_package_list.sh
#
# (c) Niki Kovacs, 2014

TMP=/tmp
RPMLIST=$TMP/rpmlist.txt
PKGLIST=$TMP/pkglist.txt
rm -f $RPMLIST $PKGLIST
rpm -qa | sort  $RPMLIST
sed 's/-[^-]*-[^-]*\.[^.]*\.[^.]*$//' $RPMLIST  $PKGLIST

2. I copy that package list to the 'core' file in my Git repo and run the 
following script on the system I want to prune:


#!/bin/bash
#
# purge_system.sh
#
# (c) Niki Kovacs, 2014

CWD=$(pwd)
TMP=/tmp

RPMLIST=$TMP/rpmlist.txt
PKGLIST=$TMP/pkglist.txt
PKGINFO=$TMP/pkg_database

rpm -qa | sort  $RPMLIST

sed 's/-[^-]*-[^-]*\.[^.]*\.[^.]*$//' $RPMLIST  $PKGLIST

PACKAGES=$(egrep -v '(^\#)|(^\s+$)' $PKGLIST)

rm -rf $RPMLIST $PKGLIST $PKGINFO
mkdir $PKGINFO

# Create core package database
echo
echo +==
echo | Creating core package database...
echo +==
echo
sleep 3
CORE=$(egrep -v '(^\#)|(^\s+$)' $CWD/../pkglists/core)
for PACKAGE in $CORE; do
  printf .
  touch $PKGINFO/$PACKAGE
done

unset CRUFT

# Check installed packages against core package database
echo
echo
echo +
echo | Checking for packages to be removed from your system...
echo +
echo
sleep 3
for PACKAGE in $PACKAGES; do
  if [ -r $PKGINFO/$PACKAGE ]; then
continue
  else
printf .
CRUFT=$CRUFT $PACKAGE
  fi
done

echo
echo

# Remove all non-core packages
yum remove $CRUFT

I've tested this a few times, and it works as expected. I know my scripting 
style is a bit hodge-podge. If you have a more elegant solution, I'm always 
open for suggestions.


Cheers,

Niki



--


*
David P. Both, RHCE
Millennium Technology Consulting LLC
Raleigh, NC, USA
919-389-8678

db...@millennium-technology.com

www.millennium-technology.com
www.databook.bz - Home of the DataBook for Linux
DataBook is a Registered Trademark of David Both
*
This communication may be unlawfully collected and stored by the National
Security Agency (NSA) in secret. The parties to this email do not consent to the
retrieving or storing of this communication and any related metadata, as well as
printing, copying, re-transmitting, disseminating, or otherwise using it. If you
believe you have received this communication in error, please delete it
immediately.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7 will not run pre-installation script

2015-02-26 Thread Jerome Yanga
Managed to figure this out.  A peer of mine used windows to create the
kickstart file.  This made it hard for the installer to read it as there
are nonprintable characters.  After converting the kickstart file to unix
format, the prescript started working.

Thank you all.

On Tue, Feb 10, 2015 at 2:47 PM, Gordon Messmer gordon.mess...@gmail.com
wrote:

 On 02/10/2015 06:53 AM, Chris Beattie wrote:

 i thought it was better to use the even number revisions.

 I think the even numbers advice only applies to Star Trek movies.


 The even number thing was coincidental and subjective, and pre-dates
 RHEL.  If it was ever true, it hasn't been true since 2002.  It's amazing
 how some bits of conventional wisdom persist LONG after they should be
 forgot.

 ___
 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] Easy way to strip down CentOS?

2015-02-26 Thread James B. Byrne

On Wed, February 25, 2015 14:18, Brian Mathis wrote:

 I don't think there's a single yum command that lets you roll
 back to the packages the were installed at a given point in
 time.  I also don't think that this would get you back to the
 *exact* system as it was.

# yum history rollback 1  # return to first post-update state.
# yum history undo 1  # undo first update; return to initial state.

-- 
***  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] Easy way to strip down CentOS?

2015-02-26 Thread David Both
Perhaps I have not been following closely enough, but why go backwards? Why not 
start with a minimal installation and then add only those packages that are 
needed for your situation?




snip


--


*
David P. Both, RHCE
Millennium Technology Consulting LLC
Raleigh, NC, USA
919-389-8678

db...@millennium-technology.com

www.millennium-technology.com
www.databook.bz - Home of the DataBook for Linux
DataBook is a Registered Trademark of David Both
*
This communication may be unlawfully collected and stored by the National
Security Agency (NSA) in secret. The parties to this email do not consent to the
retrieving or storing of this communication and any related metadata, as well as
printing, copying, re-transmitting, disseminating, or otherwise using it. If you
believe you have received this communication in error, please delete it
immediately.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] C7, igb and DCB support for pause frame ?

2015-02-26 Thread Laurent Wandrebeck

Hi there,

I’m working on deploying our new cluster.
Masters have 5×1gbps (i210 and i350, thus using igb.ko), configured  
with mtu 9000, 802.3ad. Works fine *but* I can’t get DCB working  
(pause frame, aka flow control, which is supported by and enabled on  
our switches).


[root@master2 ~]# dcbtool gc eno1 dcb
Command:Get Config
Feature:DCB State
Port:   eno1
Status: Device not capable

(I get the same with ELRepo 5.2.15 kmod).
Intel datasheet says flow control is available.
Can’t find much about it on the web or in kernel git repo. Could  
someone give me a hand ?


Regards,
Laurent.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] L2TP over IPSEC?

2015-02-26 Thread CS DBA
Hi All;

anyone have any info on setting up a L2TP over IPSEC client vpn
connection?

Thanks in advance


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] move a disk to another machine

2015-02-26 Thread Chuck Campbell
I have a centos 6.6 laptop which is having trouble (intermittent boot failures,
or more rightly so, multiple failures, intermittent booting). The laptop is
running selinux.
I pulled the second internal disk out to get my data off of it. I plugged it
into my centos 5.x machine and mounted it. I was able to do a dir listing, but
whrn I tried to cd into any of the directories, I get a bunch of AVC denials,
and I can't see any files. The contos 5.x machine is selinux enforcing, and so
is the centos 6.x box. The files are all owned by me, and have the same uid/gid
on both boxes.

What is the right way to do this?

Meanwhile, I put it back into the laptop, and kept attempting to boot the
machine, until I got lucky and it came up. I was able to rsync the data off the
drive, so this isn't a crisis, just a learning moment.

thanks,
-chuck

-- 

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] move a disk to another machine

2015-02-26 Thread m . roth
Chuck Campbell wrote:
 I have a centos 6.6 laptop which is having trouble (intermittent boot
 failures, or more rightly so, multiple failures, intermittent booting).
The laptop
 is running selinux. I pulled the second internal disk out to get my data
off of
 it. I plugged it into my centos 5.x machine and mounted it. I was able
to do a
 dir listing, but whrn I tried to cd into any of the directories, I get a
bunch of AVC
 denials, and I can't see any files. The contos 5.x machine is selinux
enforcing,
 and so is the centos 6.x box. The files are all owned by me, and have
the same
 uid/gid on both boxes.

 What is the right way to do this?
snip
My reaction would have been simple: set selinux to permissive on your
machine, back up what you wanted, then return it to enforcing.

   mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] How to search the mail archive

2015-02-26 Thread Mark LaPierre
Hey All,

I've seen references to searching the mail archive.  How exactly does
one perform such a search?

Let's say I want to search the mail archive for references to the scp
command.  How do I do that?

-- 
_
   °v°
  /(_)\
   ^ ^  Mark LaPierre
Registered Linux user No #267004
https://linuxcounter.net/

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to search the mail archive

2015-02-26 Thread Frank Cox
On Thu, 26 Feb 2015 14:54:08 -0500
Mark LaPierre wrote:

 Let's say I want to search the mail archive for references to the scp
 command.  How do I do that?

Uncle Google will do that for you:

scp site:http://lists.centos.org/pipermail/centos/

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kickstart with multiple eth devices

2015-02-26 Thread Jason Warr



On Thu, 26 Feb 2015 13:42:57 -0600, Ashley M. Kirchner ash...@pcraft.com  
wrote:


And after picking this back up this morning  still no dice. I have  
now
blacklisted the one module that would enumerate the add-in ethernet port  
so

that is no longer an issue during the kickstart process, however the
following is now happening:

- kickstart completes successfully using the machine's physical port 2  
(or

eth1) which is on a subnet with DHCP
- when the system reboots, it brings up port 1 (eth0) with the correct
static IP information, HOWEVER ...
- port 2 (eth1) is NOT configured properly. When I look at it's  
ifcfg-eth1

file, its bootproto is set to none when it should be set to dhcp.
- the add-in card has not been enumerated, in fact the system doesn't  
even

know it's there (dmesg has no mention of it and no module loaded)



Check the installed kernel append line to make sure the rdblacklist option  
is not being pulled from the kickstart boot line.  If it is you can add  
this to the kickstart post install section:


/usr/bin/perl -p -i -e 's/rdblacklist=MODULENAME//' /boot/grub/grub.conf


So for port 2 (eth1), the kickstart file has it configured as a dhcp
interface, so why when the system reboots it comes up with  
bootproto=none?


As I pointed out the script I sent changes all interfaces to DHCP=none.

If you are using it and you don't want it to do that then remove this line:

/usr/bin/perl -p -i -e 's/dhcp/none/'  
/etc/sysconfig/network-scripts/ifcfg-${NETDEV}-tmp



On the other hand, port 1 (eth0) does come up with the static information
as it should - that info is also set in the kickstart file.

Baffled ...

On Wed, Feb 25, 2015 at 4:46 PM, Ashley M. Kirchner ash...@pcraft.com
wrote:


Yeah, and we're back to someone needing to do something on the system
after it reboots. :)

On Wed, Feb 25, 2015 at 4:37 PM, Jason Warr ja...@warr.net wrote:


 On Wed, 25 Feb 2015 17:30:30 -0600, Ashley M. Kirchner 
ash...@pcraft.com wrote:


On Feb 25, 2015 4:19 PM, Jason Warr ja...@warr.net wrote:

 It will if you try to configure the now non-existent interface.

That's what I figured, so I can remove it from the kickstart file, no
problem. The question then becomes, if kickstart doesn't configure it,  
what

happens when the system reboots after install? It won't know what to do
with that interface, correct?

Is this a case where I will need to put an ifcfg-eth2 file in place
during post-install?

Upon reboot the system *should* generate a base one for you as it will
see it as a new interface.  Not a big deal if it does not though, just
create one yourself.  You will want to add it to the udev rules file
though.  You can re-run the script I sent to do that if you want.   At  
that

point it should be eth2.  Or you can edit the existing one by copying a
line and changing the MAC and eth* to whatever you need.





___
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] move a disk to another machine

2015-02-26 Thread Chris Murphy
On Thu, Feb 26, 2015 at 10:49 AM, Chuck Campbell campb...@accelinc.com wrote:
 I have a centos 6.6 laptop which is having trouble (intermittent boot 
 failures,
 or more rightly so, multiple failures, intermittent booting). The laptop is
 running selinux.
 I pulled the second internal disk out to get my data off of it. I plugged it
 into my centos 5.x machine and mounted it. I was able to do a dir listing, but
 whrn I tried to cd into any of the directories, I get a bunch of AVC denials,
 and I can't see any files. The contos 5.x machine is selinux enforcing, and so
 is the centos 6.x box. The files are all owned by me, and have the same 
 uid/gid
 on both boxes.

 What is the right way to do this?

Mount with a permissive context:
mount -o context=unconfined_u:object_r:default_t

If you mount without that, ls -Z will show you the labeling and you
can probably figure out why you're getting the denials based on the
AVC message.


-- 
Chris Murphy
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] move a disk to another machine

2015-02-26 Thread Chuck Campbell
On 2/26/2015 12:33 PM, m.r...@5-cent.us wrote:
 Chuck Campbell wrote:
 I have a centos 6.6 laptop which is having trouble (intermittent boot
 failures, or more rightly so, multiple failures, intermittent booting).
 The laptop
 is running selinux. I pulled the second internal disk out to get my data
 off of
 it. I plugged it into my centos 5.x machine and mounted it. I was able
 to do a
 dir listing, but whrn I tried to cd into any of the directories, I get a
 bunch of AVC
 denials, and I can't see any files. The contos 5.x machine is selinux
 enforcing,
 and so is the centos 6.x box. The files are all owned by me, and have
 the same
 uid/gid on both boxes.

 What is the right way to do this?
 snip
 My reaction would have been simple: set selinux to permissive on your
 machine, back up what you wanted, then return it to enforcing.

mark

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


Hah, I didn't actually think of that. If it is that simple, then live and learn.
I had thought there were differences between 5.x and 6.x that were causing the
problem, since the uid/gid are the same on both boxes for the file owner. There
must have been something in the xattrs that didn't line up...

thanks,
-chuck



-- 
ACCEL Services, Inc.| Specialists in Gravity, Magnetics |  (713)993-0671 ph.
|   and Integrated Interpretation   |  (713)993-0608 fax
448 W. 19th St. #325|Since 1992 |  (713)306-5794 cell
 Houston, TX, 77008 |  Chuck Campbell   | campb...@accelinc.com
|  President  Senior Geoscientist  |

 Integration means more than having all the maps at the same scale!

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kickstart with multiple eth devices

2015-02-26 Thread Ashley M. Kirchner
And after picking this back up this morning  still no dice. I have now
blacklisted the one module that would enumerate the add-in ethernet port so
that is no longer an issue during the kickstart process, however the
following is now happening:

- kickstart completes successfully using the machine's physical port 2 (or
eth1) which is on a subnet with DHCP
- when the system reboots, it brings up port 1 (eth0) with the correct
static IP information, HOWEVER ...
- port 2 (eth1) is NOT configured properly. When I look at it's ifcfg-eth1
file, its bootproto is set to none when it should be set to dhcp.
- the add-in card has not been enumerated, in fact the system doesn't even
know it's there (dmesg has no mention of it and no module loaded)

So for port 2 (eth1), the kickstart file has it configured as a dhcp
interface, so why when the system reboots it comes up with bootproto=none?
On the other hand, port 1 (eth0) does come up with the static information
as it should - that info is also set in the kickstart file.

Baffled ...

On Wed, Feb 25, 2015 at 4:46 PM, Ashley M. Kirchner ash...@pcraft.com
wrote:

 Yeah, and we're back to someone needing to do something on the system
 after it reboots. :)

 On Wed, Feb 25, 2015 at 4:37 PM, Jason Warr ja...@warr.net wrote:

  On Wed, 25 Feb 2015 17:30:30 -0600, Ashley M. Kirchner 
 ash...@pcraft.com wrote:


 On Feb 25, 2015 4:19 PM, Jason Warr ja...@warr.net wrote:

  It will if you try to configure the now non-existent interface.

 That's what I figured, so I can remove it from the kickstart file, no
 problem. The question then becomes, if kickstart doesn't configure it, what
 happens when the system reboots after install? It won't know what to do
 with that interface, correct?

 Is this a case where I will need to put an ifcfg-eth2 file in place
 during post-install?

 Upon reboot the system *should* generate a base one for you as it will
 see it as a new interface.  Not a big deal if it does not though, just
 create one yourself.  You will want to add it to the udev rules file
 though.  You can re-run the script I sent to do that if you want.   At that
 point it should be eth2.  Or you can edit the existing one by copying a
 line and changing the MAC and eth* to whatever you need.



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kickstart with multiple eth devices

2015-02-26 Thread Ashley M. Kirchner
Nope, it doesn't add it to the kernel boot parameters. That was the first
thing I checked.

As for the bootproto ... DUH. I didn't check that. :) That being solved,
yeah it's not bringing up the add-in card now when it boots up.

On Thu, Feb 26, 2015 at 12:50 PM, Jason Warr ja...@warr.net wrote:



 On Thu, 26 Feb 2015 13:42:57 -0600, Ashley M. Kirchner ash...@pcraft.com
 wrote:

  And after picking this back up this morning  still no dice. I have now
 blacklisted the one module that would enumerate the add-in ethernet port
 so
 that is no longer an issue during the kickstart process, however the
 following is now happening:

 - kickstart completes successfully using the machine's physical port 2 (or
 eth1) which is on a subnet with DHCP
 - when the system reboots, it brings up port 1 (eth0) with the correct
 static IP information, HOWEVER ...
 - port 2 (eth1) is NOT configured properly. When I look at it's ifcfg-eth1
 file, its bootproto is set to none when it should be set to dhcp.
 - the add-in card has not been enumerated, in fact the system doesn't even
 know it's there (dmesg has no mention of it and no module loaded)


 Check the installed kernel append line to make sure the rdblacklist option
 is not being pulled from the kickstart boot line.  If it is you can add
 this to the kickstart post install section:

 /usr/bin/perl -p -i -e 's/rdblacklist=MODULENAME//' /boot/grub/grub.conf

  So for port 2 (eth1), the kickstart file has it configured as a dhcp
 interface, so why when the system reboots it comes up with bootproto=none?


 As I pointed out the script I sent changes all interfaces to DHCP=none.

 If you are using it and you don't want it to do that then remove this line:

 /usr/bin/perl -p -i -e 's/dhcp/none/' /etc/sysconfig/network-
 scripts/ifcfg-${NETDEV}-tmp

  On the other hand, port 1 (eth0) does come up with the static information
 as it should - that info is also set in the kickstart file.

 Baffled ...

 On Wed, Feb 25, 2015 at 4:46 PM, Ashley M. Kirchner ash...@pcraft.com
 wrote:

  Yeah, and we're back to someone needing to do something on the system
 after it reboots. :)

 On Wed, Feb 25, 2015 at 4:37 PM, Jason Warr ja...@warr.net wrote:

   On Wed, 25 Feb 2015 17:30:30 -0600, Ashley M. Kirchner 
 ash...@pcraft.com wrote:


 On Feb 25, 2015 4:19 PM, Jason Warr ja...@warr.net wrote:

  It will if you try to configure the now non-existent interface.

 That's what I figured, so I can remove it from the kickstart file, no
 problem. The question then becomes, if kickstart doesn't configure it,
 what
 happens when the system reboots after install? It won't know what to do
 with that interface, correct?

 Is this a case where I will need to put an ifcfg-eth2 file in place
 during post-install?

 Upon reboot the system *should* generate a base one for you as it will
 see it as a new interface.  Not a big deal if it does not though, just
 create one yourself.  You will want to add it to the udev rules file
 though.  You can re-run the script I sent to do that if you want.   At
 that
 point it should be eth2.  Or you can edit the existing one by copying a
 line and changing the MAC and eth* to whatever you need.



  ___
 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] Kickstart with multiple eth devices

2015-02-26 Thread Jason Warr

What about a blacklist line somewhere in /etc/modprobe.d ?

I have never noticed anaconda adding one there but it is worth checking.

Also, when you check dmesg, are you looking for the expected module name  
or eth2?


On Thu, 26 Feb 2015 14:46:08 -0600, Ashley M. Kirchner ash...@pcraft.com  
wrote:


Nope, it doesn't add it to the kernel boot parameters. That was the  
first thing I checked.


As for the bootproto ... DUH. I didn't check that. :) That being solved,  
yeah it's not bringing up the add-in card now when it boots up.


On Thu, Feb 26, 2015 at 12:50 PM, Jason Warr ja...@warr.net wrote:



On Thu, 26 Feb 2015 13:42:57 -0600, Ashley M. Kirchner  
ash...@pcraft.com wrote:


And after picking this back up this morning  still no dice. I have  
now
blacklisted the one module that would enumerate the add-in ethernet  
port so

that is no longer an issue during the kickstart process, however the
following is now happening:

- kickstart completes successfully using the machine's physical port 2  
(or

eth1) which is on a subnet with DHCP
- when the system reboots, it brings up port 1 (eth0) with the correct
static IP information, HOWEVER ...
- port 2 (eth1) is NOT configured properly. When I look at it's  
ifcfg-eth1

file, its bootproto is set to none when it should be set to dhcp.
- the add-in card has not been enumerated, in fact the system doesn't  
even

know it's there (dmesg has no mention of it and no module loaded)



Check the installed kernel append line to make sure the rdblacklist  
option is not being pulled from the kickstart boot line.  If it is you  
can add this to the kickstart post install section:


/usr/bin/perl -p -i -e 's/rdblacklist=MODULENAME//' /boot/grub/grub.conf


So for port 2 (eth1), the kickstart file has it configured as a dhcp
interface, so why when the system reboots it comes up with  
bootproto=none?


As I pointed out the script I sent changes all interfaces to DHCP=none.

If you are using it and you don't want it to do that then remove this  
line:


/usr/bin/perl -p -i -e 's/dhcp/none/'  
/etc/sysconfig/network-scripts/ifcfg-${NETDEV}-tmp


On the other hand, port 1 (eth0) does come up with the static  
information

as it should - that info is also set in the kickstart file.

Baffled ...

On Wed, Feb 25, 2015 at 4:46 PM, Ashley M. Kirchner ash...@pcraft.com
wrote:

Yeah, and we're back to someone needing to do something on the  
system

after it reboots. :)

On Wed, Feb 25, 2015 at 4:37 PM, Jason Warr ja...@warr.net wrote:


On Wed, 25 Feb 2015 17:30:30 -0600, Ashley M. Kirchner 
ash...@pcraft.com wrote:


On Feb 25, 2015 4:19 PM, Jason Warr ja...@warr.net wrote:


It will if you try to configure the now non-existent interface.


That's what I figured, so I can remove it from the kickstart file, no
problem. The question then becomes, if kickstart doesn't configure  
it, what
happens when the system reboots after install? It won't know what to  
do

with that interface, correct?

Is this a case where I will need to put an ifcfg-eth2 file in place
during post-install?

Upon reboot the system *should* generate a base one for you as it  
will
see it as a new interface.  Not a big deal if it does not though,  
just

create one yourself.  You will want to add it to the udev rules file
though.  You can re-run the script I sent to do that if you want.
At that
point it should be eth2.  Or you can edit the existing one by  
copying a

line and changing the MAC and eth* to whatever you need.





___
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] Easy way to strip down CentOS?

2015-02-26 Thread Leon Fauster
Am 26.02.2015 um 08:38 schrieb James Hogarth james.hoga...@gmail.com:
 On Feb 25, 2015 10:00 PM, Peter pe...@pajamian.dhs.org wrote:
 
 I haven't tried this, but see if it works:
 yum shell
 remove *
 install @minimal
 run
 
 
 
 I've not tried this to see the effect but don't forget in el6 there is the
 yum history database...
 
 yum history list will show all yum operations that have happened on the
 system.
 
 In principle you could do yum history rollback 1 ... That wouldn't clear up
 config data of course.

or

# rpm -qa --last 

Lists the last installed package first. That way back would be one way to strip 
it down.

I have here some minimal systems with about 200 packages installed ( rpm -qa | 
wc ).

--
LF


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Easy way to strip down CentOS?

2015-02-26 Thread Niki Kovacs



Le 25/02/2015 23:00, Peter a écrit :

I haven't tried this, but see if it works:
yum shell
remove *
install @minimal
run


I get Package group minimal does not exist

What now?

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Easy way to strip down CentOS?

2015-02-26 Thread Niki Kovacs



Le 26/02/2015 10:30, Leon Fauster a écrit :

# rpm -qa --last

Lists the last installed package first. That way back would be one way to strip 
it down.


Here's a completely empiric approach, tried out on three different 
machines. It's not perfect, but it's already quite usable :


https://kikinovak.wordpress.com/2015/02/26/elaguer-un-systeme-centos/

Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Easy way to strip down CentOS?

2015-02-26 Thread Chris Murphy
The best way to do this is a new minimal install either in the GUI
installer or with kickstart. And build up from there.

If you do an install to e.g. CentOS-base.qcow2, that image already has
machine-id and hostname set. While not running a VM, use guestfish to
mount the qcow2, and make /etc/machine-id empty. Now, only use this
base.qcow2 as a backing image. That is, never use it directly in a VM.
Use

qemu-img create -b base.qcow2 -f qcow2 guest1.qcow2
qemu-img create -b base.qcow2 -f qcow2 guest2.qcow2
qemu-img create -b base.qcow2 -f qcow2 guest3.qcow2

Now use the guestn.qcow2 in the VM. And at first boot, the machine-id
will be populated. I'm not sure of any negative consequences of not
doing this, but if you want to use remote journalling it's necessary
so that the single journal can keep machines uniquely identified (even
when changing the hostname).

http://fedoraproject.org/wiki/Changes/Remote_Journal_Logging
https://kashyapc.fedorapeople.org/virt/lc-2012/snapshots-handout.html

Extra info: Anaconda uses this on lives to do installations (quite a
few of these options are consolidated with -a):
rsync -pogAXtlHrDx

-- 
Chris Murphy
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS-announce Digest, Vol 120, Issue 10

2015-02-26 Thread centos-announce-request
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-2015:0266 Important CentOS 6 thunderbird Security Update
  (Johnny Hughes)
   2. CESA-2015:0266 Important CentOS 5 thunderbird Security Update
  (Johnny Hughes)


--

Message: 1
Date: Wed, 25 Feb 2015 20:08:47 +
From: Johnny Hughes joh...@centos.org
To: centos-annou...@centos.org
Subject: [CentOS-announce] CESA-2015:0266 Important CentOS 6
thunderbird Security Update
Message-ID: 20150225200847.ga42...@n04.lon1.karan.org
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2015:0266 Important

Upstream details at : https://rhn.redhat.com/errata/RHSA-2015-0266.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 

i386:
10cf2774899a722583ccf83178b5b0c670cdfaa467e7def8038101d0512e89ac  
thunderbird-31.5.0-1.el6.centos.i686.rpm

x86_64:
72d284150fec9a4815ab4358299199052181d31d62bdd0e5a8fe57e925ff6165  
thunderbird-31.5.0-1.el6.centos.x86_64.rpm

Source:
5568672fb5bb86b79e4824e171f4c973ec6953defd67248f2c58b31ebf5d663b  
thunderbird-31.5.0-1.el6.centos.src.rpm



-- 
Johnny Hughes
CentOS Project { http://www.centos.org/ }
irc: hughesjr, #cen...@irc.freenode.net



--

Message: 2
Date: Wed, 25 Feb 2015 20:15:49 +
From: Johnny Hughes joh...@centos.org
To: centos-annou...@centos.org
Subject: [CentOS-announce] CESA-2015:0266 Important CentOS 5
thunderbird Security Update
Message-ID: 20150225201549.ga32...@chakra.karan.org
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2015:0266 Important

Upstream details at : https://rhn.redhat.com/errata/RHSA-2015-0266.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 

i386:
03125dc617adf6e21a75514e135e82f08d90178f17f8d3e6c96d3cbc360b78ce  
thunderbird-31.5.0-1.el5.centos.i386.rpm

x86_64:
c638b9ceb5e6f217727fd392466c03bd268d668d167687215c87a8cbad9a4bcf  
thunderbird-31.5.0-1.el5.centos.x86_64.rpm

Source:
1985b7f18bb11b6dadb49cdb3a2dd8119767aab93f561789537319b754eb6d51  
thunderbird-31.5.0-1.el5.centos.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 120, Issue 10

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kickstart with multiple eth devices

2015-02-26 Thread Ashley M. Kirchner
On Thu, Feb 26, 2015 at 3:42 PM, Tom Brown t...@eazyriders.no-ip.biz wrote:


 ksdevice=aa;bb:cc:dd:ee:ff in your above example will ensure the device
 with that mac is the kickstart device.


Yeah, turned out bootif accomplishes the same thing, at least in my
scenario. What happened afterwards though is different.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS-docs] new contributor

2015-02-26 Thread Roland Illig
Wiki-Name: RolandIllig
Contributions-Subject: German grammar and spellchecking
Contributions-Location: de/*

Roland
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS] Kickstart with multiple eth devices

2015-02-26 Thread Tom Brown



I have a Dell server that has two built-in ethernet devices. When I
kickstart the machine, they are correctly identified as eth0 and eth1
(correctly meaning they correspond to the physical device ports 1 and 
2). I

need a third one and want that to come up as eth2. After adding the
hardware, kickstart now fails because for some reason it goes through a
rename process where it makes the newly added card eth1 (or eth0, I
forgot). Is there a way to stop this rename process so kickstart 
correctly

uses the physical hardware the way they are, meaning physical port 1 =
eth0, port 2 = eth1, and the additional ethernet card then becomes 
eth2?


Should I be using the device's MAC address when I set the 'network' 
option

in the kickstart file? So instead of 'network --device=eth0' I make it
'network -device=aa;bb:cc:dd:eee:ff' ?


ksdevice=aa;bb:cc:dd:ee:ff in your above example will ensure the device 
with that mac is the kickstart device.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to search the mail archive

2015-02-26 Thread Leon Fauster
Am 26.02.2015 um 20:54 schrieb Mark LaPierre marklap...@gmail.com:
 Hey All,
 
 I've seen references to searching the mail archive.  How exactly does
 one perform such a search?
 
 Let's say I want to search the mail archive for references to the scp
 command.  How do I do that?


http://dir.gmane.org/gmane.linux.centos.general

--
LF



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] scp -rp behavior

2015-02-26 Thread Valeri Galtsev

On Thu, February 26, 2015 6:34 pm, Mark LaPierre wrote:
 Hey all,

 I'm trying to copy configuration files from my old CentOS 6.6 32 bit
 machine to my new CentOS 6.6 64 bit machine.

 On my 32 bit machine:

 [mlapier@mushroom ~]$ ifconfig
 eth0  Link encap:Ethernet  HWaddr 00:19:DB:E5:4E:9F
   inet addr:192.168.15.105

 When I issue this command on my new 64 bit machine, 192.168.15.101:

 scp -pr mlapier@192.168.15.105: /home/mlapier/.thunderbird
 /home/mlapier/.thunderbird

How about escaping dot (with backslash) for the remote machine, or just
giving the whole path for remote machine in quotes:

scp -pr mlapier@192.168.15.105:/home/mlapier/.thunderbird /home/mlapier

?

Also, if you want to specify destination directory (say with different
name) you will need to end directory with forward slash both on local and
remote, like:

scp -pr mlapier@192.168.15.105:/home/mlapier/.thunderbird/ \
/home/mlapier/.thunderbird/

(this should be one line which didn't fit for me in one line hence
backslash...)

Valeri


 It copies all directories and files in 192.168.15.105: /home/mlapier/ to
 192.168.15.101: /home/mlapier.  I don't want all that, I just want the
 .thunderbird folder and all it's contents.

 The user and group account numbers match on the two machines for this
 user so that's not the issue.

 When I RTFM this is what I thought it said to do.  I'm I misreading the
 FM or is something weird going on here?

 --
 _
°v°
   /(_)\
^ ^  Mark LaPierre
 Registered Linux user No #267004
 https://linuxcounter.net/
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] scp -rp behavior

2015-02-26 Thread Mark LaPierre
Hey all,

I'm trying to copy configuration files from my old CentOS 6.6 32 bit
machine to my new CentOS 6.6 64 bit machine.

On my 32 bit machine:

[mlapier@mushroom ~]$ ifconfig
eth0  Link encap:Ethernet  HWaddr 00:19:DB:E5:4E:9F
  inet addr:192.168.15.105

When I issue this command on my new 64 bit machine, 192.168.15.101:

scp -pr mlapier@192.168.15.105: /home/mlapier/.thunderbird
/home/mlapier/.thunderbird

It copies all directories and files in 192.168.15.105: /home/mlapier/ to
192.168.15.101: /home/mlapier.  I don't want all that, I just want the
.thunderbird folder and all it's contents.

The user and group account numbers match on the two machines for this
user so that's not the issue.

When I RTFM this is what I thought it said to do.  I'm I misreading the
FM or is something weird going on here?

-- 
_
   °v°
  /(_)\
   ^ ^  Mark LaPierre
Registered Linux user No #267004
https://linuxcounter.net/

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-docs] new contributor

2015-02-26 Thread Alan Bartlett
On 27 February 2015 at 00:55, Roland Illig roland.il...@gmx.de wrote:
 Wiki-Name: RolandIllig
 Contributions-Subject: German grammar and spellchecking
 Contributions-Location: de/*

A homepage has been created for you [1] and you now have editorial
access to all pages under /de/ [2].

Alan.

[1] http://wiki.centos.org/RolandIllig
[2] http://wiki.centos.org/de
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] new contributor

2015-02-26 Thread Roland Illig
Am 27.02.2015 um 02:11 schrieb Alan Bartlett:
 On 27 February 2015 at 00:55, Roland Illig roland.il...@gmx.de wrote:
 Wiki-Name: RolandIllig
 Contributions-Subject: German grammar and spellchecking
 Contributions-Location: de/*
 
 A homepage has been created for you [1] and you now have editorial
 access to all pages under /de/ [2].

Thank you very much.

Roland

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS] scp -rp behavior

2015-02-26 Thread James Hogarth
On 27 Feb 2015 01:53, Always Learning cen...@u64.u22.net wrote:

 scp -P 12345 -p $file aaa.example.com://$file

 Note the colon and 2 slashes.


You don't need any slashes

The response about the space after the colon was right this and the last
time OP posted... Hopefully he reads it this time.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] scp -rp behavior

2015-02-26 Thread Richard


 Original Message 
 Date: Thursday, February 26, 2015 18:45:34 -0600
 From: Valeri Galtsev galt...@kicp.uchicago.edu
 To: CentOS mailing list centos@centos.org
 Subject: Re: [CentOS] scp -rp behavior

 
 On Thu, February 26, 2015 6:34 pm, Mark LaPierre wrote:
 Hey all,
 
 I'm trying to copy configuration files from my old CentOS 6.6 32
 bit machine to my new CentOS 6.6 64 bit machine.
 
 On my 32 bit machine:
 
 [mlapier@mushroom ~]$ ifconfig
 eth0  Link encap:Ethernet  HWaddr 00:19:DB:E5:4E:9F
   inet addr:192.168.15.105
 
 When I issue this command on my new 64 bit machine,
 192.168.15.101:
 
 scp -pr mlapier@192.168.15.105: /home/mlapier/.thunderbird
 /home/mlapier/.thunderbird
 
 How about escaping dot (with backslash) for the remote machine, or
 just giving the whole path for remote machine in quotes:
 
 scp -pr mlapier@192.168.15.105:/home/mlapier/.thunderbird
 /home/mlapier
 
 ?
 
 Also, if you want to specify destination directory (say with
 different name) you will need to end directory with forward slash
 both on local and remote, like:
 
 scp -pr mlapier@192.168.15.105:/home/mlapier/.thunderbird/ \
 /home/mlapier/.thunderbird/
 
 (this should be one line which didn't fit for me in one line hence
 backslash...)
 
 Valeri
 
 
 It copies all directories and files in 192.168.15.105:
 /home/mlapier/ to 192.168.15.101: /home/mlapier.  I don't want
 all that, I just want the .thunderbird folder and all it's
 contents.
 
 The user and group account numbers match on the two machines for
 this user so that's not the issue.
 
 When I RTFM this is what I thought it said to do.  I'm I
 misreading the FM or is something weird going on here?
 

As I believe was suggested by someone when you asked about this a
few days ago, the space that you have after the colon:

  scp -pr mlapier@192.168.15.105: /home/m...

is the source of your problem. I just tested and confirmed it.

Some other notes: with the mlapier@192.168.15.105 you'll, by
default, be in the home directory of mlapier on the remote
machine. So you don't need the ...:/home/mlapier/ pathing. Also,
if you are in your (mlapier) home directory on the new machine when
you are doing this you again won't need the pathing.

So, I think you should be able to do just:

   scp -pr mlapier@192.168.15.105:.thunderbird .

or at most:

   scp -pr mlapier@192.168.15.105:.thunderbird /home/mlapier/.
   
If, per chance, you wanted to change the directory name on the
transfer you'd need to specify it, rather than just the .,
otherwise the . will simply put directory on the target machine
with the same name as the original.



   - Richard



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C7, igb and DCB support for pause frame ?

2015-02-26 Thread Steven Tardy
On Thu, Feb 26, 2015 at 9:18 AM, Laurent Wandrebeck 
l.wandreb...@quelquesmots.fr wrote:

 Hi there,

 I’m working on deploying our new cluster.
 Masters have 5×1gbps (i210 and i350, thus using igb.ko), configured with
 mtu 9000, 802.3ad. Works fine *but* I can’t get DCB working (pause frame,
 aka flow control, which is supported by and enabled on our switches).

 [root@master2 ~]# dcbtool gc eno1 dcb
 Command:Get Config
 Feature:DCB State
 Port:   eno1
 Status: Device not capable

 (I get the same with ELRepo 5.2.15 kmod).
 Intel datasheet says flow control is available.
 Can’t find much about it on the web or in kernel git repo. Could someone
 give me a hand ?

 Regards,
 Laurent.



 DCB requires Priority Flow Control(PFC) aka 802.1Qbb.
Flow Control is 802.3x.

The two are often confused and not compatible.

http://www.intel.com/content/www/us/en/ethernet-controllers/ethernet-controller-i350-datasheet.html

Mentions flow control several times, but never
PFC/priority-flow-control/802.1Qbb.

PFC capable switches purposefully disable 802.3x flow control. Also PFC has
to negotiate between two devices/switches matching QoS/CoS/no-drop policies.

Some good reading for beginner PFC knowledge:

http://www.cisco.com/c/dam/en/us/solutions/collateral/data-center-virtualization/ieee-802-1-data-center-bridging/at_a_glance_c45-460907.pdf

What exactly are you trying to pause? Typically FCoE/iSCSI is set to
no-drop and Ethernet traffic is paused/dropped in favor of storage
traffic. If there is only one type/class/CoS of traffic PFC won't gain much
over regular flow control/802.3x.

Hope that helps.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] scp -rp behavior

2015-02-26 Thread Always Learning

On Fri, 2015-02-27 at 01:15 +, Richard wrote:


 As I believe was suggested by someone when you asked about this a
 few days ago, the space that you have after the colon:
 
   scp -pr mlapier@192.168.15.105: /home/m...
 
 is the source of your problem. I just tested and confirmed it.

When transferring files between machines I use this (in a BASH file)

scp -P 12345 -p $file aaa.example.com://$file

Note the colon and 2 slashes.


-- 
Regards,

Paul.
England, EU.  Je suis Charlie.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos