Re: [CentOS] CentOS 7 kickstart question

2016-08-04 Thread Paul Heinlein

On Thu, 4 Aug 2016, Valeri Galtsev wrote:



On Thu, August 4, 2016 7:13 pm, Paul Heinlein wrote:

On Thu, 4 Aug 2016, Valeri Galtsev wrote:

At least one snag I hit consistently with CentOS 7 kickstart is: 
it drops me into human decision as far as wiping hard drive and 
creating custom (or default probably as well) partitioning scheme 
is concerned. Most likely it is me who needs to learn new trick 
(like "tricking smart macintosh into actually doing what you want 
done") as it looks like safety defeats my unattended kickstart 
installation (like on Windows: "Do you really - really want to do 
this?").


It would have been helpful to see the disk-specific part of your 
kickstart file, but here's a snippet that's worked for me:


clearpart --all --initlabel
zerombr
bootloader --location=mbr
part ...
part ...

I've also noticed that LVM meta information will stick around during a
re-installation. So if you're reusing the names of volumes groups, you
might encounter an error. I do something like this in a %pre section:

%pre --interpreter=/usr/bin/bash
# DANGER: will remove all volume groups
for VG in $(vgs -o vg_name --noheadings); do
   vgremove -f "$VG"
done
%end



Thanks Paul,

here is my unsuccessful (requiring human intervention) kistart disk
related part:

# System bootloader configuration
#bootloader --location=mbr --boot-drive=sda
# Darn, they changed grub password encryption standard
#bootloader --location=mbr --boot-drive=sda --append="crashkernel=no rhgb
quiet" --md5pass=$1$F/BHluSk$YticIZvEKa6Ckmw6GYTno.
bootloader --location=mbr --boot-drive=sda --append="crashkernel=no rhgb
quiet"
# Partition clearing information
clearpart --all --initlabel --drives=sda
# Disk partitioning information
part /boot --fstype="xfs" --ondisk=sda --size=500 --asprimary
part  [... other ops on sda ...]


The only bit you don't have is the "zerombr" directive. From the Red 
Hat documentation:


If zerombr is specified, any invalid partition tables found on disks 
are initialized. This destroys all of the contents of disks with 
invalid partition tables. This command is required when performing 
an unattended installation on a system with previously initialized 
disks.


https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/sect-kickstart-syntax.html

--
Paul Heinlein <> heinl...@madboa.com <> http://www.madboa.com/
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7 kickstart question

2016-08-04 Thread Jonathan Billings
On Thu, Aug 04, 2016 at 10:32:56AM -0500, Valeri Galtsev wrote:
> ... At least one
> snag I hit consistently with CentOS 7 kickstart is: it drops me into human
> decision as far as wiping hard drive and creating custom (or default
> probably as well) partitioning scheme is concerned. Most likely it is me
> who needs to learn new trick (like "tricking smart macintosh into actually
> doing what you want done") as it looks like safety defeats my unattended
> kickstart installation (like on Windows: "Do you really - really want to
> do this?")
>  - if that was rant that is...

Is it a BIOS boot, or are you using the UEFI firmware for booting?
Either way, you might need a small boot partition (not /boot) at the
beginning of the disk.

-- 
Jonathan Billings 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7 kickstart question

2016-08-04 Thread Valeri Galtsev

On Thu, August 4, 2016 7:13 pm, Paul Heinlein wrote:
> On Thu, 4 Aug 2016, Valeri Galtsev wrote:
>
>> Dear Experts,
>>
>> Could somebody point to kicstart HOWTO specific for CentOS 7?
>>
>> On CentOS 7 I somehow am always given human intervention questions
>> about drive which defeats unattended ks install.
>>
>> At least one snag I hit consistently with CentOS 7 kickstart is: it
>> drops me into human decision as far as wiping hard drive and
>> creating custom (or default probably as well) partitioning scheme is
>> concerned. Most likely it is me who needs to learn new trick (like
>> "tricking smart macintosh into actually doing what you want done")
>> as it looks like safety defeats my unattended kickstart installation
>> (like on Windows: "Do you really - really want to do this?").
>
> It would have been helpful to see the disk-specific part of your
> kickstart file, but here's a snippet that's worked for me:
>
> clearpart --all --initlabel
> zerombr
> bootloader --location=mbr
> part ...
> part ...
>
> I've also noticed that LVM meta information will stick around during a
> re-installation. So if you're reusing the names of volumes groups, you
> might encounter an error. I do something like this in a %pre section:
>
> %pre --interpreter=/usr/bin/bash
> # DANGER: will remove all volume groups
> for VG in $(vgs -o vg_name --noheadings); do
>vgremove -f "$VG"
> done
> %end
>

Thanks Paul,

here is my unsuccessful (requiring human intervention) kistart disk
related part:

# System bootloader configuration
#bootloader --location=mbr --boot-drive=sda
# Darn, they changed grub password encryption standard
#bootloader --location=mbr --boot-drive=sda --append="crashkernel=no rhgb
quiet" --md5pass=$1$F/BHluSk$YticIZvEKa6Ckmw6GYTno.
bootloader --location=mbr --boot-drive=sda --append="crashkernel=no rhgb
quiet"
# Partition clearing information
clearpart --all --initlabel --drives=sda
# Disk partitioning information
part /boot --fstype="xfs" --ondisk=sda --size=500 --asprimary
part / --fstype="xfs" --ondisk=sda --size=5000 --asprimary
part /usr --fstype="xfs" --ondisk=sda --size=3 --asprimary
part swap --fstype="swap" --ondisk=sda --size=4000
part /var --fstype="xfs" --ondisk=sda --size=3000
part /tmp --fstype="xfs" --ondisk=sda --size=1000
part /home --fstype="xfs" --ondisk=sda --size=5
part /data --fstype="xfs" --ondisk=sda --size=100 --grow


I never start with drives that contained any lvm leftovers, but thanks, I
will add that part to my kickstart file.

Valeri


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


Re: [CentOS] Enable all permissions for root in Samba ...

2016-08-04 Thread reynie...@gmail.com
On Thu, Aug 4, 2016 at 9:47 PM, John R Pierce  wrote:

> On 8/4/2016 6:23 PM, reynie...@gmail.com wrote:
>
>> local virtual machine running
>> CentOS 7 so I do not need any security.
>>
>
> thats a mighty big assumption.


I understand your concern because is a security flag but I can tell you
that this is only a development environment because I use Windows as a host
but I like to have all related to server in a VM


>
>
>
> Having that in mind I have
>> installed Samba and this is how I setup for access the remote server:
>>
>> [global]
>> workgroup = WORKGROUP
>> server string = Samba Server %v
>> netbios name = CentOS Server
>> security = user
>> map to guest = bad user
>> dns proxy = no
>>
>> [root]
>> path = /
>> browsable =yes
>> writable = yes
>> guest ok = yes
>> read only = no
>> force user = root
>> force group = root
>>
>
> your remote user who connects to this local VM is running windows as
> 'root' ?  thats unusual.


I am not sure what are you asking|telling me but I was never asked for a
username/password to connect; it only goes ahead and connect but then I
can't do anything like chdir or mkdir or create new files


*Reynier Perez Mira*
Phone: (786) 5807572
EMail: reynie...@gmail.com

[image: Facebook]  [image: Github]
 [image: Google+]
 [image: Twitter]
 [image: LinkedIn]

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


Re: [CentOS] Enable all permissions for root in Samba ...

2016-08-04 Thread John R Pierce

On 8/4/2016 6:23 PM, reynie...@gmail.com wrote:

local virtual machine running
CentOS 7 so I do not need any security.


thats a mighty big assumption.



Having that in mind I have
installed Samba and this is how I setup for access the remote server:

[global]
workgroup = WORKGROUP
server string = Samba Server %v
netbios name = CentOS Server
security = user
map to guest = bad user
dns proxy = no

[root]
path = /
browsable =yes
writable = yes
guest ok = yes
read only = no
force user = root
force group = root


your remote user who connects to this local VM is running windows as 
'root' ?  thats unusual.









--
john r pierce, recycling bits in santa cruz

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


[CentOS] Enable all permissions for root in Samba ...

2016-08-04 Thread reynie...@gmail.com
As I said in previous messages I have a local virtual machine running
CentOS 7 so I do not need any security. Having that in mind I have
installed Samba and this is how I setup for access the remote server:

[global]
workgroup = WORKGROUP
server string = Samba Server %v
netbios name = CentOS Server
security = user
map to guest = bad user
dns proxy = no

[root]
path = /
browsable =yes
writable = yes
guest ok = yes
read only = no
force user = root
force group = root

I am able to connect as root without password but I can't chdir into a few
directories like for example /var/www. The permissions for such directory
are:

# ls -la /var/www/
total 4
drwxr-xr-x.  4 root   root   31 Aug  4 19:00 .
drwxr-xr-x. 20 root   root 4096 Aug  4 20:02 ..
drwxr-xr-x.  2 root   root6 Jul 18 11:30 cgi-bin
drwxrwsr-x.  2 apache root   22 Jun 30 05:05 html

Why I can't access to /var/html? What I am doing wrong?
Thanks in advance

*Reynier Perez Mira*
Phone: (786) 5807572
EMail: reynie...@gmail.com

[image: Facebook]  [image: Github]
 [image: Google+]
 [image: Twitter]
 [image: LinkedIn]

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


Re: [CentOS] CentOS 7 kickstart question

2016-08-04 Thread Paul Heinlein

On Thu, 4 Aug 2016, Valeri Galtsev wrote:


Dear Experts,

Could somebody point to kicstart HOWTO specific for CentOS 7?

On CentOS 7 I somehow am always given human intervention questions 
about drive which defeats unattended ks install.


At least one snag I hit consistently with CentOS 7 kickstart is: it 
drops me into human decision as far as wiping hard drive and 
creating custom (or default probably as well) partitioning scheme is 
concerned. Most likely it is me who needs to learn new trick (like 
"tricking smart macintosh into actually doing what you want done") 
as it looks like safety defeats my unattended kickstart installation 
(like on Windows: "Do you really - really want to do this?").


It would have been helpful to see the disk-specific part of your 
kickstart file, but here's a snippet that's worked for me:


clearpart --all --initlabel
zerombr
bootloader --location=mbr
part ...
part ...

I've also noticed that LVM meta information will stick around during a 
re-installation. So if you're reusing the names of volumes groups, you 
might encounter an error. I do something like this in a %pre section:


%pre --interpreter=/usr/bin/bash
# DANGER: will remove all volume groups
for VG in $(vgs -o vg_name --noheadings); do
  vgremove -f "$VG"
done
%end

--
Paul Heinlein <> heinl...@madboa.com <> http://www.madboa.com/
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Can't connect trough SSH to a new fresh CentOS 7 minimal server

2016-08-04 Thread reynie...@gmail.com
Ohhh it was my bad, this VM has two interfaces and the one I was trying to
reach was down so NEVER it will respond. Anyway thanks for the time

*Reynier Perez Mira*
Phone: (786) 5807572
EMail: reynie...@gmail.com

[image: Facebook]  [image: Github]
 [image: Google+]
 [image: Twitter]
 [image: LinkedIn]


On Thu, Aug 4, 2016 at 7:52 PM, Monty Shinn 
wrote:

> A few things you might try:
>
> 1. Verify ssh is listening:
>
> netstat -antp | grep :22 | grep -i listen
>
> 2. Verify you can ssh locally:
>
> ssh localhost
>
> 3. Try to telnet to ssh port:
>
> telnet  22
>
> 4. run nmap against the ipaddress to verify port 22 is seen.
>
> Hope this helps.
>
> Regards,
>
> Monty
>
>
> On 08/04/2016 06:36 PM, reynie...@gmail.com wrote:
>
>> I have installed a new CentOS 7 minimal virtual machine in Vmware
>> Workstation. I have disabled the firewall by running:
>>
>> *systemctl disable firewalld* => this one for disable it permanently (I
>> don't need it since it's a VM for development)
>> *systemctl stop firewalld* => this one for stop the service
>>
>> I have set SELinux to be permissive.
>>
>> SSH is up and running as the output from: *service sshd status*
>>
>> But I can't connect trough SSH, I am missing something?
>> Thanks in advance
>>
>> *Reynier Perez Mira*
>> Phone: (786) 5807572
>> EMail: reynie...@gmail.com
>>
>> [image: Facebook]  [image: Github]
>>  [image: Google+]
>>  [image: Twitter]
>>  [image: LinkedIn]
>> 
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> https://lists.centos.org/mailman/listinfo/centos
>>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Can't connect trough SSH to a new fresh CentOS 7 minimal server

2016-08-04 Thread Monty Shinn

A few things you might try:

1. Verify ssh is listening:

netstat -antp | grep :22 | grep -i listen

2. Verify you can ssh locally:

ssh localhost

3. Try to telnet to ssh port:

telnet  22

4. run nmap against the ipaddress to verify port 22 is seen.

Hope this helps.

Regards,

Monty


On 08/04/2016 06:36 PM, reynie...@gmail.com wrote:

I have installed a new CentOS 7 minimal virtual machine in Vmware
Workstation. I have disabled the firewall by running:

*systemctl disable firewalld* => this one for disable it permanently (I
don't need it since it's a VM for development)
*systemctl stop firewalld* => this one for stop the service

I have set SELinux to be permissive.

SSH is up and running as the output from: *service sshd status*

But I can't connect trough SSH, I am missing something?
Thanks in advance

*Reynier Perez Mira*
Phone: (786) 5807572
EMail: reynie...@gmail.com

[image: Facebook]  [image: Github]
 [image: Google+]
 [image: Twitter]
 [image: LinkedIn]

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


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


[CentOS] Can't connect trough SSH to a new fresh CentOS 7 minimal server

2016-08-04 Thread reynie...@gmail.com
I have installed a new CentOS 7 minimal virtual machine in Vmware
Workstation. I have disabled the firewall by running:

*systemctl disable firewalld* => this one for disable it permanently (I
don't need it since it's a VM for development)
*systemctl stop firewalld* => this one for stop the service

I have set SELinux to be permissive.

SSH is up and running as the output from: *service sshd status*

But I can't connect trough SSH, I am missing something?
Thanks in advance

*Reynier Perez Mira*
Phone: (786) 5807572
EMail: reynie...@gmail.com

[image: Facebook]  [image: Github]
 [image: Google+]
 [image: Twitter]
 [image: LinkedIn]

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


[CentOS] firwalld 0.4+ ipset root.

2016-08-04 Thread Jon LaBadie
Before firewalld I used to use ipsets to blacklist
several countries.  Firewalld added support for ipsets
with version 0.4, a year ago.  Centos 7.2 is still at
0.3.9.  Anyone know of a newer Centos package?

jon
-- 
Jon H. LaBadie j...@jgcomp.com
 11226 South Shore Rd.  (703) 787-0688 (H)
 Reston, VA  20190  (703) 935-6720 (C)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 7- boot doesn't wait for startup script to complete

2016-08-04 Thread Jonathan Billings
> On Aug 4, 2016, at 14:35, KM  wrote:
> 
> thank you for the feedback.  I tried using 
> Before=systemd-user-sessions.service.  At first glance it seems to work, but 
> then the oracle DB shuts down.  Note that myservices starts oracle and then 
> does a few things for our application.
> When I remove that entry, it goes right to the login as I originally 
> described, but the oracle DB does not shut down.  maybe I have the wrong 
> combination of timeout options with this other option or something, although 
> the timeouts seemed to work also.
> Just thought I'd throw it out there.  In either case, thanks for helping.
> I looked online for an explanation of the options for these files, other that 
> the systemd manual page which is hard to use.  I really couldn't find one.  
> Any suggestions?
> Thanks again.KM

Is your service still a oneshot type?  If you are starting daemonized services, 
systemd is probably terminating them. You should use a 'forking' type for 
services that will keep around processes. 


>  From: Jonathan Billings 
> To: CentOS mailing list  
> Sent: Tuesday, August 2, 2016 9:28 AM
> Subject: Re: [CentOS] centos 7- boot doesn't wait for startup script to 
> complete
> 
>> On Tue, Aug 02, 2016 at 12:56:21PM +, KM wrote:
>> # used to set up the Myservices onstartup
>> [Unit]
>> Description=Start and stop Myservices
>> 
>> [Service]
>> Type=oneshot
>> ExecStart=/etc/init.d/Myservices start
>> ExecStop=/etc/init.d/Myservices stop
>> RemainAfterExit=yes
>> 
>> [Install]
>> WantedBy=multi-user.target
> 
> Reformatting so it is readable.
> 
> What you probably want to do is to add something to the [Unit] section
> to make the completion of the be a requirement for the user login
> service.  Something like:
> 
> Before=systemd-user-sessions.service
> 
> You will most likely also need to add a TimeoutStartSec= to your
> [Service] section to give it a longer time to run before systemd times
> out the service start.
> 
> 
> -- 
> Jonathan Billings 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 
> 
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

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


Re: [CentOS] Systemd and network startup/shutdown ?

2016-08-04 Thread Jonathan Billings
> On Aug 3, 2016, at 07:20, James Pearson  wrote:
> 
> I've just started to dip my toe in the water with CentOS 7 - and have started 
> looking at porting custom CentOS 6 init.d/xinetd/whatever scripts and configs 
> to systemd, but notice that CentOS 7 appears to use /etc/rc.d/init.d/network 
> as the method for starting/stopping the network
> 
> Is this correct - or am I missing something?

You are correct, the old sysv init script still exists, although you are still 
using systemd to launch it. 

I'm not sure why it exists but I seem to recall there was something that 
required it. (load balancer maybe?)

The NetworkManager service does use systemd units though. 

--
Jonathan Billings


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


Re: [CentOS] centos 7- boot doesn't wait for startup script to complete

2016-08-04 Thread KM
thank you for the feedback.  I tried using 
Before=systemd-user-sessions.service.  At first glance it seems to work, but 
then the oracle DB shuts down.  Note that myservices starts oracle and then 
does a few things for our application.
When I remove that entry, it goes right to the login as I originally described, 
but the oracle DB does not shut down.  maybe I have the wrong combination of 
timeout options with this other option or something, although the timeouts 
seemed to work also.
Just thought I'd throw it out there.  In either case, thanks for helping.
I looked online for an explanation of the options for these files, other that 
the systemd manual page which is hard to use.  I really couldn't find one.  Any 
suggestions?
Thanks again.KM
  From: Jonathan Billings 
 To: CentOS mailing list  
 Sent: Tuesday, August 2, 2016 9:28 AM
 Subject: Re: [CentOS] centos 7- boot doesn't wait for startup script to 
complete
   
On Tue, Aug 02, 2016 at 12:56:21PM +, KM wrote:
> # used to set up the Myservices onstartup
> [Unit]
> Description=Start and stop Myservices
>
> [Service]
> Type=oneshot
> ExecStart=/etc/init.d/Myservices start
> ExecStop=/etc/init.d/Myservices stop
> RemainAfterExit=yes
>
> [Install]
> WantedBy=multi-user.target

Reformatting so it is readable.

What you probably want to do is to add something to the [Unit] section
to make the completion of the be a requirement for the user login
service.  Something like:

Before=systemd-user-sessions.service

You will most likely also need to add a TimeoutStartSec= to your
[Service] section to give it a longer time to run before systemd times
out the service start.


-- 
Jonathan Billings 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


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


[CentOS-docs] First time - wiki

2016-08-04 Thread Ricardson
Hi All,

 My Username: RicardsonWilliams
 Wiki Page Help: https://wiki.centos.org/HowTos/Virtualization/VirtualBox



PS: I tried to create my personal page but seems I don't have permission.



Cheers,
Ricardson
-- 
*Ricardson Williams*
Consultor Linux/Cloud
11 94305-9005 | ricardsonwilli...@gmail.com
Skype: ricardsonwilliams
  
___
CentOS-docs mailing list
CentOS-docs@centos.org
https://lists.centos.org/mailman/listinfo/centos-docs


[CentOS] CentOS 7 kickstart question

2016-08-04 Thread Valeri Galtsev
Dear Experts,

Could somebody point to kicstart HOWTO specific for CentOS 7?

On CentOS 7 I somehow am always given human intervention questions about
drive which defeats unattended ks install.


I'm doing kickstart installations for quite some time, normally I was just
installing system when new release comes, and am basing kickstart file on
anaconda-ks.cfg - with some adoptions from my kickstart configuration for
previous system release. Never had a need to re-learn a set of trivial
things I use (as far back as I remember: CentOS 6, 5, ... Fedora 5, RH 9,
8, 7...). Now it turns out to be time to re-learn the thing. At least one
snag I hit consistently with CentOS 7 kickstart is: it drops me into human
decision as far as wiping hard drive and creating custom (or default
probably as well) partitioning scheme is concerned. Most likely it is me
who needs to learn new trick (like "tricking smart macintosh into actually
doing what you want done") as it looks like safety defeats my unattended
kickstart installation (like on Windows: "Do you really - really want to
do this?")
 - if that was rant that is...


Thanks a lot for your advises!

Valeri


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


Re: [CentOS] curl build system is broken and so is mock

2016-08-04 Thread m . roth
Always Learning wrote:
>
> On Thu, 2016-08-04 at 09:46 -0400, James B. Byrne wrote:
>> On Wed, August 3, 2016 22:53, Alice Wonder wrote:
>> >
>> > I didn't realize ldd was recursive. I may have known that at one
>> > point (been using linux since MK Linux DR3 and building RPMs since
>> > 1999), but have a head injury results in memory problems with
>> > pieces of knowledge I don't frequently use.
>>
>> Most of us have that problem; head injuries or not.
>
> +1
>
Condolences on the injury.

My only excuse is how do you expect me to remember this current trivial
stuff, when my mind is jam-packed with Important Information.

For example, would you like me to sing you the entire theme song of the
1959 US TV show, Robin Hood?

  mark

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


Re: [CentOS] curl build system is broken and so is mock

2016-08-04 Thread Always Learning

On Thu, 2016-08-04 at 09:46 -0400, James B. Byrne wrote:
> On Wed, August 3, 2016 22:53, Alice Wonder wrote:
> >
> > I didn't realize ldd was recursive. I may have known that at one
> > point (been using linux since MK Linux DR3 and building RPMs since
> > 1999), but have a head injury results in memory problems with
> > pieces of knowledge I don't frequently use.
> 
> Most of us have that problem; head injuries or not.

+1

-- 
Regards,

Paul.
England, EU.  England's place is in the European Union.

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


Re: [CentOS] php55w-fpm on CentOS 7: settings location

2016-08-04 Thread Valeri Galtsev

On Thu, August 4, 2016 8:52 am, James B. Byrne wrote:
>
> On Wed, August 3, 2016 14:19, Always Learning wrote:
>>
>> On Wed, 2016-08-03 at 13:55 -0400, Jason Welsh wrote:
>>
>>> What I do is create a  php.php file on the root of my fileserver
>>> with
>>> the following
>>>
>>> 
>>
>> I use a text command: php -i
>>
>>
>>
>
> php -i > php-i.txt
> echo '' | php > php-echo.txt
>
> diff php-i.txt php-echo.txt
> 709,710c709,710
> < _SERVER["PHP_SELF"] =>
> < _SERVER["SCRIPT_NAME"] =>
> ---
>> _SERVER["PHP_SELF"] => -
>> _SERVER["SCRIPT_NAME"] => -
> 714c714
> < _SERVER["REQUEST_TIME"] => 1470317489
> ---
>> _SERVER["REQUEST_TIME"] => 1470317531
> 716a717
>> [0] => -
> 719c720
> < _SERVER["argc"] => 0
> ---
>> _SERVER["argc"] => 1
>
>
> I do not see much to choose between them in terms of output and 'php
> -i' is certainly handier when in a terminal session on the host.
>

You are right as far as your particular case is concerned. Showing
something true in one particular case doesn't prove it is always so. (As
opposed to showing just one case when it is not true which will be a proof
of wrong statement).

I'm not going to make weird example when apache at start changes to custom
php config just to support a point I tried to make. Still, when I
troubleshooting a problem, I like to test something under as close to
reality as possible. Just to avoid potential differences that may affect
what I see in the test. This is sort of philosophy they taught me in
programming classes waaay back. And this is what potentially saved me the
length of troubleshooting in quite a few cases over my life. Again, it is
not I who is this clever, it is just that I had great teachers. And as
softly as I mentioned it ("I like more the way to see it as web server
shows") hopefully didn't hurt anybody's feelings, but those who decide to
give it their own thought might benefit from it. Hopefully.

But if this doesn't make sense to, whoever reads it, please, just ignore it.

Valeri


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


Re: [CentOS] php55w-fpm on CentOS 7: settings location

2016-08-04 Thread James B. Byrne

On Wed, August 3, 2016 14:19, Always Learning wrote:
>
> On Wed, 2016-08-03 at 13:55 -0400, Jason Welsh wrote:
>
>> What I do is create a  php.php file on the root of my fileserver
>> with
>> the following
>>
>> 
>
> I use a text command: php -i
>
>
>

php -i > php-i.txt
echo '' | php > php-echo.txt

diff php-i.txt php-echo.txt
709,710c709,710
< _SERVER["PHP_SELF"] =>
< _SERVER["SCRIPT_NAME"] =>
---
> _SERVER["PHP_SELF"] => -
> _SERVER["SCRIPT_NAME"] => -
714c714
< _SERVER["REQUEST_TIME"] => 1470317489
---
> _SERVER["REQUEST_TIME"] => 1470317531
716a717
> [0] => -
719c720
< _SERVER["argc"] => 0
---
> _SERVER["argc"] => 1


I do not see much to choose between them in terms of output and 'php
-i' is certainly handier when in a terminal session on the host.


-- 
***  e-Mail is NOT a SECURE channel  ***
Do NOT transmit sensitive data via e-Mail
 Do NOT open attachments nor follow links sent by e-Mail

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


Re: [CentOS] curl build system is broken and so is mock

2016-08-04 Thread James B. Byrne

On Wed, August 3, 2016 22:53, Alice Wonder wrote:
>
> I didn't realize ldd was recursive. I may have known that at one
> point (been using linux since MK Linux DR3 and building RPMs since
> 1999), but have a head injury results in memory problems with
> pieces of knowledge I don't frequently use.

Most of us have that problem; head injuries or not.


-- 
***  e-Mail is NOT a SECURE channel  ***
Do NOT transmit sensitive data via e-Mail
 Do NOT open attachments nor follow links sent by e-Mail

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


[CentOS-announce] CESA-2016:1573 Moderate CentOS 6 squid Security Update

2016-08-04 Thread Johnny Hughes

CentOS Errata and Security Advisory 2016:1573 Moderate

Upstream details at : https://rhn.redhat.com/errata/RHSA-2016-1573.html

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

i386:
a3dbfd66da87b943696b2a227d69d6e48a6560a02f398d9d8accd1ce9eb06562  
squid-3.1.23-16.el6_8.6.i686.rpm

x86_64:
b4453e9f605489d41aae9cad09a4ce96b07be6868c4719b7237b87eccb62a91a  
squid-3.1.23-16.el6_8.6.x86_64.rpm

Source:
35bed43b9baf4a43b9d7d8d2bccd5e1a98ea071de27d881e100d958e596786fc  
squid-3.1.23-16.el6_8.6.src.rpm



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

___
CentOS-announce mailing list
CentOS-announce@centos.org
https://lists.centos.org/mailman/listinfo/centos-announce


Re: [CentOS-virt] Centos 7 newer kernel needed

2016-08-04 Thread Johnny Hughes
On 08/04/2016 07:30 AM, Laurentiu Soica wrote:
> Hi Xlord, 
> 
> Yes,  the CPU has support for EPT. 
> 
> I wrongly thought that the nested EPT was first introduced in 3.12.
> Following your instructions I see that I have it enabled on my system as
> well. 
> 
> However,  checking the kernel commits from 3.12 on search string 'nested
> ept'  I found about 10 code changes/fixes for nested EPT. 
> 
> https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/?id=refs%2Ftags%2Fv3.12.62=grep=Nested+ept
> 
> What options do I have to get this commits on a Centos 7 kernel? 

The Standard CentOS kernel is built from the source code and
configuration files of the released RHEL kernel.  The only way to get
things into the main CentOS kernel is for it to be in the RHEL source code.

Red Hat does backport changes into the RHEL kernel, so if they support
nested those changes or ones like it may be there.  See Backporting:

https://access.redhat.com/security/updates/backporting

We do have a CentOSPlus kernel, maintained by a volunteer (hi toracat).
She will take potential patches here if you have something that works:

https://bugs.centos.org/view.php?id=6828

Also, if you want to try a newer kernel, we do have 2 available.  I
manage both of these kernels, they are both based on an LTS version of
the kernel from kernel.org .. but neither gets nearly the attention (or
smart people looking at them) as the RHEL based kernel.  If you want to
try either of them, they are in:

3.18.x LTS:
http://mirror.centos.org/centos/7/virt/x86_64/xen-46/

4.4.x LTS:
http://mirror.centos.org/altarch/7.2.1511/experimental/x86_64/Packages/

Those kernels both work, I am running both on production machines .. but
I am not a kernel hacker, so I just build what the upstream LTS kernel
maintainer releases.  They may or may not do what you want.

The RHEL kernel team does a lot of work to make sure the RHEL kernel

Thanks,
Johnny Hughes



signature.asc
Description: OpenPGP digital signature
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Centos 7 newer kernel needed

2016-08-04 Thread Laurentiu Soica
Hi Xlord,

Yes,  the CPU has support for EPT.

I wrongly thought that the nested EPT was first introduced in 3.12.
Following your instructions I see that I have it enabled on my system as
well.

However,  checking the kernel commits from 3.12 on search string 'nested
ept'  I found about 10 code changes/fixes for nested EPT.

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/?id=refs%2Ftags%2Fv3.12.62=grep=Nested+ept

What options do I have to get this commits on a Centos 7 kernel?

Thank you,
Laurentii


On Thu, Aug 4, 2016, 12:14 -=X.L.O.R.D=-  wrote:

> Dear Laurentiu,
>
> Could you please check if your CPU supported from /proc/cpuinfo and lscpu ?
>
>
>
> EPT supported
>
> Xlord
>
>
>
> *From:* -=X.L.O.R.D=- [mailto:xlord...@gmail.com]
> *Sent:* Thursday, August 4, 2016 5:12 PM
> *To:* 'Laurentiu Soica' ; 'Discussion about the
> virtualization on CentOS' 
> *Subject:* RE: [CentOS-virt] Centos 7 newer kernel needed
>
>
>
> Dear Laurentiu,
>
> Assume your hardware does support Intel VT-x with EPT supported, I have
> also look into the kernel part for fun!
>
> Just quick look at CentOS 7 and installed a CentOS_7x_x64_build1511
> @installation at minimum, below is my sharing and hope to help!
>
> 1)  CentOS Linux Kernel version: 3.10.0-327.e17.x86_64 SMP
>
> 2)  Kernel parameters which should be your requirement;
>
> a. Default “kvm-intel.ept=1” (refer to Kernel Archive “
> https://www.kernel.org/”)
>
> b.
>
> Xlord
>
>
>
> *From:* Laurentiu Soica [mailto:lauren...@soica.ro ]
>
> *Sent:* Thursday, August 4, 2016 2:41 PM
> *To:* -=X.L.O.R.D=- ; Discussion about the
> virtualization on CentOS 
>
> *Subject:* Re: [CentOS-virt] Centos 7 newer kernel needed
>
>
>
> Hello Xlord,
>
>
>
> The CPU does have VT support and I already have the nested KVM enabled.
>
>
>
> Checking the Linux Kernel release notes I saw that the nested kvm feature
> was implemented in 3.10 but he EPT support is in 3.12.
>
>
>
> So Centos 7's kernel which is 3.10 does have the EPT support? Is there a
> way to check that the EPT support is available in the kernel?
>
>
>
> Thank you,
>
> Laurentiu
>
> On Thu, Aug 4, 2016, 06:04 -=X.L.O.R.D=-  wrote:
>
> Dear Laurentiu,
>
> Please check below info since assume your CentOS7 box CPU processor
> already VT supported in advance.
>
> 1) Checkpoint #1: Hardware and Kernel modules
>
> a. cat /proc/cpuinfo | grep vmx
>
> b. cat /sys/module/kvm_intel/parameters/nested (if “N” then go to 
> checkpoint #2)
>
> 2) Checkpoint #2: Assume your CentOS box support
>
> *a.* *echo 'options kvm-intel nested=y' >> /etc/modprobe.d/*dist.conf
>
> b. modprobe kvm-intel
>
> 3)  Checkpoint #3: Verification
>
> a.   Reboot yout CentOS box
>
> b. cat /sys/module/kvm_intel/parameters/nested (if “Y” then you can carry 
> one process the KVM installation.
>
>
>
> PS: Source: 
> https://lalatendu.org/2015/11/01/kvm-nested-virtualization-in-fedora-23/ 
> which should be very similar with CentOS and CentOS 7 already capable with on 
> with KVM Nested EPT with CPU pass-through options supported. Hope that helps 
> & cheers!!
>
> Xlord
>
>
>
> *From:* centos-virt-boun...@centos.org [mailto:
> centos-virt-boun...@centos.org] *On Behalf Of *Laurentiu Soica
> *Sent:* Thursday, August 4, 2016 3:07 AM
> *To:* centos-virt@centos.org
> *Subject:* [CentOS-virt] Centos 7 newer kernel needed
>
>
>
> Hello,
>
> I am looking for a Linux kernel for Centos 7 that implements a feature
> introduced in kernel version 3.12:
>
> "nested EPT support to KVM's nested VMX."
>
> If anyone has used this feature with Centos 7, please let me know.
>
> Laurentiu
>
>
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


[CentOS] CentOS-announce Digest, Vol 138, Issue 2

2016-08-04 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
https://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-2016:1551 Critical CentOS 6 firefox Security Update
  (Johnny Hughes)
   2. CESA-2016:1551 Critical CentOS 7 firefox Security Update
  (Johnny Hughes)
   3. CESA-2016:1539 Important CentOS 7 kernel Security Update
  (Johnny Hughes)
   4. CESA-2016:1551 Critical CentOS 5 firefox Security Update
  (Johnny Hughes)
   5. CEEA-2016:1558 CentOS 7 ixgbe Enhancement Update (Johnny Hughes)
   6. CEEA-2016:1559 CentOS 7 bnx2x Enhancement Update (Johnny Hughes)


--

Message: 1
Date: Wed, 3 Aug 2016 13:34:44 +
From: Johnny Hughes 
To: centos-annou...@centos.org
Subject: [CentOS-announce] CESA-2016:1551 Critical CentOS 6 firefox
SecurityUpdate
Message-ID: <20160803133444.ga33...@n04.lon1.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2016:1551 Critical

Upstream details at : https://rhn.redhat.com/errata/RHSA-2016-1551.html

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

i386:
9df10ccea2612e3a15c8efda9ba170b5a56d097c3fe5693519da7dc174afc91c  
firefox-45.3.0-1.el6.centos.i686.rpm

x86_64:
9df10ccea2612e3a15c8efda9ba170b5a56d097c3fe5693519da7dc174afc91c  
firefox-45.3.0-1.el6.centos.i686.rpm
63f8ab8d2156549bb98daf269c1670f2f600477d4e0af4d13d7b02b4cdb44912  
firefox-45.3.0-1.el6.centos.x86_64.rpm

Source:
3a05bc5c24a4b0c24b77b918e1361be00493395f27aaa5afa4d743d00e192826  
firefox-45.3.0-1.el6.centos.src.rpm



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



--

Message: 2
Date: Wed, 3 Aug 2016 14:06:18 +
From: Johnny Hughes 
To: centos-annou...@centos.org
Subject: [CentOS-announce] CESA-2016:1551 Critical CentOS 7 firefox
SecurityUpdate
Message-ID: <20160803140618.ga39...@n04.lon1.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2016:1551 Critical

Upstream details at : https://rhn.redhat.com/errata/RHSA-2016-1551.html

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

x86_64:
0b6e166fc20500ed20985a8d668eea12cfbdfb39e0fd714061f8f82b30a34ba5  
firefox-45.3.0-1.el7.centos.i686.rpm
5e8927756bd707eca7f3fa012a794a11f8008a2434876e95a85faec926d32fe5  
firefox-45.3.0-1.el7.centos.x86_64.rpm

Source:
d3d2fd8370693a06da5827a5006161d1701fa1280e0a094169a9e0e8e242ee60  
firefox-45.3.0-1.el7.centos.src.rpm



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



--

Message: 3
Date: Wed, 3 Aug 2016 14:05:49 +
From: Johnny Hughes 
To: centos-annou...@centos.org
Subject: [CentOS-announce] CESA-2016:1539 Important CentOS 7 kernel
SecurityUpdate
Message-ID: <20160803140549.ga39...@n04.lon1.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2016:1539 Important

Upstream details at : https://rhn.redhat.com/errata/RHSA-2016-1539.html

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

x86_64:
a0e90ff663ac2a387e16320bf1e766ba0dd3191de684a637cd624f436fe8f7a0  
kernel-3.10.0-327.28.2.el7.x86_64.rpm
ad03e7f34c5410790b1a15655313203706cbf062629f1958f370974fa2568817  
kernel-abi-whitelists-3.10.0-327.28.2.el7.noarch.rpm
d17cc0f7b3ffac0e1f083a8a687f20689dd7a5a0c27811cfa7302a6cfccd82b6  
kernel-debug-3.10.0-327.28.2.el7.x86_64.rpm
e23bf54b2e5354a7984445cd6a79b0d2d3e4985a3586d96f848cc8e601dbaac7  
kernel-debug-devel-3.10.0-327.28.2.el7.x86_64.rpm
a8c5c03fd36b7ab9d171613d5048007cf71e2272b7b93c26ae09668381ef4fe3  
kernel-devel-3.10.0-327.28.2.el7.x86_64.rpm
c2587858a6ae29a3ae81e7c8b451b4c832ed7758478729e1ef16a88f4aa24151  
kernel-doc-3.10.0-327.28.2.el7.noarch.rpm
a1472c9948b043b614e92946ad65cde38a6380ca15eec601013429ded0258e7b  
kernel-headers-3.10.0-327.28.2.el7.x86_64.rpm
96800a0be6263a40d4fa9731f8d80f7a15edb605f47952df53e0b384baf222fc  
kernel-tools-3.10.0-327.28.2.el7.x86_64.rpm
2830cf235d377d6756550ad3a1649f1be8e5093039ef2b2387eaaf5181924aba  
kernel-tools-libs-3.10.0-327.28.2.el7.x86_64.rpm
506b7604b85cd0d93eabe143844be07c4aa639e3aa550615988e4a948fac1060  

Re: [CentOS-virt] Centos 7 newer kernel needed

2016-08-04 Thread -=X.L.O.R.D=-
Dear Laurentiu,

Assume your hardware does support Intel VT-x with EPT supported, I have also 
look into the kernel part for fun!

Just quick look at CentOS 7 and installed a CentOS_7x_x64_build1511 
@installation at minimum, below is my sharing and hope to help!

1)  CentOS Linux Kernel version: 3.10.0-327.e17.x86_64 SMP

2)  Kernel parameters which should be your requirement;

a. Default “kvm-intel.ept=1” (refer to Kernel Archive 
“https://www.kernel.org/”)

b. 

Xlord

 

From: Laurentiu Soica [mailto:lauren...@soica.ro] 
Sent: Thursday, August 4, 2016 2:41 PM
To: -=X.L.O.R.D=- ; Discussion about the virtualization on 
CentOS 
Subject: Re: [CentOS-virt] Centos 7 newer kernel needed

 

Hello Xlord, 

 

The CPU does have VT support and I already have the nested KVM enabled. 

 

Checking the Linux Kernel release notes I saw that the nested kvm feature was 
implemented in 3.10 but he EPT support is in 3.12.

 

So Centos 7's kernel which is 3.10 does have the EPT support? Is there a way to 
check that the EPT support is available in the kernel? 

 

Thank you, 

Laurentiu

On Thu, Aug 4, 2016, 06:04 -=X.L.O.R.D=-  > wrote:

Dear Laurentiu,

Please check below info since assume your CentOS7 box CPU processor already VT 
supported in advance.

1) Checkpoint #1: Hardware and Kernel modules

a. cat /proc/cpuinfo | grep vmx

b. cat /sys/module/kvm_intel/parameters/nested (if “N” then go to 
checkpoint #2)

2) Checkpoint #2: Assume your CentOS box support

a. echo 'options kvm-intel nested=y' >> /etc/modprobe.d/dist.conf
b. modprobe kvm-intel

3)  Checkpoint #3: Verification

a.   Reboot yout CentOS box

b. cat /sys/module/kvm_intel/parameters/nested (if “Y” then you can carry 
one process the KVM installation.
   
PS: Source: 
https://lalatendu.org/2015/11/01/kvm-nested-virtualization-in-fedora-23/ which 
should be very similar with CentOS and CentOS 7 already capable with on with 
KVM Nested EPT with CPU pass-through options supported. Hope that helps & 
cheers!!

Xlord

 

From: centos-virt-boun...@centos.org   
[mailto:centos-virt-boun...@centos.org  
] On Behalf Of Laurentiu Soica
Sent: Thursday, August 4, 2016 3:07 AM
To: centos-virt@centos.org  
Subject: [CentOS-virt] Centos 7 newer kernel needed

 

Hello, 

I am looking for a Linux kernel for Centos 7 that implements a feature 
introduced in kernel version 3.12:

"nested EPT support to KVM's nested VMX."

If anyone has used this feature with Centos 7, please let me know. 

Laurentiu 

___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Lost a NIC on start

2016-08-04 Thread Günther J . Niederwimmer
Hello,

Am Mittwoch, 3. August 2016, 09:07:55 schrieb Nico Kadel-Garcia:
> On Tue, Aug 2, 2016 at 4:12 AM, Günther J.  wrote:
> > 
> > CentOS 7.2
> > 
> > I have a big Problem with libvirt or KVM, my Virtual Hosts lost sometime a
> > NIC on start.
> 
> What does "lose a NIC" mean? Does it mean that device doesn't show up
> at all, and is not apparent with "/sbin/ifconfig -a" ? Or does it mean
> that the device is not properly configured with IP address and
> connected to the local network?

It doesn't show up

NM is disabled
 
> I've certainly noticed with various virtualization systems and CentOS
> 6 that sometimes DHCP doesn't get configured in the very short time
> between the VM booting and the prompt being available. It always
> recovers with a "/sbin/service network restart".

DHCP is not configured all have a fix IP

in this situation service restart is not possible it answers with a Error only 
a reboot helps ?
 
> > I have configured 4 NIC on the Virtual host two passthru and 2 virtual, on
> > start most time i lost a virtual NIC :-(
> > 
> > So after a reboot I have to check always is all running and working.?
> > 
> > with a "virsh reboot " in the most time it come back ?
> > 
> > Have any a Idea why ?
> > 
> > I found nothing in the Logs :-(.
> > 
> > --
> > mit freundlichen Grüßen / best regards,
> > 
> >   Günther J. Niederwimmer
> > 
> > ___
> > CentOS-virt mailing list
> > CentOS-virt@centos.org
> > https://lists.centos.org/mailman/listinfo/centos-virt
> 
> ___
> CentOS-virt mailing list
> CentOS-virt@centos.org
> https://lists.centos.org/mailman/listinfo/centos-virt

-- 
mit freundlichen Grüßen / best regards,

  Günther J. Niederwimmer
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Centos 7 newer kernel needed

2016-08-04 Thread Laurentiu Soica
Hello Xlord,

The CPU does have VT support and I already have the nested KVM enabled.

Checking the Linux Kernel release notes I saw that the nested kvm feature
was implemented in 3.10 but he EPT support is in 3.12.

So Centos 7's kernel which is 3.10 does have the EPT support? Is there a
way to check that the EPT support is available in the kernel?

Thank you,
Laurentiu

On Thu, Aug 4, 2016, 06:04 -=X.L.O.R.D=-  wrote:

> Dear Laurentiu,
>
> Please check below info since assume your CentOS7 box CPU processor
> already VT supported in advance.
>
> 1) Checkpoint #1: Hardware and Kernel modules
>
> a. cat /proc/cpuinfo | grep vmx
>
> b. cat /sys/module/kvm_intel/parameters/nested (if “N” then go to 
> checkpoint #2)
>
> 2) Checkpoint #2: Assume your CentOS box support
>
> *a. **echo 'options kvm-intel nested=y' >> /etc/modprobe.d/*dist.conf
>
> b. modprobe kvm-intel
>
> 3)  Checkpoint #3: Verification
>
> a.   Reboot yout CentOS box
>
> b. cat /sys/module/kvm_intel/parameters/nested (if “Y” then you can carry 
> one process the KVM installation.
>
>
>
> PS: Source: 
> https://lalatendu.org/2015/11/01/kvm-nested-virtualization-in-fedora-23/ 
> which should be very similar with CentOS and CentOS 7 already capable with on 
> with KVM Nested EPT with CPU pass-through options supported. Hope that helps 
> & cheers!!
>
> Xlord
>
>
>
> *From:* centos-virt-boun...@centos.org [mailto:
> centos-virt-boun...@centos.org] *On Behalf Of *Laurentiu Soica
> *Sent:* Thursday, August 4, 2016 3:07 AM
> *To:* centos-virt@centos.org
> *Subject:* [CentOS-virt] Centos 7 newer kernel needed
>
>
>
> Hello,
>
> I am looking for a Linux kernel for Centos 7 that implements a feature
> introduced in kernel version 3.12:
>
> "nested EPT support to KVM's nested VMX."
>
> If anyone has used this feature with Centos 7, please let me know.
>
> Laurentiu
>
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt