Re: [CentOS] Latest version of kate editor

2016-02-02 Thread Chris Beattie
On 2/2/2016 12:02 PM, H wrote:
> What do people use as a programming editor on CentOS 6? My first 
> impression of kate was favorable, not only did it support the usual 
> programming and scripting languages but also markdown which I have

I used gedit and Windows' Notepad for a long time until I stumbled across SciTE.

I now use SciTE on CentOS 5, CentOS 7, and Windows because it's programmable 
and cross-platform.  I have never actually used it on CentOS 6, though.  It 
doesn't appear to support Markdown out of the box, either, but I think it's 
possible to add your own language files.

The last couple versions won't compile on CentOS 5, but I wasn't affected by 
any of the bugs they fixed and I'm migrating to 7 anyway.

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


[CentOS] CentOS 7, NSF, "feature"

2016-02-02 Thread m . roth
In the last month, we've discovered a new, a, "feature" in the version
of the version of NFS with CentOS 7: on startup, if it cannot resolve a
given host, it dies. It does not continue on up, with all the other hosts
it's exporting to, and just log a message.

Is there a workaround, or a configuration, to change this "fail on
unresolved host" behaviour?

 mark

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


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

2016-02-02 Thread Tnjulius
umount -fl /mount/point 
And configure it after with autofs 

Sent from my iPhone

> On Feb 2, 2016, at 20:00, Phelps, Matthew  wrote:
> 
> Try "umount -fl"('eff el')
> 
>> On Tue, Feb 2, 2016 at 1:58 PM, Dave Burns  wrote:
>> 
>> My NFS server is up and other clients can access x. One particular client
>> can't. I tried to unmount the NFS share:
>> 
>> [root@nfsclient ~]#  umount -f /disk/x
>> umount2: Device or resource busy
>> umount.nfs: /disk/x: device is busy
>> umount2: Device or resource busy
>> umount.nfs: /disk/x: device is busy
>> 
>> If I use df or lsof to try to figure out what process to kill, they hang. I
>> am reluctant to just reboot, as many other users are getting stuff done.
>> dmesg doesn't show anything useful.
>> 
>> How to get unstuck?
>> 
>> thanks,
>> Dave
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> https://lists.centos.org/mailman/listinfo/centos
> 
> 
> 
> -- 
> Matt Phelps
> System Administrator, Computation Facility
> Harvard - Smithsonian Center for Astrophysics
> mphe...@cfa.harvard.edu, http://www.cfa.harvard.edu
> ___
> 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] nfs stuck, don't know what processes to kill

2016-02-02 Thread m . roth
Dave Burns wrote:
> My NFS server is up and other clients can access x. One particular client
> can't. I tried to unmount the NFS share:
>
> [root@nfsclient ~]#  umount -f /disk/x
> umount2: Device or resource busy
> umount.nfs: /disk/x: device is busy
> umount2: Device or resource busy
> umount.nfs: /disk/x: device is busy
>
> If I use df or lsof to try to figure out what process to kill, they hang.
> I
> am reluctant to just reboot, as many other users are getting stuff done.
> dmesg doesn't show anything useful.
>
> How to get unstuck?

*IF* I understand what you're saying, on that one client, you're trying to
umount the nfs share. Is that the case?

IF that is the case... is autofs running? If so, service autofs stop, and
you should be able to umount it.

   mark

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


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

2016-02-02 Thread m . roth
Ricardo J. Barberis wrote:
> El Martes 02/02/2016, m.r...@5-cent.us escribió:
>> In the last month, we've discovered a new, a, "feature" in the
>> version of the version of NFS with CentOS 7: on startup, if it
>> cannot resolve a given host, it dies. It does not continue on up,
>> with all the other hosts it's exporting to, and just log a message.
>>
>> Is there a workaround, or a configuration, to change this "fail on
>> unresolved host" behaviour?
>
> Maybe NFS should wait for the network to be up?

Good thought, but no - this was an issue where the servers names were
changed, or moved - I disremember which. And it came up originally,
because we have one server that's accessed all over campus, at other
Institutes, and some people leave, and their machines go away, repurposed
or surplused, but they're still listed on our exports file.

  mark

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


Re: [CentOS] In A UEFI World, "rm -rf /" Can Brick Your System

2016-02-02 Thread Chris Adams
Once upon a time, Frank Cox  said:
> On Tue, 2 Feb 2016 10:18:09 + (UTC)
> Tony Mountifield wrote:
> >  killing the UEFI stuff stops you ever being able to do a re-install on 
> > that box. Is that correct?
> 
> Apparently so.

Just to clarify: this appears to be a problem with some particular buggy
UEFI implementations; this is not a universal problem with the UEFI
design or anything.  It is unclear (just "some MSI boards") which
models/revisions/etc. have this particular problem.  There have been
other isolated UEFI implementation problems before (some Samsung laptops
for example, with a particular UEFI version and Linux kernel driver
version plus a samsung-laptop driver enabled).

This isn't meant to diminish the impact; certainly UEFI is proving to be
problematic in ways the BIOS wasn't (although the early days of "IBM
compatible BIOS" implementations also had weird issues from time to
time).

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


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

2016-02-02 Thread Ricardo J. Barberis
El Martes 02/02/2016, m.r...@5-cent.us escribió:
> In the last month, we've discovered a new, a, "feature" in the version
> of the version of NFS with CentOS 7: on startup, if it cannot resolve a
> given host, it dies. It does not continue on up, with all the other hosts
> it's exporting to, and just log a message.
>
> Is there a workaround, or a configuration, to change this "fail on
> unresolved host" behaviour?
>
>  mark

Maybe NFS should wait for the network to be up?

I had a similar problem with an nginx binded to a specific IP, it didn't start 
because the interface wasn't yet up, so I had to make a new unit and put this 
inside (/etc/systemd/system/nginx.service):


.include /usr/lib/systemd/system/nginx.service

[Unit]
After=network.target remote-fs.target nss-lookup.target network-online.target



The After line is the important one, I copied it from
/usr/lib/systemd/system/nginx.service and added "network-online.target"
at the end.

After making your changes, be sure to reenable the service so it takes your 
new unit, e.g.:

# systemctl reenable nginx.service


It worked for me, maybe it works for you?

Cheers,
-- 
Ricardo J. Barberis
Usuario Linux Nº 250625: http://counter.li.org/
Usuario LFS Nº 5121: http://www.linuxfromscratch.org/
Senior SysAdmin / IT Architect - www.DonWeb.com
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


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

2016-02-02 Thread Dave Burns
My NFS server is up and other clients can access x. One particular client
can't. I tried to unmount the NFS share:

[root@nfsclient ~]#  umount -f /disk/x
umount2: Device or resource busy
umount.nfs: /disk/x: device is busy
umount2: Device or resource busy
umount.nfs: /disk/x: device is busy

If I use df or lsof to try to figure out what process to kill, they hang. I
am reluctant to just reboot, as many other users are getting stuff done.
dmesg doesn't show anything useful.

How to get unstuck?

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


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

2016-02-02 Thread Phelps, Matthew
Try "umount -fl"('eff el')

On Tue, Feb 2, 2016 at 1:58 PM, Dave Burns  wrote:

> My NFS server is up and other clients can access x. One particular client
> can't. I tried to unmount the NFS share:
>
> [root@nfsclient ~]#  umount -f /disk/x
> umount2: Device or resource busy
> umount.nfs: /disk/x: device is busy
> umount2: Device or resource busy
> umount.nfs: /disk/x: device is busy
>
> If I use df or lsof to try to figure out what process to kill, they hang. I
> am reluctant to just reboot, as many other users are getting stuff done.
> dmesg doesn't show anything useful.
>
> How to get unstuck?
>
> thanks,
> Dave
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
Matt Phelps
System Administrator, Computation Facility
Harvard - Smithsonian Center for Astrophysics
mphe...@cfa.harvard.edu, http://www.cfa.harvard.edu
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Latest version of kate editor

2016-02-02 Thread Mark LaPierre
On 02/02/16 12:02, H wrote:
> On 02/02/2016 03:50 PM, Lamar Owen wrote:
>> On 02/02/2016 09:28 AM, Jonathan Billings wrote:
>>> CentOS is not a bleeding-edge distribution that constantly keeps
>>> packages up to date with the upstream projects.  If you want that, try
>>> another distribution like Fedora.
>> 
>> GNOME can get a rebase to a newer version, but KDE can't. this
>> from a former KDE user who would love to go back to KDE but refuses to
>> deal with the issues older versions have.
>>
>> This is, of course, an upstream issue and not a CentOS one, and I know
>> that so I now use GNOME, even though it would be nice to see
>> parity in the allowing of a rebase of KDE like the one for GNOME.
>> 
>>
>>
>>> There is a 3rd-party repository that might have an upgraded KDE:
>>> http://www.trinitydesktop.org/about.php
>>>
>>
>> Trinity Desktop (TDE), is a fork of KDE 3.x, and not updated from
>> that.  So in ways it is older, yet newer.
>>

I use Eclipse.  There are plug in extensions for pretty near any
language you might favor.


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

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


[CentOS] How bad is "rm -rf /" ?

2016-02-02 Thread Valeri Galtsev
Dear All,

Suppose I executed the command

rm -rf /

on my CentOS 7 box. After it did what it could, how much damage will be
done to what I have (or _had_ rather ;-) on my hard drive?

I'm going to describe simple experiment which was prompted in another
thread. I need to say a few words before I do it, however. First of all,
that other thread was about doing the same thing on UEFI machine. This
experiment has nothing to do with UEFI, it was done not with the goal to
answer that question for UEFI machine.

What I did is this: I took two used drives (same manufacturer, same model,
same size). Then on some (pre-UEFI) hardware I kick-start installed
Development workstation (whith a bunch of scientific software I install
for people in our department). I did this install twice, once of each of
drives. Then I booted freshly installed system, went to virtual console,
logged in as root, and did:

cd /

rm -rfv /

(yes, I decided to add verbose flag to see things flying away). Guess
what? My clever CentOS 7 box told me that I am trying to remove everything
from root filesystem, and failed (I know, rm is aliased to "rm -i", that
still was not why this happened. Clever!). So, being determined to still
attempt to remove everything, I executed the command with an extra option:

rm -rfv --no-preserve-root /

and finally things started flying away, then the box locked with a bunch of

rm: cannot remove "/proc/sys/fs...": permission denied


OK, looks like I achieved the goal. I let this "obliterated" box sit for
another couple of hours like that. Then I did the only thing you can do in
this situation: pulled the power cord.

After that was done, I had two drives: one subjected to "rm -rf /" and
another not. This is not quite clean experiment as one drive was not a
clone of another; kickstart strictly speaking does not guarantee the
drives are identical. Also, as experiment is not clean, I decided I will
not boot system with second drive at all.

Before I go to comparison of two drives I need to tell you that I still
partition the drives when I install system, and here how the drive is
partitioned (as configured in kickstart file):

partition number   filesystem


1  /boot
2  /usr
3  /

5  /home
6swap
7  /var
8  /tmp
9  /data


Now, I mounted each of the drives on different machine, and compared them
to see what I still have on the drive I tried to obliterate wit "rm -rf
/".

Here is what I see:

/ contains on its top level all what it did (plus one more file: core dump!)
My /etc lives on root filesystem, so I looked how damaged that is.

On "obliterated" drive:

find /media/80caeb82-571a-4afe-b3bf-9bce1a35f49a/etc -type f | wc -l
2280

On intact comparison drive:

find /media/e2132f68-01a0-4815-aa38-1180ebcd41dc/etc -type f | wc -l
2272

(a few things did not create on comparison drive which I never booted). In
general, all seems intact!

I have /usr on separate partition, let's see what happened to /usr:

On "obliterated" drive:

find /media/39766043-9733-4f76-800f-696e604845ff -type f | wc -l
289498

du -s /media/39766043-9733-4f76-800f-696e604845ff
7438636  /media/39766043-9733-4f76-800f-696e604845ff

On intact comparison drive:

find /media/a3912c30-bf5f-4788-83f7-70756ef4b4ac -type f | wc -l
289498

du -s /media/a3912c30-bf5f-4788-83f7-70756ef4b4ac
7438640 /media/a3912c30-bf5f-4788-83f7-70756ef4b4ac

Well, all seems intact again.


OK, now: how about stuff that in / comes alphabetically before /dev?
First, symlink /bin (pointing to /usr/bin) stayed intact! This is not what
I expected, but I'm sure some clever person will explain that. Second, I
have two different partitions mounted as /boot and /data. Both of them are
gone (though their mount points stayed intact).

By no means I am considering myself an expert, but what I see is pretty
much what I expected. Namely, the kernel talks to hard drive via block
device (or raw device whenever applicable). Therefore, once resembling
device is deleted from /dev, there will be no more changes to the content
on hard drive platters. So, all in all "rm -rf /" is much less disatrous
than it sounds. It only obliterates stuff that every sysadmin can
re-create (like /boot or /bin bacl then when it was not symlink to
/usr/bin). So, happy "rm -rf /"-ing everybody!


I know there are many experts on this list (from whom I constantly learn
something!). They probably give much better explanation of what I observed
in the experiment I described.


Cheers,

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


[CentOS] Measuring memory bandwidth utilization

2016-02-02 Thread Benjamin Smith
I'd like to know what the cause of a particular DB server's slowdown might be. 
We've ruled out IOPs for the disks (~ 20%) and raw CPU load (top shows perhaps 
1/2 of cores busy, but the system slows to a crawl. 

We're suspecting that we're simply running out of memory bandwidth but have no 
way to confirm this suspicion. Is there a way to test for this? Think: iostat 
but for memory bandwidth instead of disk IO. 

So far, searching has found intel-cmt-cat-master which isn't supported on our 
CPU and oprofile which *sounds* like it does what I want from their website but 
I can't seem to get output that, in any way, tells me what the bandwidth usage 
is. 

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


Re: [CentOS] Measuring memory bandwidth utilization

2016-02-02 Thread John R Pierce

On 2/2/2016 5:34 PM, Benjamin Smith wrote:

I'd like to know what the cause of a particular DB server's slowdown might be.
We've ruled out IOPs for the disks (~ 20%) and raw CPU load (top shows perhaps
1/2 of cores busy, but the system slows to a crawl.

We're suspecting that we're simply running out of memory bandwidth but have no
way to confirm this suspicion. Is there a way to test for this? Think: iostat
but for memory bandwidth instead of disk IO.


memory bandwidth would show up as CPU busy, there's no distinction.

50% of your cores 100% busy, how many cores and how many waiting 
database tasks are there?  typically with most database servers, one 
user connection == one core at a time.   so if you have 16 cores, and 
only 8 busy/active database connections, that will tie up those 8 cores 
and leave the other 8 free.now the 8 processes will probably get 
bounced around between the cores, so it could end up looking like all 16 
cores are 50% busy averaged over some sample rate, but thats the same 
net difference..




--
john r pierce, recycling bits in santa cruz

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


[CentOS] Re: Latest version of kate editor

2016-02-02 Thread Yamaban

On Tue, 2 Feb 2016 18:02, H wrote:

On 02/02/2016 03:50 PM, Lamar Owen wrote:

 On 02/02/2016 09:28 AM, Jonathan Billings wrote:
>  CentOS is not a bleeding-edge distribution that constantly keeps
>  packages up to date with the upstream projects.  If you want that, try
>  another distribution like Fedora.
 
 GNOME can get a rebase to a newer version, but KDE can't. this from a
 former KDE user who would love to go back to KDE but refuses to deal with
 the issues older versions have.

 This is, of course, an upstream issue and not a CentOS one, and I know
 that so I now use GNOME, even though it would be nice to see parity in
 the allowing of a rebase of KDE like the one for GNOME.
 


>  There is a 3rd-party repository that might have an upgraded KDE:
> http: //www.trinitydesktop.org/about.php
> 


 Trinity Desktop (TDE), is a fork of KDE 3.x, and not updated from that.  So
 in ways it is older, yet newer.

What do people use as a programming editor on CentOS 6? My first impression of 
kate was favorable, not only did it support the usual programming and 
scripting languages but also markdown which I have recently discovered...


Well, KDE has its own trouble, even upstream, and for RedHat / Fedora 
packagers KDE seems a clear second or third choice to work on.


The Gnome upgrade from Centos 7.1 to 7.2 was "urgs" and has driven me to
switch to XFCE even @work, where I had to ask the sys-admins for
allowance beforehand.

vim / gvim / jedit

Vim and its graphical frontend gvim are in use for nearly all my tasks as
text-editors. A special place in my heart has (g)vimdiff which is a great
help im my daily work (shell-scripts, php, css, html, js, and markdown
make most the volume)

The availability of a very powerfull text editor that can be worked with 
in a terminal the same whether local or remote (via ssh) gives a
concistency that other editors lack, or, in the case of emacs, are not my 
taste at all.


Jedit is java based, and for me in use where projects span bejond a single
Operating System (Linux, Solaris, Windows and MacOS mostly).

 - Yamaban

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


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

2016-02-02 Thread Ramaseshan
Yep, This is true,
If I look at Fedora Gnome for example, which also ships all
these(browser,libre, gnome etc), the final DVD version is just about 1.2 GB.
That is what surprises me.


On Wednesday 03 February 2016 08:52 AM, Peter wrote:
> On 03/02/16 16:15, Ramaseshan S wrote:
>> While the minimal version is just 700M, what makes the minimal along with a
>> GUI about 4.3 GB.
> All the extra packages, libs, etc that are needed to support the GUI,
> plus the extra apps that are available to run in the GUI (such as
> LibreOffice, FireFox, etc).
>
>> Isint it too huge for an OS ?
> u, no?
>
>
> Peter
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

-- 
Cheers
--
S.Ramaseshan
Engineer
Fractalio Data Pvt Ltd
email : ramases...@fractalio.com
Web : www.fractalio.com

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


Re: [CentOS] Latest version of kate editor

2016-02-02 Thread Jonathan Billings
On Mon, Feb 01, 2016 at 01:22:44PM -0500, H wrote:
> I have installed the kate editor on Centos 6.7 but it seems to be a
> very old version, 3.3.4, installed as part of kdesdk. On Centos 7 I
> can simply run 'yum install kate' but, alas, not on Centos 6. 
> 
> What is the recommended way of updating kate on Centos 6?

If you're fully up to date with 'yum', then that's the most recent
version of 'kate' you are going to get from CentOS.

CentOS is not a bleeding-edge distribution that constantly keeps
packages up to date with the upstream projects.  If you want that, try
another distribution like Fedora.

The version of KDE in CentOS6 (which kate appears to be a part of) is
unlikely to get upgraded to the version in CentOS7.

There is a 3rd-party repository that might have an upgraded KDE:
http://www.trinitydesktop.org/about.php

(I found this on the list of 3rd party repos here:
https://wiki.centos.org/AdditionalResources/Repositories

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


Re: [CentOS-docs] Wiki Update - Aide Link

2016-02-02 Thread Mike Thompson
Thanks!

On 02/02/2016 08:40 AM, Manuel Wolfshant wrote:
> On 02/02/2016 04:27 PM, Mike Thompson wrote:
>> Hello All,
>>
>> My username is MikeThompson
>>
>> The link to configure Aide at the bottom of this page:
>> https://wiki.centos.org/HowTos/OS_Protection
>>
>> Is dead, and says its dead, however, the old link to
>> http://www.bofh-hunter.com/2008/04/10/centos-5-and-aide/ now redirects
>> to a malicious website.
>>
>> One of my less than savvy users got his windows machine infected there
>> last night.  I'm wondering if it makes sense to change the link to point
>> to one of the following guides which are very decent:
>>
>> http://www.server-world.info/en/note?os=CentOS_6=aide
>> http://www.server-world.info/en/note?os=CentOS_7=aide
>> https://highon.coffee/blog/security-harden-centos-7/
>>
>> Would be happy to make the change, but hopefully the malicious URL can
>> be taken down.
>>
> I've updated the page,
>
> Manuel
> ___
> CentOS-docs mailing list
> CentOS-docs@centos.org
> https://lists.centos.org/mailman/listinfo/centos-docs

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


Re: [CentOS-docs] Wiki Update - Aide Link

2016-02-02 Thread Manuel Wolfshant

On 02/02/2016 04:27 PM, Mike Thompson wrote:

Hello All,

My username is MikeThompson

The link to configure Aide at the bottom of this page:
https://wiki.centos.org/HowTos/OS_Protection

Is dead, and says its dead, however, the old link to
http://www.bofh-hunter.com/2008/04/10/centos-5-and-aide/ now redirects
to a malicious website.

One of my less than savvy users got his windows machine infected there
last night.  I'm wondering if it makes sense to change the link to point
to one of the following guides which are very decent:

http://www.server-world.info/en/note?os=CentOS_6=aide
http://www.server-world.info/en/note?os=CentOS_7=aide
https://highon.coffee/blog/security-harden-centos-7/

Would be happy to make the change, but hopefully the malicious URL can
be taken down.


I've updated the page,

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


[CentOS-docs] Wiki Update - Aide Link

2016-02-02 Thread Mike Thompson
Hello All,

My username is MikeThompson

The link to configure Aide at the bottom of this page:
https://wiki.centos.org/HowTos/OS_Protection

Is dead, and says its dead, however, the old link to
http://www.bofh-hunter.com/2008/04/10/centos-5-and-aide/ now redirects
to a malicious website.

One of my less than savvy users got his windows machine infected there
last night.  I'm wondering if it makes sense to change the link to point
to one of the following guides which are very decent:

http://www.server-world.info/en/note?os=CentOS_6=aide
http://www.server-world.info/en/note?os=CentOS_7=aide
https://highon.coffee/blog/security-harden-centos-7/

Would be happy to make the change, but hopefully the malicious URL can
be taken down.

Many thanks!
Mike
___
CentOS-docs mailing list
CentOS-docs@centos.org
https://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-virt] CentOS 6 Virt SIG Xen 4.6 packages available in centos-virt-xen-testing

2016-02-02 Thread Manuel Wolfshant

On 01/14/2016 06:57 PM, George Dunlap wrote:

As mentioned yesterday, Xen 4.6 packages are now available for
testing.  These also include an update to libvirt 1.3.0, in line with
what's available for CentOS 7.  Please test, particularly the upgrade
if you can, and report any problems here.

To upgrade:

yum update --enablerepo=centos-virt-xen-testing

To install from scratch:

* Install centos-release-xen from centos-extras

yum install centos-release-xen

* Update to get the new kernel:

yum update

* Install the Xen packages from the centos-virt-xen-testing repo:

yum install --enablerepo=centos-virt-xen-testing xen

Keep in mind that there is still a bug in the upstream CentOS
new-kernel script which for some people consistently fails to add an
"initird" line to the Xen boot stanza.  Check /boot/grub/grub.conf;
the Xen stanza should look something like this:

title CentOS (3.18.21-17.el6.x86_64)
 root (hd0,0)
 kernel /xen.gz dom0_mem=1024M,max:1024M cpuinfo com1=115200,8n1
console=com1,tty loglvl=all guest_loglvl=all
 module /vmlinuz-3.18.21-17.el6.x86_64 ro
root=/dev/mapper/VolGroup-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD
rd_LVM_LV=VolGroup/lv_swap SYSFONT=latarcyrheb-sun16 crashkernel=auto
rd_LVM_LV=VolGroup/lv_root  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb
quiet
 module /initramfs-3.18.21-17.el6.x86_64.img


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

Hello

I've attempted to upgrade today to xen 4.6 ( because of something 
which seems to be a reincarnation of 
http://lists.xen.org/archives/html/xen-devel/2014-01/msg02259.html ) and 
I noticed that the new xen-runtime package tries to bring in a whole 
bunch of other packages:



Installing for dependencies:
 atk x86_64 1.30.0-1.el6 base 195 k
 avahi-libs x86_64 0.6.25-15.el6 base 55 k
 cairo x86_64 1.8.8-6.el6_6 base 309 k
 cups-libs x86_64 1:1.4.2-72.el6 base 321 k
 fontconfig x86_64 2.8.0-5.el6 base 186 k
 freetype x86_64 2.3.11-15.el6_6.1 base 361 k
 gdk-pixbuf2 x86_64 2.24.1-6.el6_7 updates 501 k
 gtk2 x86_64 2.24.23-6.el6 base 3.2 M
 hicolor-icon-theme noarch 0.11-1.1.el6 base 40 k
 jasper-libs x86_64 1.900.1-16.el6_6.3 base 137 k
 libXcomposite x86_64 0.4.3-4.el6 base 20 k
 libXcursor x86_64 1.1.14-2.1.el6 base 28 k
 libXft x86_64 2.3.1-2.el6 base 55 k
 libXi x86_64 1.7.2-2.2.el6 base 37 k
 libXinerama x86_64 1.1.3-2.1.el6 base 13 k
 libXrandr x86_64 1.4.1-2.1.el6 base 23 k
 libXrender x86_64 0.9.8-2.1.el6 base 24 k
 libthai x86_64 0.1.12-3.el6 base 183 k
 libtiff x86_64 3.9.4-10.el6_5 base 343 k
 pango x86_64 1.28.1-10.el6 base 351 k


Is this really needed ?

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


Re: [CentOS] Latest version of kate editor

2016-02-02 Thread Lamar Owen

On 02/02/2016 09:28 AM, Jonathan Billings wrote:

CentOS is not a bleeding-edge distribution that constantly keeps
packages up to date with the upstream projects.  If you want that, try
another distribution like Fedora.


GNOME can get a rebase to a newer version, but KDE can't. this from 
a former KDE user who would love to go back to KDE but refuses to deal 
with the issues older versions have.


This is, of course, an upstream issue and not a CentOS one, and I know 
that so I now use GNOME, even though it would be nice to see parity 
in the allowing of a rebase of KDE like the one for GNOME.





There is a 3rd-party repository that might have an upgraded KDE:
http://www.trinitydesktop.org/about.php



Trinity Desktop (TDE), is a fork of KDE 3.x, and not updated from that.  
So in ways it is older, yet newer.


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


Re: [CentOS] In A UEFI World, "rm -rf /" Can Brick Your System

2016-02-02 Thread Tony Mountifield
In article <75d47fdc6a99f24f87a6465baf326d5018c50...@columba02.user.uu.se>,
Sorin Srbu  wrote:
> > -Original Message-
> > From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> > Behalf Of m.r...@5-cent.us
> > Sent: den 1 februari 2016 20:34
> > To: CentOS
> > Subject: [CentOS] In A UEFI World, "rm -rf /" Can Brick Your System
> > 
> > As a public service announcement, recursively removing all of your files
> > from / is no longer recommended. 
> 
> I'm not following, has it ever been recommended (on a working system)??
> 
> Or is this one of those ironic posts? 8-)

I think the point is that hitherto, if you kill a system with "rm -rf /",
you can still do a re-installation from scratch. If I understand correctly
what people are saying, killing the UEFI stuff stops you ever being able
to do a re-install on that box. Is that correct? Is there no way to do a
factory reset of the BIOS?

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-virt] When will CentOS 7.1 become available as an AWS AMI?

2016-02-02 Thread Johnny Hughes
On 01/28/2016 07:54 AM, Peter Weissbrod wrote:
> I am in need of some AWS instances of this version.
> 
>  
> 
> There are “community” instances of 7.1 but I would strongly prefer an
> official release from CentOS team over trusting my base image to an
> unknown publisher.
> 
> Is there any plan/projection of when CentOS will publish 7.1 to the AWS
> marketplace?

https://aws.amazon.com/marketplace/seller-profile?id=16cb8b03-256e-4dde-8f34-1b0f377efe89

CentOS 7 is the release.  There are point in time 'install collections',
like 7 (1406) (based on RHEL 7.0) .. 7 (1503) (based on RHEL 7.1), 7
(1511) (based on RHEL 7.2).

But these point releases, based on a point in time, are just a picture
of CentOS 7 at that exact point in time.  The only way we recommend
CentOS is all latest updates installed.  And no matter what version you
install, a yum update takes you to that version.  That is why we have
only one image listed.

A base 7.1 install would have several Critical security issues, and
updating to fix those issues brings you to 7.2.




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


[CentOS-virt] virtio not installing correctly

2016-02-02 Thread isdtor
I have converted a physical machine to kvm, following instructions on the 
proxmox wiki. So far so good. Now I'm attempting to convert the vm from ide to 
virtio following the instructions here, 
http://www.linux-kvm.org/page/Boot_from_virtio_block_device, with 
virtio-win-stable from Fedora.

The guest is running Windows XP. When the new hardware wizard popped up finding 
the RedHat VirtIO SCSI controller, I pointed it to the viostor/xp directory on 
the iso. It appears as if all files have been copied, viostor.sys to 
C:\Windows\system32\DRIVERS, the green progress bar goes all the way to the 
right, but it's been sitting there over night with no further progress.

There is a vioscsi directory on the iso, but it contains no drivers for XP.

>From a previous attempt, I know that if I reboot the vm now and try to enter 
>safe mode, it will hang after loading the agp driver.

Host OS is CentOS 6.7.

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


Re: [CentOS] Latest version of kate editor

2016-02-02 Thread H

On 02/02/2016 03:50 PM, Lamar Owen wrote:

On 02/02/2016 09:28 AM, Jonathan Billings wrote:

CentOS is not a bleeding-edge distribution that constantly keeps
packages up to date with the upstream projects.  If you want that, try
another distribution like Fedora.


GNOME can get a rebase to a newer version, but KDE can't. this 
from a former KDE user who would love to go back to KDE but refuses to 
deal with the issues older versions have.


This is, of course, an upstream issue and not a CentOS one, and I know 
that so I now use GNOME, even though it would be nice to see 
parity in the allowing of a rebase of KDE like the one for GNOME.





There is a 3rd-party repository that might have an upgraded KDE:
http://www.trinitydesktop.org/about.php



Trinity Desktop (TDE), is a fork of KDE 3.x, and not updated from 
that.  So in ways it is older, yet newer.


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos
What do people use as a programming editor on CentOS 6? My first 
impression of kate was favorable, not only did it support the usual 
programming and scripting languages but also markdown which I have 
recently discovered...

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


Re: [CentOS] NICs order

2016-02-02 Thread Gordon Messmer
On Mon, Feb 1, 2016 at 11:34 AM, Chris Adams  wrote:
>
> That's only necessary for things that are initialized in the initrd.
> Unless you are using network boot, the initrd won't have any of the
> network initialization, so rebuilding it is not necessary for changing
> network-related config (including udev rules).


Thanks for clarification.  I'd noticed that dracut will specifically
include those files, but haven't seen docs about when or how it's
used.  Given a couple of users who said things didn't work for them, I
thought rebuilding was the safest advice.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-virt] virtio not installing correctly

2016-02-02 Thread isdtor
isdtor writes:
>
> > The root certificates were updated since XP went out of support and
> > that may be the issue. I would look for any entries on how people have
> > fixed this in other cases.
>
> If that was the problem, driver installation wouldn't even start. But it 
> does, it just hangs towards the end.

I was able to beat it into submission with virtio-win-0.1.112.

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


Re: [CentOS-virt] CentOS 6 Virt SIG Xen 4.6 packages available in centos-virt-xen-testing

2016-02-02 Thread George Dunlap
On Tue, Feb 2, 2016 at 2:47 PM, Manuel Wolfshant
 wrote:
> On 01/14/2016 06:57 PM, George Dunlap wrote:
>>
>> As mentioned yesterday, Xen 4.6 packages are now available for
>> testing.  These also include an update to libvirt 1.3.0, in line with
>> what's available for CentOS 7.  Please test, particularly the upgrade
>> if you can, and report any problems here.
>>
>> To upgrade:
>>
>> yum update --enablerepo=centos-virt-xen-testing
>>
>> To install from scratch:
>>
>> * Install centos-release-xen from centos-extras
>>
>> yum install centos-release-xen
>>
>> * Update to get the new kernel:
>>
>> yum update
>>
>> * Install the Xen packages from the centos-virt-xen-testing repo:
>>
>> yum install --enablerepo=centos-virt-xen-testing xen
>>
>> Keep in mind that there is still a bug in the upstream CentOS
>> new-kernel script which for some people consistently fails to add an
>> "initird" line to the Xen boot stanza.  Check /boot/grub/grub.conf;
>> the Xen stanza should look something like this:
>>
>> title CentOS (3.18.21-17.el6.x86_64)
>>  root (hd0,0)
>>  kernel /xen.gz dom0_mem=1024M,max:1024M cpuinfo com1=115200,8n1
>> console=com1,tty loglvl=all guest_loglvl=all
>>  module /vmlinuz-3.18.21-17.el6.x86_64 ro
>> root=/dev/mapper/VolGroup-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD
>> rd_LVM_LV=VolGroup/lv_swap SYSFONT=latarcyrheb-sun16 crashkernel=auto
>> rd_LVM_LV=VolGroup/lv_root  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb
>> quiet
>>  module /initramfs-3.18.21-17.el6.x86_64.img
>>
>>
>>   -George
>> ___
>> CentOS-virt mailing list
>> CentOS-virt@centos.org
>> https://lists.centos.org/mailman/listinfo/centos-virt
>
> Hello
>
> I've attempted to upgrade today to xen 4.6 ( because of something which
> seems to be a reincarnation of
> http://lists.xen.org/archives/html/xen-devel/2014-01/msg02259.html ) and I
> noticed that the new xen-runtime package tries to bring in a whole bunch of
> other packages:

Those kinds of dependencies are automatically generated by rpmbuild
based on the linkages of the actual libraries.

I agree it would be nice to minimize the dependencies; but that would
take someone sitting down and figuring out which features / components
/ libraries / whatever were causing the dependencies, and either
disabling them or moving them to a separate package.  I don't have
time to do that at the moment; but I would be happy to help someone
else do so, and review pull requests to the xen package repos at
https://github.com/CentOS-virt7/xen.

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


Re: [CentOS] Latest version of kate editor

2016-02-02 Thread H

On 02/01/2016 08:20 PM, Yamaban wrote:

On Mon, 1 Feb 2016 19:22, H  wrote:

I have installed the kate editor on Centos 6.7 but it seems to be a 
very old version, 3.3.4, installed as part of kdesdk. On Centos 7 I 
can simply run 'yum install kate' but, alas, not on Centos 6.


What is the recommended way of updating kate on Centos 6?

Thank you.


First you find out from wich package (rpm) your kate is.

either you try to as yum: "yum search kate",

or you do the full monty:
locate the binary "type kate", usually /usr/bin/kate,
then you ask rpm from which package this file comes:
"rpm -qf /usr/bin/kate"
take the main package name (the part before the version numbers)
and feed it to yum:

yum update [kate-package-name]

YMMV, depening on what repos you have enabled or not.

You can search most of what is available via pkgs.org,
for kate, for example

http://pkgs.org/search/kate

then select "Centos 6" (maybe you have to scroll down for that)

The EPEL repo seems to have version 0.3.8 of libkate at least.

Have a nice week.
 - Yamaban
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos
I do have an old version installed and only very old versions seem to be 
available for CentOS, the current version of kate seems to be 15.12.1.

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


Re: [CentOS-virt] virtio not installing correctly

2016-02-02 Thread Zoltan Frombach

Hi,

I did many physical (Windows) to virtual (kvm) conversions before. The 
instructions in general are good here: 
http://www.linux-kvm.org/page/Boot_from_virtio_block_device , so yes, 
you must add a dummy ("fake") 2nd disk drive to the guest first, boot up 
the guest, install the virtio drivers to that 2nd virtual HDD and after 
that you can shutdown the guest, remove the dummy drive from the guest's 
config and switch the original 1st disk's setting from IDE to virtio. 
The whole reason for adding a 2nd dummy disk is the ability to install 
the virtio driver inside Windows while it is booted up from an IDE disk.


I ran into one gotcha recently when I was converting an old Windows 7 
image to KVM though: the virtio drivers just did not work in Windows at 
first, because Windows could not verify the signatures of the virtio 
drivers and it was unwilling to use them. I had to fully update those 
old Windows 7 systems via the Windows Update service. After that Windows 
7 was able to recognize the signatures on the latest virtio drivers and 
started to use them. I believe that in an old Windows which was not 
updated for years, the root certificates are outdated and virtio drivers 
cannot be verified.


I hope this helps.

Z.

On 2/2/2016 11:39 AM, isdtor wrote:

I have converted a physical machine to kvm, following instructions on the 
proxmox wiki. So far so good. Now I'm attempting to convert the vm from ide to 
virtio following the instructions here, 
http://www.linux-kvm.org/page/Boot_from_virtio_block_device, with 
virtio-win-stable from Fedora.

The guest is running Windows XP. When the new hardware wizard popped up finding 
the RedHat VirtIO SCSI controller, I pointed it to the viostor/xp directory on 
the iso. It appears as if all files have been copied, viostor.sys to 
C:\Windows\system32\DRIVERS, the green progress bar goes all the way to the 
right, but it's been sitting there over night with no further progress.

There is a vioscsi directory on the iso, but it contains no drivers for XP.

>From a previous attempt, I know that if I reboot the vm now and try to enter 
safe mode, it will hang after loading the agp driver.

Host OS is CentOS 6.7.

___
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


Re: [CentOS-virt] virtio not installing correctly

2016-02-02 Thread isdtor
Zoltan Frombach writes:
> Hi,
> 
> I did many physical (Windows) to virtual (kvm) conversions before. The
> instructions in general are good here:
> http://www.linux-kvm.org/page/Boot_from_virtio_block_device , so yes, you
> must add a dummy ("fake") 2nd disk drive to the guest first, boot up the
> guest, install the virtio drivers to that 2nd virtual HDD and after that you
> can shutdown the guest, remove the dummy drive from the guest's config and
> switch the original 1st disk's setting from IDE to virtio. The whole reason
> for adding a 2nd dummy disk is the ability to install the virtio driver
> inside Windows while it is booted up from an IDE disk.

Yes, I understand the process and am following it. But XP is throwing a spanner 
in the works here by not completing the viostor installation process. Should I 
maybe try with latest rather than stable (.112 vs. .102)?

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


Re: [CentOS] Latest version of kate editor

2016-02-02 Thread H

On 02/02/2016 12:56 AM, Mark LaPierre wrote:

On 02/01/16 14:20, Yamaban wrote:

On Mon, 1 Feb 2016 19:22, H  wrote:


I have installed the kate editor on Centos 6.7 but it seems to be a
very old version, 3.3.4, installed as part of kdesdk. On Centos 7 I
can simply run 'yum install kate' but, alas, not on Centos 6.

What is the recommended way of updating kate on Centos 6?

Thank you.

First you find out from wich package (rpm) your kate is.

either you try to as yum: "yum search kate",

or you do the full monty:
locate the binary "type kate", usually /usr/bin/kate,
then you ask rpm from which package this file comes:
"rpm -qf /usr/bin/kate"
take the main package name (the part before the version numbers)
and feed it to yum:

yum update [kate-package-name]

YMMV, depening on what repos you have enabled or not.

You can search most of what is available via pkgs.org,
for kate, for example

http://pkgs.org/search/kate

then select "Centos 6" (maybe you have to scroll down for that)

The EPEL repo seems to have version 0.3.8 of libkate at least.

Have a nice week.
  - Yamaban
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


yum install kdesdk-4.3.4-9.el6.x86_64

That is the version I installed previously and which contains a very old 
version of kate.


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


Re: [CentOS-virt] virtio not installing correctly

2016-02-02 Thread Zoltan Frombach


On 2/2/2016 12:05 PM, isdtor wrote:

Zoltan Frombach writes:

Hi,

I did many physical (Windows) to virtual (kvm) conversions before. The
instructions in general are good here:
http://www.linux-kvm.org/page/Boot_from_virtio_block_device , so yes, you
must add a dummy ("fake") 2nd disk drive to the guest first, boot up the
guest, install the virtio drivers to that 2nd virtual HDD and after that you
can shutdown the guest, remove the dummy drive from the guest's config and
switch the original 1st disk's setting from IDE to virtio. The whole reason
for adding a 2nd dummy disk is the ability to install the virtio driver
inside Windows while it is booted up from an IDE disk.

Yes, I understand the process and am following it. But XP is throwing a spanner 
in the works here by not completing the viostor installation process. Should I 
maybe try with latest rather than stable (.112 vs. .102)?


I'm not sure if that is going to make any difference. I use the latest 
myself ( .112 )


Are you sure that the spinning wheel is not caused by the driver driver 
signature verification? Maybe try to upgrade the "root certificates" via 
Windows Updates first. Or try to disable driver signature checking 
temporarily:

https://support.hidemyass.com/hc/en-us/articles/202723596-How-to-disable-Driver-Signing-check-on-Windows
I definitely had this driver signature problem with an old Windows 7 a 
couple of weeks ago. In Windows 7, I didn't get a forever spinning 
wheel, instead it popped up an error message.


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


Re: [CentOS-virt] virtio not installing correctly

2016-02-02 Thread isdtor
 
> I'm not sure if that is going to make any difference. I use the latest
> myself ( .112 )
> 
> Are you sure that the spinning wheel is not caused by the driver driver
> signature verification? Maybe try to upgrade the "root certificates" via

It's XP, not 7. Driver installation commences (pages flying from folder to 
folder animation), and the machine had all the latest updates installed by the 
time XP went out of support.

I think I will try the latest virtio. Pretty much stuck right now.

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


Re: [CentOS-virt] virtio not installing correctly

2016-02-02 Thread Stephen John Smoogen
On 2 February 2016 at 05:16, isdtor  wrote:
>
>> I'm not sure if that is going to make any difference. I use the latest
>> myself ( .112 )
>>
>> Are you sure that the spinning wheel is not caused by the driver driver
>> signature verification? Maybe try to upgrade the "root certificates" via
>
> It's XP, not 7. Driver installation commences (pages flying from folder to 
> folder animation), and the machine had all the latest updates installed by 
> the time XP went out of support.

The root certificates were updated since XP went out of support and
that may be the issue. I would look for any entries on how people have
fixed this in other cases.

>
> I think I will try the latest virtio. Pretty much stuck right now.
>
> ___
> CentOS-virt mailing list
> CentOS-virt@centos.org
> https://lists.centos.org/mailman/listinfo/centos-virt



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


Re: [CentOS] Latest version of kate editor

2016-02-02 Thread Frank Cox
On Tue, 2 Feb 2016 18:02:40 +0100
H wrote:

> What do people use as a programming editor on CentOS 6? 

I personally use Geany and/or vim, depending on what I'm doing and how I'm 
doing it.

You can find pre-compiled rpms for the latest version of geany for Centos 6 and 
7 on my website if you want them.  (The Centos 6 i386 rpm is two versions 
behind but the x86_64 version is up to date.  I don't have easy access to an 
i386 Centos 6 machine any more to build an i386 rpm, but you can easily do it 
yourself by compiling the src rpm that's there if you need it.)

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


Re: [CentOS] In A UEFI World, "rm -rf /" Can Brick Your System

2016-02-02 Thread Frank Cox
On Tue, 2 Feb 2016 10:18:09 + (UTC)
Tony Mountifield wrote:

>  killing the UEFI stuff stops you ever being able to do a re-install on that 
> box. Is that correct?

Apparently so.

> Is there no way to do a  factory reset of the BIOS?

Apparently not.

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


Re: [CentOS] Latest version of kate editor

2016-02-02 Thread Jonathan Billings
On Tue, Feb 02, 2016 at 06:02:40PM +0100, H wrote:
> What do people use as a programming editor on CentOS 6? My first impression
> of kate was favorable, not only did it support the usual programming and
> scripting languages but also markdown which I have recently discovered...

I don't want to spur an editor war, but I use emacs for programming
and vim for quick edits, particularly on remote systems or inside a
tmux shell.


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


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

2016-02-02 Thread Eero Volotinen
redhat (centos) ships lot's of stuff. you don't really need to install
*everything* unless you have very specific needs..

2016-02-03 8:15 GMT+02:00 Ramaseshan :

> Yep, This is true,
> If I look at Fedora Gnome for example, which also ships all
> these(browser,libre, gnome etc), the final DVD version is just about 1.2
> GB.
> That is what surprises me.
>
>
> On Wednesday 03 February 2016 08:52 AM, Peter wrote:
> > On 03/02/16 16:15, Ramaseshan S wrote:
> >> While the minimal version is just 700M, what makes the minimal along
> with a
> >> GUI about 4.3 GB.
> > All the extra packages, libs, etc that are needed to support the GUI,
> > plus the extra apps that are available to run in the GUI (such as
> > LibreOffice, FireFox, etc).
> >
> >> Isint it too huge for an OS ?
> > u, no?
> >
> >
> > Peter
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
>
> --
> Cheers
> --
> S.Ramaseshan
> Engineer
> Fractalio Data Pvt Ltd
> email : ramases...@fractalio.com
> Web : www.fractalio.com
>
> ___
> 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] I am not understanding the size of the iso

2016-02-02 Thread John R Pierce

On 2/2/2016 10:29 PM, Eero Volotinen wrote:

redhat (centos) ships lot's of stuff. you don't really need to install
*everything*  unless you have very specific needs..



I pretty much always install the 'minimal' ISO then install the specific 
packages I need with yum.


lots of reasons, not the least, yum updates run faster when it doesn't 
have to apply updates to 1000s of packages you're never using.




--
john r pierce, recycling bits in santa cruz

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


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

2016-02-02 Thread Peter
On 03/02/16 16:15, Ramaseshan S wrote:
> While the minimal version is just 700M, what makes the minimal along with a
> GUI about 4.3 GB.

All the extra packages, libs, etc that are needed to support the GUI,
plus the extra apps that are available to run in the GUI (such as
LibreOffice, FireFox, etc).

> Isint it too huge for an OS ?

u, no?


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


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

2016-02-02 Thread Digimer
On 02/02/16 10:15 PM, Ramaseshan S wrote:
> I suppose, CentOS 7 ships with DVD and minimal version.
> 
> While the minimal version is just 700M, what makes the minimal along with a
> GUI about 4.3 GB.
> 
> Isint it too huge for an OS ?

Remember that it is based on upstream. Anyway, there is a LOT of
available software that various users might want, so that is where the
space comes from. Minimal is just that; the minimum needed to get a
working install.

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How bad is "rm -rf /" ?

2016-02-02 Thread Gordon Messmer

On 02/02/2016 04:57 PM, Valeri Galtsev wrote:

Suppose I executed the command
rm -rf /
on my CentOS 7 box. After it did what it could, how much damage will be
done to what I have (or _had_ rather ;-) on my hard drive?


In your experiment, rm processed /boot and /data first, and then /proc, 
where it hung removing one file.  There are two important details to 
consider.  First, that behavior doesn't appear to be standard.  If I run 
"rm -rf /proc" on other kernels, rm doesn't hang.  On systems running 
those kernels, rm will remove all of the files in the filesystem 
hierarchy.  Second, on systems running that kernel, no more data was 
removed because readdir('/') returned /proc before the directories that 
rm didn't process.



and finally things started flying away, then the box locked with a bunch of
rm: cannot remove "/proc/sys/fs...": permission denied


The box did not "lock".  Press Ctrl+c on the terminal, and rm will 
exit.  What happened is simply that rm tried to unlink a file in /proc, 
and the syscall didn't return.  I'm not sure why that happens, but it 
doesn't appear to be a feature.



OK, now: how about stuff that in / comes alphabetically before /dev?


As I told you before, rm doesn't process directory trees in alphabetical 
order.



First, symlink /bin (pointing to /usr/bin) stayed intact! This is not what
I expected, but I'm sure some clever person will explain that.


I did, in the previous thread.


Second, I
have two different partitions mounted as /boot and /data. Both of them are
gone (though their mount points stayed intact).


Directory entry order is in unpredictable.  It's not possible to unlink 
a directory where a filesystem is mounted, which is why the mount point 
is intact, but its content is gone.



By no means I am considering myself an expert, but what I see is pretty
much what I expected. Namely, the kernel talks to hard drive via block
device (or raw device whenever applicable).


That is incorrect, and a much simpler test can verify that.  First, rm 
-rf /dev/*, then remove any file, or write any file.  Reboot. Your 
changes will have been saved, demonstrating that /dev is not required 
after a filesystem is mounted.


Once you've completed that experiment, you can simulate the effect of rm 
-rf on different kernels by unmounting /proc and then issuing "rm -rfv 
--no-preserve-root /".  When it completes, your filesystem will be empty 
except for the handful of directories that are used for mount points.



Therefore, once resembling
device is deleted from /dev, there will be no more changes to the content
on hard drive platters. So, all in all "rm -rf /" is much less disatrous
than it sounds. It only obliterates stuff that every sysadmin can
re-create (like /boot or /bin bacl then when it was not symlink to
/usr/bin). So, happy "rm -rf /"-ing everybody!


No.

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


Re: [CentOS] Measuring memory bandwidth utilization

2016-02-02 Thread Gordon Messmer

On 02/02/2016 05:34 PM, Benjamin Smith wrote:

We've ruled out IOPs for the disks (~ 20%)


How did you measure that?  What filesystem are you using?  What is the 
disk / array configuration?

Which database?

If you run "iostat -x 2" what does a representative summary look like?


  and raw CPU load (top shows perhaps
1/2 of cores busy, but the system slows to a crawl.


Define "busy"?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Measuring memory bandwidth utilization

2016-02-02 Thread Stuart Barkley
On Tue, 2 Feb 2016 at 20:34 -, Benjamin Smith wrote:

> Any idea?

Wild guessing...How old a system?  ~5 year old Nehalem?  If so try:

echo 0 > /proc/sys/vm/zone_reclaim_mode

For some memory performance diagnosing try 'sar':

sar -B 10

There are lots of other sar options which might be useful.

Stuart
-- 
I've never been lost; I was once bewildered for three days, but never lost!
--  Daniel Boone
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


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

2016-02-02 Thread Ramaseshan S
I suppose, CentOS 7 ships with DVD and minimal version.

While the minimal version is just 700M, what makes the minimal along with a
GUI about 4.3 GB.

Isint it too huge for an OS ?


-- 
Cheers
--
S.Ramaseshan
Engineer
fractalio.com
ramases...@fractalio.com
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-virt] virtio not installing correctly

2016-02-02 Thread isdtor

> The root certificates were updated since XP went out of support and
> that may be the issue. I would look for any entries on how people have
> fixed this in other cases.
 
If that was the problem, driver installation wouldn't even start. But it does, 
it just hangs towards the end.

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