Re: [CentOS] Mementos

2021-09-01 Thread Dave Stevens via CentOS
On Tue, 31 Aug 2021 19:44:52 -0500
Chris Adams  wrote:

>   I wonder if it would install in a modern VM?

me too but not interested enough to do it. Thank you for taking on this
important work!

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


Re: [CentOS] Mementos

2021-08-31 Thread Dave Stevens via CentOS
On Tue, 31 Aug 2021 20:06:40 -0400
mark  wrote:

> I said RH 5.2

hmm. I have a 4.2, any rarity value to these?

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


Re: [CentOS] Recommendations for webmail client on EL8

2021-03-01 Thread Dave Stevens
On Mon, 1 Mar 2021 10:56:11 -0600
Valeri Galtsev  wrote:

> PS Not everything that paces fast with new "releases" and which
> releases security patches even more often (yes, I look at you,
> Mozilla firefox and thunderbird) is "pretty much dead". 

and claws for me or roundcube works fine.

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


Re: [CentOS] I'm looking forward to the future of CentOS Stream

2020-12-13 Thread Dave Stevens
On Sun, 13 Dec 2020 21:05:42 +0100
Rainer Duffner  wrote:

> It’s also not often the case that you can split this kind of work
> into a thousand work-packages and have everybody just work 1/2 hour a
> day on it.

not like Debian for instance

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


Re: [CentOS] HW update. Fedora 30 to Centos?

2019-10-26 Thread Dave Pawson
Thanks Stephen, that was my logic, but only every year or two.

Regards

On Sat, 26 Oct 2019 at 17:10, Stephen John Smoogen  wrote:

> On Sat, 26 Oct 2019 at 10:14, Matthew Miller  wrote:
> >
> > On Thu, Oct 24, 2019 at 03:53:49PM +0100, Dave Pawson wrote:
> > > Not all that bothered about being 'up to the minute', and after
> > > 20+ Fedora installs it does get to be a drag...
> >
> > You should be just fine with CentOS for most cases. Check out the new
> Fedora
> > Toolbox command ('toolbox') — this makes it super-easy to launch and
> > maintain "pet" containers using podman, and you could use this to
> provide a
> > Fedora working environment for when you need newer stuff. (Or conversely
> > people running a Fedora OS can do the opposite with a CentOS container.)
> >
> > One thing I'm curious about, though -- you mention installs getting to
> be a
> > drag. Have you tried the update process in the last few releases? It's
> > basically like applying a big set of updates, with no reinstall required.
>
> It is good to do re-installs regularly to avoid problems like whatever
> file-system in Fedora N does not work with containers (or some other
> new feature).. but the Fedora N+1 filesystem does. You can only get
> that availability by reinstalling or creating a new file-system which
> you put stuff into... so in many ways a fresh install is usually good
> to do every 4-6 releases so that you aren't debugging 'why doesn't
> this new utility work'
>
>
> --
> Stephen J Smoogen.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] HW update. Fedora 30 to Centos?

2019-10-26 Thread Dave Pawson
On Sat, 26 Oct 2019 at 15:14, Matthew Miller  wrote:

>
>
> One thing I'm curious about, though -- you mention installs getting to be a
> drag. Have you tried the update process in the last few releases? It's
> basically like applying a big set of updates, with no reinstall required.


Yes, though I do a re-install every few updates, to spring clean or update
hardware.

Dave


>
> --
> Matthew Miller
> 
> Fedora Project Leader
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 8 & AMD hardware?

2019-10-25 Thread Dave Pawson
On Fri, 25 Oct 2019 at 11:05, Ljubomir Ljubojevic  wrote:
> > Does Centos repo's hold these drivers or do I download after
> > the install please?
>
> CentOS 8 is bassed on Fedora 28. It has open source radeon version in
> kernel. If should recognise it and give default usability until you
> download and install AND's driver.

Thanks for that. Useful to have!

regards


> (Love is in the Air)
> PL Computers
> Serbia, Europe
>
> StarOS, Mikrotik and CentOS/RHEL/Linux consultant



-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 8 & AMD hardware?

2019-10-25 Thread Dave Pawson
Putting together a system build, AMD based.
Ryzen 5 CPU on X570 chipset with Radeon RX480
GPU.
Guessing this will be supported by Centos OK?
(Unless you know different! :-)  )

https://www.amd.com/en/support/graphics/radeon-400-series/radeon-rx-400-series/radeon-rx-480
  Shows driver support.

Does Centos repo's hold these drivers or do I download after
the install please?


TiA
-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] HW update. Fedora 30 to Centos?

2019-10-24 Thread Dave Pawson
Thanks Arnaud

I'm looking at AMD X570 chipset and RX480 graphics (home build).
  Nice to know there were no shocks.

regards

On Thu, 24 Oct 2019 at 16:20, Arnaud Gelly  wrote:
>
> Hello,
>
>
> I recently switch from Fedora to CentOS for my work laptop.
>
> 99% of the time it's the same. Few programs can be missing by default or
> old version like for my professional activity : wireshark, keepassXC,
> linphone, sipcalc, etc..
>
> But with a bit of compilation inside a docker (to avoid installing dev libs
> on the OS) or AppImage/FlatPak/Snap you can run everything.
>
> Some default parameters on gnome are different too, just a question of
> configuration.
>
>
> Happy with my CentOS on my laptop so far (hp envy). Much more stable. Never
> had a crash after hibernate/back to life or external screen not discovered
> for no (good) reason.
>
>
> Regards,
> --
> Arnaud
>
>
> On Thu, 24 Oct 2019 at 16:54, Dave Pawson  wrote:
>
> > Due hardware update.
> >   Many years on Fedora, would like to swap out
> > to AMD motherboard( x570) and graphics (RX480)
> >
> > I'm led to believe that Fedora Linux is too 'new' for Centos.
> >
> > Question for those with experience of both, what will I miss
> > on Centos wrt Fedora?
> >
> > Not all that bothered about being 'up to the minute', and after
> > 20+ Fedora installs it does get to be a drag...
> >
> > Has anyone here any 'real' drawbacks please?
> >
> > I'm not a power user, not a games player, just fancy
> > a change to AMD hardware
> >
> > regards
> >
> > --
> > Dave Pawson
> > XSLT XSL-FO FAQ.
> > Docbook FAQ.
> > ___
> > 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



-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] HW update. Fedora 30 to Centos?

2019-10-24 Thread Dave Pawson
Due hardware update.
  Many years on Fedora, would like to swap out
to AMD motherboard( x570) and graphics (RX480)

I'm led to believe that Fedora Linux is too 'new' for Centos.

Question for those with experience of both, what will I miss
on Centos wrt Fedora?

Not all that bothered about being 'up to the minute', and after
20+ Fedora installs it does get to be a drag...

Has anyone here any 'real' drawbacks please?

I'm not a power user, not a games player, just fancy
a change to AMD hardware

regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] 32-bit CentOS

2019-07-09 Thread Dave Close
It appears that CentOS 7 was the last one with a 32-bit version. I'm
trying to install it on an older laptop and having some trouble. I have
CentOS-7-i386-Everything-1810.iso and have verified it. Using either dd
or mediawriter to put a copy on a 16 GB thumb drive seems to work. But
then the laptop reports, "no boot image found". Note that the first 32 KB
of the iso is all zeros, meaning that there is no MBR or partition table
included.

According to the 0_README.txt on the CentOS mirrors, the Everything ISO,
"contains the complete set of packages for  CentOS Linux 7. It can be 
used for installing or populating a local mirror. This image needs a
16GB USB flash drive as it is too large for DVD isos... You can burn
these images to a DVD or 'dd' them to a USB flash drive. After the boot
media has been prepared, boot the computer off the boot media."

Does anyone know what I don't understand about this procedure?
-- 
 Dave Close, Compata, Irvine CA   +1 714 434 7359
   d...@compata.com  dhcl...@alumni.caltech.edu
  "Fairness is a concept that was invented so kids and idiots could
   participate in debates." --Dogbert


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


[CentOS] can XFS filesystem recover rm'ed files?

2019-01-07 Thread Dave Burns
Yes, I rm'ed the wrong directory. The disk has not been written to since,
now mounted ro. Is it possible to recover the files without doing forensics
on the whole partition? I know the UID and path. XFS is supposed to be
pretty amazing, can I get it to do this?

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


Re: [CentOS] [OT] Where to buy S/MIME ??

2018-11-27 Thread Dave Stevens
On Wed, 28 Nov 2018 00:54:12 +0100
Rainer Duffner  wrote:

> It’s of course a free country

haven't heard that for quite a while...

d


-- 
In modern fantasy (literary or governmental), killing people is the
usual solution to the so-called war between good and evil. My books are
not conceived in terms of such a war, and offer no simple answers to
simplistic questions.

- Ursula Le Guin
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Which is better? Microsoft Exchange 2016 or Linux-based SMTP Servers?

2018-07-21 Thread Dave Stevens
On Sat, 21 Jul 2018 20:41:40 -0700
Keith Keller  wrote:

> On 2018-07-22, Valeri Galtsev  wrote:
> >
> > And on top of all: MS Windows is the only systems I know of whose
> > vendor tells you, it is not safe to run without 3rd party software
> > (antivirus).  
> 
> AFAIK (my son runs Windows, to my shame) Windows now comes bundled
> with antivirus software.  I have no idea if it actually works or not.

Yes, isn't it blatant? MS makes defective systems that attract
malicious software (viruses) then claims its anti-virus SW is an extra
added attraction. No doubt they monetize it somehow.Too baroque for me.

The apt cache description of xbill (qv) is just right: 

"Ever get the feeling that nothing is going right?  You're a sysadmin,
and someone's trying to destroy your computers.  The little people
running around the screen are trying to infect your computers with
Wingdows [TM], a virus cleverly designed to resemble a popular
operating system.  Your objective is to click the mouse on them, ending
their potential threat. If one of the people reaches a computer, it
will attempt to replace your operating system with the virus it
carries. It will then attempt to run off the screen with your vital
software."

Dave

> 
> --keith
> 

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


Re: [CentOS] Which is better? Microsoft Exchange 2016 or Linux-based SMTP Servers?

2018-07-20 Thread Dave Stevens
On Thu, 19 Jul 2018 09:57:22 -0500
Valeri Galtsev  wrote:

> 
> As far as google anything goes, not everybody volunteers one's 
> information into paws of google (and quite likely one or more of 3 
> letter agencies collecting information that way). I know (call it 
> educated guess) that about 70% of messages I send are ending up in 
> google databases whether I want it or not. Someone said quite some
> time ago: you don't need to recruit spies anymore, just roll out
> "free" services, and information will trickle to you. I am old enough
> to know what collection of information on everybody leads to (Hitler
> Germany, Stalin Russia, ...), but I also know that the worst lesson
> of history is: people do not learn lessons of history. So, I do the
> best I can do: roll out services people I work for may need, and
> avoid by any means advertising google whatever myself, I just keep
> neutral when that surfaces in discussions with my people.
> 

it's what Bertolt Brecht said, "Not everyone who shows you their teeth
is smiling."
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Replacement web server time - catalog CPAN and PEAR installs

2018-06-28 Thread Dave Stevens
On Thu, 28 Jun 2018 20:16:27 +
"Philipoff, Andrew"  wrote:

> Try running "pear list -a > pear_list.txt" to get a list of install
> PEAR modules.
> 
> Andrew

thanks Andrew, very handy!

d


-- 
In modern fantasy (literary or governmental), killing people is the
usual solution to the so-called war between good and evil. My books are
not conceived in terms of such a war, and offer no simple answers to
simplistic questions.

- Ursula Le Guin
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Server disposal

2018-06-22 Thread Dave Stevens
On Fri, 22 Jun 2018 13:49:12 -0700
Kenneth Porter  wrote:

> Can anyone recommend a mailing list or other resource for finding a
> home for old server hardware? I've got a growing bone pile of retired
> Dell and Supermicro rack servers. I've stripped the drives and memory
> but hate to see the other old parts go to waste, like old RAID
> controllers and other proprietary parts.

do you have a parts list?

d

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



-- 
In modern fantasy (literary or governmental), killing people is the
usual solution to the so-called war between good and evil. My books are
not conceived in terms of such a war, and offer no simple answers to
simplistic questions.

- Ursula Le Guin
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Passwords in plain text

2018-06-15 Thread Dave Stevens
On Fri, 15 Jun 2018 17:44:47 -0500
Johnny Hughes  wrote:

> WRT mailing the password in clear text .. how else would it mail it?
> 
> Mailman does not store any kind of encryption keys for email, and
> frankly, most people don't know how to use encrypted email.  This list
> probably has a (much) higher percentage of people who would know how
> to use encrypted mail (ie, Linux users .. who are more computer
> literate than the average person).  But, I don't think mailman has
> sending administrative mails to users encrypted as an option.
> 
> WRT this issue .. several hundred gmail accounts (and few other
> accounts) were disabled at a specific time today.  We don't yet know
> exactly why this happened and before we mass reenable the accounts, we
> need to make sure it is not going to happen again.
> 
> Since so many of the mails are gmail.com  accounts, this has to be
> something that gmail did today at 1530 GMT (when all the accounts were
> disabled) and the mails were sent).
> 
> We will try to figure out exactly what happened and get everything
> back to normal as soon as we can.

see here:
https://investorplace.com/2016/09/gmail-down-outage-googl-goog-stock/

d

> 
> Thanks,
> Johnny Hughes
> 
> On 06/15/2018 02:32 PM, rebecca coleman wrote:
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS Atomic and OpsWorks?

2017-11-20 Thread Dave Johansen
Has anyone used CentOS Atomic with OpsWorks? My searches on the internet
haven't turned anything up, so I wanted to see if there was any
experience/advice on here.
Thanks,
Dave
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] What replaces the "grub" command

2017-08-08 Thread Dave Cross
On 8 August 2017 at 10:56, Scott Robbins  wrote:
> On Tue, Aug 08, 2017 at 09:01:30AM +0100, Dave Cross wrote:
>> I recently had a failing disk replaced in my colo server. The server
>> is running Centos 7.3.
>>
>> After the replacement, I was following these instructions to rebuild
>> the RAID array that the disk was part of.
>>
>> https://help.1and1.co.uk/servers-c40665/dedicated-server-linux-c40577/rescue-and-recovery-c40581/rebuild-the-software-raid-array-after-a-drive-replacement-a729756.html
>>
>> Everything went fine until I reached the final section ("Grub Setup").
>> This section talks about running a command line program called "grub"
>> to change the Grub configuration. And that program doesn't seem to be
>> installed on this server.
>>
>
> grub2 install /dev/sda
> grub2 install /dev/sdb
>
> should do it, assuming the two actual physical disks are seen as
> /dev/sda and /dev/sdb

Thanks. That's what my independent research was showing me too.

I assume it's already installed to /dev/sda (as it was sdb which was
recently replaced and the system is rebooting quite happily). Is there
a command that shows which disks already have Grub2 installed?

Dave...

-- 
Dave Cross :: d...@dave.org.uk
http://dave.org.uk/
@davorg
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] What replaces the "grub" command

2017-08-08 Thread Dave Cross
I recently had a failing disk replaced in my colo server. The server
is running Centos 7.3.

After the replacement, I was following these instructions to rebuild
the RAID array that the disk was part of.

https://help.1and1.co.uk/servers-c40665/dedicated-server-linux-c40577/rescue-and-recovery-c40581/rebuild-the-software-raid-array-after-a-drive-replacement-a729756.html

Everything went fine until I reached the final section ("Grub Setup").
This section talks about running a command line program called "grub"
to change the Grub configuration. And that program doesn't seem to be
installed on this server.

I admit that my knowledge of Grub is somewhat lacking. I know that
Centos 7 uses Grub2 rather than the original Grub, but I don't know
what replaced the "grub" command (or perhaps nothing replaced it and I
just need to install a missing RPM).

Any advice would be gratefully received.

Thanks,

Dave...

-- 
Dave Cross :: d...@dave.org.uk
http://dave.org.uk/
@davorg
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] why would ls, while or ci use NIS?

2017-06-21 Thread Dave Burns
Thanks, that makes sense.
Dave

On Wed, Jun 21, 2017 at 10:27 AM, Gordon Messmer 
wrote:

> If you have NIS configured, it'll be used by anything that needs to map a
> uid or gid number to a name, or anything that needs a list of groups for
> users, among other things.
>
> That means (IIRC) that having a crontab implies a NIS lookup, because
> creating a new session for your user needs to fetch supplementary groups
> from NIS (even for root).
>
> 'ls -l' might also do lookups to resolve the uid/gid of your local files.
> "local files" does not imply that there is no need for YP.
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
This email is:[ ] request action  [ ] request info   [x] fyi[ ]
social
Response needed:  [ ] yes  [x] up to you  [ ] no
Time-sensitive:   [ ] immediate[ ] soon   [x] none
http://www.43folders.com/2005/09/19/writing-sensible-email-messages
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] why would ls, while or ci use NIS?

2017-06-21 Thread Dave Burns
I have an entry in root's crontab:

#ls -1 /etc/RCS|sed "s~\(.*\),v~\1~"|while read file; do ls -la
/etc/$file|ci -q -l /etc/$file ;done

Error output I received:
do_ypcall: clnt_call: RPC: Unable to receive; errno = No route to host
YPBINDPROC_DOMAIN: Domain not bound
do_ypcall: clnt_call: RPC: Unable to receive; errno = No route to host
YPBINDPROC_DOMAIN: Domain not bound
do_ypcall: clnt_call: RPC: Unable to receive; errno = No route to host
YPBINDPROC_DOMAIN: Domain not bound
do_ypcall: clnt_call: RPC: Unable to receive; errno = No route to host
YPBINDPROC_DOMAIN: Domain not bound

This looks like NIS (DNS?) error output, but what could be invoking
anything that uses NIS or DNS in that command? ls, ci, and while don't need
it unless they are applied to some NFS mounted file, but this is executed
as root with a *local* home directory on *local* files, no need for YP. The
only hypotheses I can think of are "my copies of bash or ci have been
compromised" or "I am stupid".

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


Re: [CentOS] OT - lowest power, cheapest python interpreter

2017-06-09 Thread Dave Stevens
On Fri, 9 Jun 2017 15:44:47 -0400
Fred Smith  wrote:

> On Fri, Jun 09, 2017 at 09:00:42PM +0200, Andrew Holway wrote:
> > I am searching for the cheapeat *nix SOC device with ethernet and
> > wifi that can run Python 2.7. Ethernet should be 100mbit and
> > hopefully supporting PXE.
> > 
> > OT because im doubting you can squeeze our bloaty friend onto such a
> > device :)  
> 
> Raspberry Pi 3B  35 bucks notincluding power supply or SD card.
> 
> the only thing I'm not sure of is the PXE part.
> 
> 

see here:
https://www.reddit.com/r/raspberry_pi/comments/48af52/raspberry_pi_3_usb_and_pxe_network_boot_boot/

d


-- 
In modern fantasy (literary or governmental), killing people is the
usual solution to the so-called war between good and evil. My books are
not conceived in terms of such a war, and offer no simple answers to
simplistic questions.

- Ursula Le Guin
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] humor (was Re: OT: systemd Poll)

2017-04-12 Thread Dave Stevens
On Wed, 12 Apr 2017 15:59:41 -0500 (CDT)
"Valeri Galtsev"  wrote:

> On Wed, April 12, 2017 2:39 pm, Mauricio Tavares wrote:
> > On Wed, Apr 12, 2017 at 2:56 PM, Andrew Holway
> >  wrote:  
> >>>
> >>> When Windows 2000 came out some called it "bloated pig". Some 6
> >>> years down
> >>> the road Linux started catching up ;-) Then we stopped laughing
> >>> about Windows.
> >>>  
> >>
> >> All in the name of progress..  
> >
> >   I have been told that Windows developers were taught not to
> > optimize their code for memory/cpu/etc since those could be solved
> > by throwing more hardware at it. Instead they should make clean
> > readable code. Not claiming that is exclusive to Windows or the
> > clean readable part is followed...
> >  
> 
> Continuing in the same spirit. Way back SELinux (before it made it
> into main stream kernel) had a competitor. LIDS. De-ciphers as Linux
> Intrusion Detection System (but name is confusing). Creature of
> Purdue University Computer science department. Basically LISD was a
> kernel patch that upon end of boot sequence demotes root account to
> privileges of user nobody. This makes system impregnable on the fly
> (but real pain to administer - any change can only be done as: shut
> down, change, boot). I was so impressed, I still remember about it.
> Never came to using it though. If it did, it might give big pain to
> NSA and friends. But SELinux won, and LIDS never made it into main
> stream kernel - to my regret. As far as SELinux is concerned, several
> people still think that several (how many?) thousands of extra code
> in the kernel may bring more harm than do good. Anyway, the last IMHO
> is where "tastes differ".
> 
> Valeri

the wikipedia confirms my memory that SELinux is a child of the NSA.
Is anyone astonished that this allowed them to hack into Linux?

d

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



-- 
In modern fantasy (literary or governmental), killing people is the
usual solution to the so-called war between good and evil. My books are
not conceived in terms of such a war, and offer no simple answers to
simplistic questions.

- Ursula Le Guin
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] question about directory size in linux..

2017-02-22 Thread Dave Stevens
On Thu, 23 Feb 2017 07:27:05 +1100
Anthony K  wrote:

> On 23/02/17 06:04, John R Pierce wrote:
> > on many modern file systems, larger directories are stored as some 
> > sort of B-Tree or hash tree, so there's quite a lot of indexing
> > data in there along with the actual directory entries   
> So I gather this depends on the file system.
> 
> On my ext4 file system, I have a directory that has >2TB and the 
> directory entry itself only shows:
> 
> $ ls -ld Stuff
> drwxrwxr-x 146 akk akk   36864 Feb 21 21:18 Stuff/
> 
> $ du -bs Stuff
> 2093651427987Stuff
> 
> Not sure what to take away from that!

certainly sounds like (-) bs

d

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



-- 
In modern fantasy (literary or governmental), killing people is the
usual solution to the so-called war between good and evil. My books are
not conceived in terms of such a war, and offer no simple answers to
simplistic questions.

- Ursula Le Guin
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] GCC 4.9 in CentOS 7 ??

2017-02-16 Thread Dave Johansen
On Sun, Feb 5, 2017 at 11:43 PM, Gordon Messmer 
wrote:

> On 02/05/2017 06:37 PM, Alice Wonder wrote:
>
>> Where are src.rpm's ?
>>
>
>
> Same place as everything else:
>
> http://vault.centos.org/7.3.1611/sclo/Source/


The source RPMs for devtoolset don't appear to be there, but I did find
them here:
http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHSCL/SRPMS/
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] how to troubleshoot GUI issue?

2017-01-09 Thread Dave Burns
Hello,
I'm using a recent install of centos 7, no GUI customizations that I
recall. When I log in using the GUI it accepts my password and the mouse
appears on a black screen, like it is preparing the desktop, but the
desktop never appears. If I hit control-alt-f4 and log in using the command
line, and then execute startx, Everything seems to work perfectly.

What sort of troubleshooting should I do to figure out what is stalling?
I'm not at all familiar with this aspect of things.

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


[CentOS] GUI black screen on login, startx works???

2016-12-27 Thread Dave Burns
Hello,
I'm using a recent install of centos 7, no GUI customizations that I
recall. When I log in using the GUI it accepts my password and the mouse
appears on a black screen, like it is preparing the desktop, but the
desktop never appears. If I hit control-alt-f4 and log in using the command
line, and then execute startx, Everything seems to work perfectly.

What sort of troubleshooting should I do to figure out what is stalling?
I'm not at all familiar with this aspect of things.

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


Re: [CentOS] Noise Cancellation of Server Noise

2016-12-24 Thread Dave Stevens

Quoting Digimer :


On 24/12/16 04:43 PM, H wrote:
Has anyone come across a device that could cancel out the noise  
from servers, ie. the fan noise? I have  a server rack near my  
office and would like to see if i can decrease the noise level. It  
would seem to me that the steady drone of the fans could be  
cancelled out to a large extent.


There are rack chassis designed to reduce noise. An example are the APC
NetShelter CS line.

http://www.apc.com/shop/ca/en/categories/racks-and-accessories/racks-and-enclosures/netshelter-cx/_/N-1ks6cn2

I don't know of any other way to make servers quieter, though.


noise cancelling headphones?


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





--
"As long as politics is the shadow cast on society by big business,
the attenuation of the shadow will not change the substance."

-- John Dewey





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


Re: [CentOS] Alternative to cPanel

2016-12-22 Thread Dave Stevens
On Thu, 22 Dec 2016 22:16:15 +0100
Dario Lesca  wrote:

> Il giorno gio, 15/12/2016 alle 15.17 +, FrancisM ha scritto:
> > Im looking for alternative for cPanel and somehow  
> 
> ISPconfig is open source and work well.
> 
> http://www.ispconfig.org/documentation/
> 

as is virtualmin - virtualmin.com

d


-- 
Reporter to Mahatma Ghandi after his tour of east London
"What do you think of western civilization, Mr. Ghandi?"
Ghandi - "I think it would be an excellent idea!"

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


Re: [CentOS] Alternative to cPanel

2016-12-15 Thread Dave Stevens
On Thu, 15 Dec 2016 18:23:31 +0100
Andrew Holway  wrote:

> I think most of the market is moving towards AWS Elastic Beanstalk,
> OpenShift and Docker. It seems control panels are not really much of a
> thing anymore.
> 
> Cheers,
> 
> Andrew

the people at virtualmin.com don't agree. Neither do I, I use it a lot
and like it.

D

> 
> On 15 December 2016 at 16:17, FrancisM 
> wrote:
> 
> > Dear All,
> >
> > Im looking for alternative for cPanel and somehow I read that the
> > 'cwp control web panel' (http://centos-webpanel.com) and Sentora (
> > http://www.sentora.ga) is the good alternative for cPanel.
> >
> > Is there someone using this application and what can you tell about
> > or recommend.
> >
> > Thank you all.
> > ___
> > 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



-- 
Reporter to Mahatma Ghandi after his tour of east London
"What do you think of western civilization, Mr. Ghandi?"
Ghandi - "I think it would be an excellent idea!"

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


Re: [CentOS] SCL devtoolset-3 or 4 without eclipse?

2016-12-05 Thread Dave Johansen
On Fri, Nov 18, 2016 at 10:47 AM, Robert Arkiletian 
wrote:

> Is there a way to install devtoolset packages without the bloat of eclipse?
>
> I just want the new compiler and toolchain, not a big IDE.
>

The packages can be installed individually. For example:
yum install devtoolset-3-gcc-c++
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] script to make webpage snapshot

2016-08-11 Thread Dave Stevens

Quoting Valeri Galtsev :



On Thu, August 11, 2016 5:02 pm, John R Pierce wrote:

On 8/11/2016 1:46 PM, Valeri Galtsev wrote:

Could someone recommend a script or utility one can run from command
line
on Linux or UNIX machine to make a snapshot of webpage?

We have a signage (xibo) and whoever creates/changes content, likes to
add
URLs of some webpages there. All works well if these are webpages on our
servers (which are pretty fast), but some external servers often take
time
to respond and take time to assemble the page, in addition these servers
sometimes get really busy, and when response is longer than time devoted
for that content in signage window, this window hangs forever with blank
white field until you restart client. Trivial workaround: just to get
snapshot (as, say daily cron job), and point signage client to that
snapshot definitely will solve it, and simultaneously we will stop
bugging
other people servers often without much need for it.

But when I tried to search for some utility or script that makes webpage
snapshot, I discovered that my ability to search degraded somehow...


many/most webpages these days are heavily dynamic content, a static
snapshot would likely break.  plus any site-relative links on that
snapshot would be pointing to your server, not the original, any ajax
code on that webpage would try to interact with your server which won't
be running the right back end stuff, etcetc.


I usually am not good at explaining what I need. I really only need an
image of what one would see in web browser if one point to that URL. I do
not care it to be interactive. I also don't want to get the content
("mirror") of stuff that URL points to on variety of "depths" - I don't
want to use wget or curl for this reason. That is what I tried first and
it breaks with at lest one of the web sites - they do seem protect
themselves from "robots" or similar. And we don't need it. We just need to
show what they page shows today, that's all.

Valeri


why not File -> Print -> .pdf?

D





--
john r pierce, recycling bits in santa cruz





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





--
"As long as politics is the shadow cast on society by big business,
the attenuation of the shadow will not change the substance."

-- John Dewey





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


[CentOS] Regression in Xorg CPU usage between 6.4 and 6.7

2016-04-13 Thread Dave Johansen
https://bugzilla.redhat.com/show_bug.cgi?id=1320334
Has anyone else noticed this?
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-03 Thread Dave Burns
On Tue, Feb 2, 2016 at 9:23 AM,  wrote:

> Dave Burns wrote:
> > My NFS server is up and other clients can access x. One particular client
> > can't. I tried to unmount the NFS share:
> >
> > [root@nfsclient ~]#  umount -f /disk/x
> > umount2: Device or resource busy
> > umount.nfs: /disk/x: device 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
>
> # service autofs stop results in fail. Maybe need #rm /var/run/autofs.pid?
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-03 Thread Dave Burns
Thanks. How did I miss that -l switch? Unfortunately, I went into panic
mode and just rebooted, but I'll know next time.
Dave

On Tue, Feb 2, 2016 at 9:00 AM, Phelps, Matthew 
wrote:

> Try "umount -fl"('eff el')
>
> On Tue, Feb 2, 2016 at 1:58 PM, Dave Burns  wrote:
>
> > My NFS server 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
>



-- 
This email is:[ ] request action  [ ] request info   [x] fyi[ ]
social
Response needed:  [ ] yes  [x] up to you  [ ] no
Time-sensitive:   [ ] immediate[ ] soon   [x] none
http://www.43folders.com/2005/09/19/writing-sensible-email-messages
___
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] Preventing laptop from sleeping when lid closed?

2015-10-13 Thread Dave Johansen
On Tue, Oct 13, 2015 at 10:35 AM, Yamaban  wrote:

> On Tue, 13 Oct 2015 18:12, Dave Johansen  wrote:
>
> How can I prevent the laptop from sleeping when the lid is closed. I tried
>> messing with the settings in gnome-power-preferences but that doesn't seem
>> to prevent it when no one is logged in. Any suggestions?
>> Thanks,
>> Dave
>>
>
> With C7 that is caused by systemd.
>

Sorry, I forgot to mention that this is with Centos 6.4.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Preventing laptop from sleeping when lid closed?

2015-10-13 Thread Dave Johansen
How can I prevent the laptop from sleeping when the lid is closed. I tried
messing with the settings in gnome-power-preferences but that doesn't seem
to prevent it when no one is logged in. Any suggestions?
Thanks,
Dave
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] initial setup of centos linux 7 core license information license not accepted

2015-08-18 Thread Dave Burns
 Did all this happen because I switched monitors? Or because I did all my
setup over ssh?

Otherwise, this is an FYI for other newbies who get confused by this like I
did.

Yesterday I set up a new centos 7 install, did updates, made all the config
tweaks I like to make, and rebooted at the end to see if it would start up
properly. No problem. (I logged in as the single user to see if it worked
but did *nothing* as that user and did the rest of my work over the network
via ssh.)

This morning I shut it down and moved to a different location with a *different
monitor.* During boot, it stopped with the following on the screen:

After [ OK ] Started D-Bus System Message Bus.


Initial setup of CentOS 7 (Core)

1) [!] License information
  (License not accepted)
Please make your choice from above ['q' to quit | 'c' to continue |
'r' to refresh]:

My caffeine-deprived response was to try q, c, and r, none of which got me
unstuck. Forced to actually use my brain, I typed 1. More confusing text
appeared, and I finally understood that in order to accept the license I
must type 2. Then I had to type 1 again for some reason.

Then my machine booted.

It is probably apparent that I wouldn't have all this text to email you if
the process had been as smooth as described. I have elided a certain amount
of cursing and hair-pulling as unnecessary and embarrassing detail. I am
curious as to the cause of the timing of this interruption.

An attempt at a helpful suggestion: I am assuming that in some other
circumstance, I might have more than one problem presented to me to deal
with at the same time using this interface. I should think that the prompt
should read like this:
Please choose the number of the item above that you wish to try to fix, 'q'
to quit and shut down, 'c' to continue booting, or 'r' if you are unable to
read this text (or wish to petition the gods for mercy).

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


Re: [CentOS] rsyslog.conf

2015-07-23 Thread Windsor Dave (AdP/TEF7)
>-Original Message-
>From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf 
>Of Leon Fauster
>Sent: Wednesday, July 22, 2015 6:20 PM
>To: CentOS mailing list
>Subject: Re: [CentOS] rsyslog.conf
>
>Am 22.07.2015 um 17:41 schrieb Windsor Dave (AdP/TEF7) 
>:
>> Sorry for the top post, Outlook defaults strike again.
>
>Outlook forces you to write above ? :-)
>
>--
>LF


Perhaps I should say instead that it "strongly encourages" top posting, and all 
our internal emails follow that convention.

It's habit-forming :-)

Best regards

Dave Windsor
AdP/TEF7  


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


Re: [CentOS] rsyslog.conf

2015-07-22 Thread Windsor Dave (AdP/TEF7)
Sorry for the top post, Outlook defaults strike again.

Best regards

Dave Windsor
AdP/TEF7
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rsyslog.conf

2015-07-22 Thread Windsor Dave (AdP/TEF7)
Looking at the same manpage, it seems that these selectors are not really being 
removed, just renamed.  The old names are being deprecated.

Instead of  Use
==  ===
warnwarning
err error
panic   emerg



Best regards

Dave Windsor
AdP/TEF7  

-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of 
m.r...@5-cent.us
Sent: Wednesday, July 22, 2015 11:07 AM
To: CentOS
Subject: [CentOS] rsyslog.conf

I was looking at the manpage for rsyslog.conf, primarily because I need to
filter my manager's new fedora 22 logs coming to our loghost, because of
the bug that I forwarded (if it gets through).

At any rate, I am surprised: under selectors, I see that " The keywords
error, warn and panic  are  deprecated  and should not be used anymore."

Huh?

If I only want warn or more severe, how am I supposed to filter - write a
much more elaborate RE?

  mark

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


Re: [CentOS] Firefox 39

2015-07-21 Thread Dave Stevens
On Tue, 21 Jul 2015 20:40:25 -0400
"TE Dukes"  wrote:

> Hello,
> 
> Trying to access webmin but I get the error:
> ssl_error_weak_server_cert_key.
> 
> I tried uninstalling Firefox and re-installing 38.x but still get the
> error.
> 
> I tried installing Chrome but the dependencies are an endless loop.
> 
> I found instructions on how to fix the error but I can't access
> webmin to do it.
> 
> Any help would be greatly appreciated.

what you've got to do is make FF accept the certificate. I had to do
this and found a setting in FF that allowed it to happen. You've got a
browser that is so secure it won't do what you want. Mind you, the
certificate system is there for a good reason. Only defeat it if you
know what you're doing.

No, I don't remember which setting I changed but Google is your friend.

Dave

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



-- 
The increased industrial power of labour - and, it must be added, of
employers too - has made the ordinary legislative procedure
inadequate ... the supreme legislative assembly in these matters
becomes merely a body for registering decisions arrived at outside
itself.

D.J. Shackleton English Ministry of Labour, 21 May, 1919
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 7 Server Forgets IPv6 Address On Reboot

2015-07-06 Thread Dave Cross
My Centos 7 server has started to forget its IPv6 address on a reboot.
This causes problems with services being unable to start up.

It's easy enough to fix each time (ip addr add ...), but it would be
nice to be able to convince it to retain that information. Presumably,
there's a file somewhere under /etc/sysconfig that should contain this
information - does anyone know where it should be stored?

Thanks,

Dave...

-- 
Dave Cross :: d...@dave.org.uk
http://dave.org.uk/
@davorg
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] can't mount an LVM volume inCentos 5.10

2015-04-01 Thread Dave Stevens
I have a degraded raid array (originally raid-10, now only two drives)  
that contains an LVM volume. I can see in the appended text that the  
Xen domains are there but I don't see how to mount them. No doubt this  
is just ignorance on my part but I wonder if anyone would care to  
direct me? I want to be able to retrieve dom-0 and one of the dom-Us  
to do data recovery, the others are of no interest.


Suggestions? Will rtfm if directed.

Dave

excerpt from failed mount attempts

--- starting here 

root@Microknoppix:/home/knoppix# vgchange -ay bulkley
  Volume group "bulkley" not found
root@Microknoppix:/home/knoppix# vgchange -ay /dev/VolGroup00/bulkley
  Invalid volume group name: VolGroup00/bulkley
  Run `vgchange --help' for more information.
root@Microknoppix:/home/knoppix# vgimport -f VolGroup00
  Volume group "VolGroup00" is not exported
root@Microknoppix:/home/knoppix# vgchange -ay VolGroup00
  8 logical volume(s) in volume group "VolGroup00" now active
root@Microknoppix:/home/knoppix# lvscan
  ACTIVE'/dev/VolGroup00/Dom0' [40.00 GiB] inherit
  ACTIVE'/dev/VolGroup00/babine' [100.00 GiB] inherit
  ACTIVE'/dev/VolGroup00/centos-template' [100.00 GiB] inherit
  ACTIVE'/dev/VolGroup00/bulkley-old' [100.00 GiB] inherit
  ACTIVE'/dev/VolGroup00/ubuntu' [10.00 GiB] inherit
  ACTIVE'/dev/VolGroup00/morice' [200.00 GiB] inherit
  ACTIVE'/dev/VolGroup00/oldserver' [80.00 GiB] inherit
  ACTIVE'/dev/VolGroup00/bulkley' [100.00 GiB] inherit
root@Microknoppix:/home/knoppix# mount /dev/mapper/VolGroup00 aa
mount: special device /dev/mapper/VolGroup00 does not exist
root@Microknoppix:/home/knoppix# mount /dev/mapper/bulkley aa
mount: special device /dev/mapper/bulkley does not exist
root@Microknoppix:/home/knoppix# mount /dev/mapper/dev/VolGroup00 aa
mount: special device /dev/mapper/dev/VolGroup00 does not exist
root@Microknoppix:/home/knoppix# mount /dev/mapper/dev/VolGroup00/bulkley aa
mount: special device /dev/mapper/dev/VolGroup00/bulkley does not exist
root@Microknoppix:/home/knoppix# mount /dev/mapper/dev/VolGroup00/LogVol00 aa
mount: special device /dev/mapper/dev/VolGroup00/LogVol00 does not exist
root@Microknoppix:/home/knoppix# mount  
/dev/mapper/dev/VolGroup00/LogVol00/bulkley aa
mount: special device /dev/mapper/dev/VolGroup00/LogVol00/bulkley does  
not exist

root@Microknoppix:/home/knoppix# mount /dev/VolGroup00/LogVol00/bulkley aa
mount: special device /dev/VolGroup00/LogVol00/bulkley does not exist

--
"As long as politics is the shadow cast on society by big business,
the attenuation of the shadow will not change the substance."

-- John Dewey





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


Re: [CentOS] heavy IO load when working with sparse files (centos 6.4)

2015-03-31 Thread Dave Johansen
On Wed, Sep 10, 2014 at 9:28 PM, Dave Johansen 
wrote:

> On Mon, Sep 2, 2013 at 12:40 PM, Ron E  wrote:
>
>> Dear List,
>>
>> We have noticed a variety of reproducible conditions working with sparse
>> files on multiple servers under load with CentOS 6.4.
>>
>> The short story is that processes that read / write sparse files with
>> large "holes" can generate an IO storm. Oddly, this only happens with holes
>> and not with the sections of the files that contain data.
>>
>> We have seen extremely high IO load for example copying a 40 or 80gb
>> sparse file that only has a few gigs of data in it. Attempts to lower the
>> io priority and cpu priority of these processes do not make any measurable
>> difference. (ionice, nice) This has been observed with processes such as:
>>
>> cp
>> rsync
>> sha1sum
>>
>> The server does have to be under some load to reproduce the necessary
>> conditions. The cases we have seen involve servers running 10-30 guests
>> under kvm. Load is in acceptable norms when the processes are run, such as
>> load avg 5-15 on a 24 core (12 core with HT enabled) server. We also verify
>> before starting such a process that the spindle with the file we're working
>> on is not being unduly hammered by another process.
>>
>> These servers have one hardware raid controller each (Dell H700
>> controller with write cache enabled) and multiple raid arrays (separate
>> sets of physical spindles). Interestingly, the IO storm is not limited to
>> the array / spindles where the sparse file resides but affects all IO on
>> that server.
>>
>> We have looked extensively and not found any account of a similar issue.
>> We have seen this on configurations that are 'plain vanilla' enough to
>> think that this is not something specific to our environment.
>>
>> Wondering if anyone else has seen this and if any suggestions on
>> gathering more data / troubleshooting. We wonder if we've found either a
>> raid controller driver issue, an OS issue or some other such thing. What
>> seems to point in this direction is that even with ionice -c3 which should
>> prevent the process from using IO unless the storage is idle, an io storm
>> which appears to saturate the entire raid bus on a given server can occur.
>>
>
> Did you ever figure anything out from this? I've noticed a similar sort of
> issue on some of our machines, so I was curious if you found the cause of
> the issue or any way to improve the situation.
>

I made a simple reproducer of the problem I had observed and the responses
on the Fedora mailing list (
https://lists.fedoraproject.org/pipermail/devel/2015-March/209506.html )
were very helpful.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] install latest gcc/g++ dev tools on centos

2015-03-09 Thread Dave Johansen
On Sun, Feb 22, 2015 at 5:22 PM, Adekoya Adekunle  wrote:

> Guys,
>
> How can I install the latest version of gcc/g++ development tools on my
> centos ?
>

The devtoolset is also available and it provides newer versions of gcc than
what is available with the base OS. It seems that the "best" source for
these packages for use with CentOS is at:
http://linux.web.cern.ch/linux/devtoolset/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 7 confusion about Chinese input methods

2015-03-06 Thread Dave Burns
I just tried my first Centos 7 install. I want to install input methods for
Chinese. In the good old days, all I had to do was yum install a blob and I
was done. Does anyone have a link or some hints that will help me? I did a
search, but the hits just confuse me.
thanks,
Dave
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum causing RPC timed out?

2015-02-27 Thread Dave Burns
On Fri, Feb 27, 2015 at 12:41 PM, Stephen Harris  wrote:
>
> "do_ypcall" is a NIS error message.  (Previous NIS was called "yellow
> pages"; the "yp" in do_ypcall is a reference to that).
>
> Maybe you have "hosts: files nis" in /etc/nsswitch.conf or something
> else that's causing the OS to want to talk to NIS.
>

grep hosts /etc/nsswitch.conf
hosts:  files nis dns myhostname

Maybe I should change to
hosts:  files dns nis myhostname
?


>
> You _DO_ have a problem with your NIS setup somewhere.
>

It is a problem if yum expects it to be something else. NIS passes all the
tests I have ("ypcat  " outputs what I expect).
thanks,
Dave
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum causing RPC timed out?

2015-02-27 Thread Dave Burns
On Fri, Feb 27, 2015 at 11:57 AM, Thomas Eriksson <
thomas.eriks...@slac.stanford.edu> wrote:

>
> This has nothing to do with yum.
>
> You are using NIS for name lookup and your NIS server is not responding.


NIS is working fine, at least, for what I expect it to do.

What makes you think NIS is involved?
What does yum use NIS for?
Is there a test command I could use to see whether NIS is working for yum?
What names is yum looking up?
Is Errno 12 a clue? I tried searching for (do_ypcall: clnt_call: rpc: timed
out  "errno 12" ), got many confusing hits, nothing obviously helpful.

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


Re: [CentOS] yum causing RPC timed out?

2015-02-27 Thread Dave Burns
.sqlite.bz2:
[Errno 12] Timeout on
http://repos.mia.quadranet.com/centos/7.0.1406/os/x86_64/repodata/3cda64d1c161dd0fead8398a62ef9c691e78ee02fe56d04566f850c94929f61f-filelists.sqlite.bz2:
(28, 'Resolving timed out after 30384 milliseconds')
http://mirrors.loosefoot.com/centos/7.0.1406/os/x86_64/repodata/3cda64d1c161dd0fead8398a62ef9c691e78ee02fe56d04566f850c94929f61f-filelists.sqlite.bz2:
[Errno 12] Timeout on
http://mirrors.loosefoot.com/centos/7.0.1406/os/x86_64/repodata/3cda64d1c161dd0fead8398a62ef9c691e78ee02fe56d04566f850c94929f61f-filelists.sqlite.bz2:
(28, 'Resolving timed out after 30384 milliseconds')
http://mirror.supremebytes.com/centos/7.0.1406/os/x86_64/repodata/3cda64d1c161dd0fead8398a62ef9c691e78ee02fe56d04566f850c94929f61f-filelists.sqlite.bz2:
[Errno 12] Timeout on
http://mirror.supremebytes.com/centos/7.0.1406/os/x86_64/repodata/3cda64d1c161dd0fead8398a62ef9c691e78ee02fe56d04566f850c94929f61f-filelists.sqlite.bz2:
(28, 'Resolving timed out after 30384 milliseconds')
[root@localhost ~]#


On Fri, Feb 27, 2015 at 11:06 AM, Dave Burns  wrote:

> I just installed centos 7, yum is acting strange, experiencing RPC
> time-outs. Sometimes when I disable the additional repos (epel and
> rpmforge) it seems to make things act normal. But not this time (see below).
>
> Could I have some misconfiguration? Network glitch? What hypotheses should
> I be considering?
> Thanks,
> Dave
>
> [root@localhost ~]# yum   repolist
> repo id  repo name
>  status
> base/7/x86_64CentOS-7 - Base
>  8,465
> epel/x86_64  Extra Packages for
> Enterprise Linux 7 - x86_64 7,312
> extras/7/x86_64  CentOS-7 - Extras
>104
> rpmforge RHEL 7 - RPMforge.net -
> dag  245
> updates/7/x86_64 CentOS-7 - Updates
>   1,721
> repolist: 17,847
> [root@localhost ~]# yum   --disablerepo=epel  --disablerepo=rpmforge
> provides '*/applydeltarpm'
> do_ypcall: clnt_call: RPC: Timed out
> do_ypcall: clnt_call: RPC: Timed out
>
> http://centos.corenetworks.net/7.0.1406/os/x86_64/repodata/3cda64d1c161dd0fead8398a62ef9c691e78ee02fe56d04566f850c94929f61f-filelists.sqlite.bz2:
> [Errno 12] Timeout on
> http://centos.corenetworks.net/7.0.1406/os/x86_64/repodata/3cda64d1c161dd0fead8398a62ef9c691e78ee02fe56d04566f850c94929f61f-filelists.sqlite.bz2:
> (28, 'Resolving timed out after 30385 milliseconds')
> Trying other mirror.
> do_ypcall: clnt_call: RPC: Timed out
> [etc. etc.]
>
>


-- 
This email is:[ ] request action  [ ] request info   [x] fyi[ ]
social
Response needed:  [ ] yes  [x] up to you  [ ] no
Time-sensitive:   [ ] immediate[ ] soon   [x] none
http://www.43folders.com/2005/09/19/writing-sensible-email-messages
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] yum causing RPC timed out?

2015-02-27 Thread Dave Burns
I just installed centos 7, yum is acting strange, experiencing RPC
time-outs. Sometimes when I disable the additional repos (epel and
rpmforge) it seems to make things act normal. But not this time (see below).

Could I have some misconfiguration? Network glitch? What hypotheses should
I be considering?
Thanks,
Dave

[root@localhost ~]# yum   repolist
repo id  repo name
 status
base/7/x86_64CentOS-7 - Base
 8,465
epel/x86_64  Extra Packages for
Enterprise Linux 7 - x86_64 7,312
extras/7/x86_64  CentOS-7 - Extras
   104
rpmforge RHEL 7 - RPMforge.net -
dag  245
updates/7/x86_64 CentOS-7 - Updates
1,721
repolist: 17,847
[root@localhost ~]# yum   --disablerepo=epel  --disablerepo=rpmforge provides
'*/applydeltarpm'
do_ypcall: clnt_call: RPC: Timed out
do_ypcall: clnt_call: RPC: Timed out
http://centos.corenetworks.net/7.0.1406/os/x86_64/repodata/3cda64d1c161dd0fead8398a62ef9c691e78ee02fe56d04566f850c94929f61f-filelists.sqlite.bz2:
[Errno 12] Timeout on
http://centos.corenetworks.net/7.0.1406/os/x86_64/repodata/3cda64d1c161dd0fead8398a62ef9c691e78ee02fe56d04566f850c94929f61f-filelists.sqlite.bz2:
(28, 'Resolving timed out after 30385 milliseconds')
Trying other mirror.
do_ypcall: clnt_call: RPC: Timed out
[etc. etc.]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] sw raid issue with C5.10-xen

2015-02-18 Thread Dave Stevens
My raid array won't boot, gives a kernel panic - attempt to kill init  
message and goes into endless reboots.


MB is a supermicro 2P with opteron 2376 4-core cpus, centos sw raid,  
installed C5.3, updated as possible, currently c5.10. 5 seagate 750GB  
drives as raid-10 and hot spare. we set this up about 5 years ago and  
IIRC we set aside the first 10GB on drive 0 as a boot partition.


Grub runs and the system tries to boot 2.6.18-308.20.1.el5xen, sees a  
dirty raid array and


md: md0: raid array is not clean - starting background reconstruction

which looks hopeful but then

md10: not enough operational mirrors for raid 10

and then the panic and reboot.

ideas? stuff to read? diagnostics?

TIA,

Dave



--
"As long as politics is the shadow cast on society by big business,
the attenuation of the shadow will not change the substance."

-- John Dewey





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


Re: [CentOS] Red Hat Developer Toolset 3 for CentOS6?

2015-01-14 Thread Dave Johansen
On Wed, Jan 14, 2015 at 1:28 AM, wwp  wrote:

> Hello Dave,
>
>
> On Tue, 13 Jan 2015 21:18:18 -0700 Dave Johansen 
> wrote:
>
> > Unfortunately, this is only for RHEL/CentOS 7
>
> Really? It installs and works fine on my CentOS6, more over, on the
> Cern pages, it says "for Scientific Linux CERN 6" (note the '6');
> repodata says '6' too.
>

Sorry for the confusion. The "this" I was referring to was the linked to
devtoolset-3 on softwarecollections.org and not the CERN one that is for
RHEL 6 and its variants.

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


Re: [CentOS] Red Hat Developer Toolset 3 for CentOS6?

2015-01-13 Thread Dave Johansen
Unfortunately, this is only for RHEL/CentOS 7, but it can also be found at:
https://www.softwarecollections.org/en/scls/rhscl/devtoolset-3/

On Tue, Jan 13, 2015 at 1:39 AM, wwp  wrote:

>
> On Tue, 13 Jan 2015 09:18:27 +0100 wwp  wrote:
>
> > I could find the 1.1 and 2 repos gently provided by Tru Huynh, but quid
> > of a v3 of the toolset?
> >
> > I've just found that Qt 5.4 requires what's shipped in this v3 (gcc
> > 4.9.1, binutils 2.24) and would prefer installing those from a repo. If
> > not, the sources will rule.
> >
> > Any hint?
>
> The hint often comes after a deeper look on the Internet:
>   http://linux.web.cern.ch/linux/scl/
> (1.1 and 2 are accessible too, but slightly differently)
>
> Thanks to the Cern, sorry for the noise, at least it serves the
> archives.
>
>
> Regards,
>
> --
> wwp
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Design changes are done in Fedora

2015-01-09 Thread Dave Stevens

Quoting Always Learning :



On Thu, 2015-01-08 at 09:35 -0700, Warren Young wrote:


Once a thing becomes reliable, it stops being technology.


Oh No. Just because something works well it does not stop being
"technology" unless the USA people, who have decimated my language
(English), have a new definition for "technology".


ah, yes. Two great nations, divided by a common language...

Dave



Warren are you serious that things that do not work well are
"technology" but things that do work well are *not* technology ?


--
Regards,

Paul.
England, EU. Je suis Charlie !


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





--
"As long as politics is the shadow cast on society by big business,
the attenuation of the shadow will not change the substance."

-- John Dewey





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


[CentOS] Gnome rebase in 7.2?

2014-12-30 Thread Dave Johansen
https://bugzilla.redhat.com/show_bug.cgi?id=1109302
https://bugzilla.redhat.com/show_bug.cgi?id=1174442
>From those two bugzillas it looks like Gnome is going to be rebased in 7.2.
I understand that that's a "RHEL thing" but does anyone here have any
insight to what this will mean. Will applications have to rebuilt? Or what
other implications are there?
Thanks,
Dave
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] WARNING: No module xenblk found for kernel

2014-12-23 Thread Dave Stevens

Quoting Ulf Volmer :


On 12/23/2014 11:11 PM, Dave Stevens wrote:

Quoting Ulf Volmer :


On 12/18/2014 08:11 PM, Dave Stevens wrote:

ran routine updates on the lernel this morning and got this:

WARNING: No module xenblk found for kernel 2.6.18-400.1.1.el5,
continuing anyway


i'm not sure that i can help you, i have currently no centos5 vm on xen.

But i guess the warning is from the normal, not xen enabled kernel.

Does /boot/vmlinuz-2.6.18-400.1.1.el5xen exists?


yes, exists and first option in grub.conf

is the error likely to affect my storage on reboot?


If you boot the xen- kernel, you storage is not affected.



yes, that worked fine, thanks!

Dave



And after the reboot you can remove the standart kernel.

regards
Ulf

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





--
"As long as politics is the shadow cast on society by big business,
the attenuation of the shadow will not change the substance."

-- John Dewey





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


Re: [CentOS] WARNING: No module xenblk found for kernel

2014-12-23 Thread Dave Stevens

Quoting Ulf Volmer :


On 12/18/2014 08:11 PM, Dave Stevens wrote:

ran routine updates on the lernel this morning and got this:

WARNING: No module xenblk found for kernel 2.6.18-400.1.1.el5,
continuing anyway


i'm not sure that i can help you, i have currently no centos5 vm on xen.

But i guess the warning is from the normal, not xen enabled kernel.

Does /boot/vmlinuz-2.6.18-400.1.1.el5xen exists?


yes, exists and first option in grub.conf

is the error likely to affect my storage on reboot?

Dave



And is kernel-xen installed and the default kernel in the grub- config?

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





--
"As long as politics is the shadow cast on society by big business,
the attenuation of the shadow will not change the substance."

-- John Dewey





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


[CentOS] WARNING: No module xenblk found for kernel

2014-12-18 Thread Dave Stevens

ran routine updates on the lernel this morning and got this:

WARNING: No module xenblk found for kernel 2.6.18-400.1.1.el5,  
continuing anyway



The only references I can find are a year or so old. Anyone able to  
comment? or refer me? Have not rebooted.


uname -a
Linux bulkley.bvserver.ca 2.6.18-400.el5xen #1 SMP Thu Dec 4 13:29:23  
EST 2014 x86_64 x86_64 x86_64 GNU/Linux


Thanks,

Dave

--
"As long as politics is the shadow cast on society by big business,
the attenuation of the shadow will not change the substance."

-- John Dewey





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


Re: [CentOS] Building QT on CentOS 5

2014-12-03 Thread Dave Johansen
On Tue, Dec 2, 2014 at 7:57 AM, Wade Hampton 
wrote:

> I am building QT 4.8.6 on CentOS 5 and it is failing on building
> the webkit module with __sync_add_and_fetch_4 not being defined.
> My build is for Embedded Linux, which allows me to use the framebuffer.
>
> Posts report this error when trying to cross-compile for ARM,
> but I am building for X86.   Several posts also indicate that this
> is due to the old GCC used by CentOS 5.
>
> Does anyone have any suggestions?
>

I believe that gcc on CentOS 5 builds against i386 by default. i386 doesn't
have those instructions, so if you built against i686 (or a newer CPU like
that), then it should fix the problem.

This stackoverflow has more info:
http://stackoverflow.com/questions/130740/link-error-when-compiling-gcc-atomic-operation-in-32-bit-mode
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos7 raid

2014-11-25 Thread Dave Stevens

Quoting dustin kempter :
hi all, is there any documentation out there about setting up a raid  
array in centos7?


thanks


I found the docs obscure, but this:

http://binblog.info/2014/10/25/centos-7-on-md-raid-1/

may help. It is actually a simpler and better thought out method but  
badly documented.


Dave

--
"As long as politics is the shadow cast on society by big business,
the attenuation of the shadow will not change the substance."

-- John Dewey





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


[CentOS] ssh connections not closing when Qt application is opened?

2014-11-24 Thread Dave Johansen
https://bugzilla.redhat.com/show_bug.cgi?id=1086971
I have been able to reproduce the above issue on my home network and at
work, but RedHat is claiming it is not a bug, so can some people on this
list give it a try and see if they can reproduce it?
Thanks,
Dave
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS on Lenovo G50-30?

2014-11-08 Thread Dave Johansen
On Wed, Nov 5, 2014 at 9:29 PM, Dave Johansen 
wrote:

> I just got a Lenovo G50-30 and tried loading the CentOS 7 LiveCD on it. It
> stops on a gray screen with a flashing cursor. I tried waiting for a while
> and pressing keys, but nothing seemed to happen. I then tried the CentOS
> 6.5 LiveCD (I couldn't find a LiveCD for 6.6) and it worked just fine. I
> would like to be able to use CentOS 7, so is there any way for me to get
> access to the logs or any other info that would be helpful for figuring out
> what the problem with CentOS 7 is?
> Thanks,
> Dave
>

I downloaded the install DVD and tried that. It printed "psmouse serio1:
elantech: unknown hardware version, aborting..." and stopped. I'm guessing
that's what the "aborting..." means. I also found this bugzilla against
Fedora ( https://bugzilla.redhat.com/show_bug.cgi?id=969473 ), so is there
any way around this (like would the net install potentially work)? Or do I
just need to wait until RHEL/CentOS 7.1 is released and hope that support
is fixed?

Also, should I open a bugzilla against RHEL or a bug against CentOS?

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


[CentOS] CentOS on Lenovo G50-30?

2014-11-05 Thread Dave Johansen
I just got a Lenovo G50-30 and tried loading the CentOS 7 LiveCD on it. It
stops on a gray screen with a flashing cursor. I tried waiting for a while
and pressing keys, but nothing seemed to happen. I then tried the CentOS
6.5 LiveCD (I couldn't find a LiveCD for 6.6) and it worked just fine. I
would like to be able to use CentOS 7, so is there any way for me to get
access to the logs or any other info that would be helpful for figuring out
what the problem with CentOS 7 is?
Thanks,
Dave
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Need to Understand booting process of CENTOS-7

2014-10-03 Thread Dave Stevens

Quoting keshab mahapatra :


Thanks to all.


At this address:

https://www.edx.org/course/linuxfoundationx/linuxfoundationx-lfs101x-introduction-1621#.VC77Ya02l-g

Is the start of edX's Intro to Linux course. I found the section on  
the Linux boot process clear and up to date.


Dave



On Fri, Oct 3, 2014 at 8:49 PM, Timothy Murphy  wrote:


m.r...@5-cent.us wrote:

>>> It's very simple actually. The first step in the booting process of
>>> CENTOS-7 is the application of emf to the system, following which it
>>> would initiate the cmos process to load the GPT from disk and hand
>>> over to LILO which will bootstrap the kernel from the file allocation
>>> table into the high memory area before running systemd to complete the
>>> booting process.

>> I didn't think LILO had been used for years ...?

> Geez! I bet he didn't think that he'd have to add 
> around that I've lost track of who posted that, but *I* thought it
was
> funny

Why send a smartass reply to a simple query?

--
Timothy Murphy
e-mail: gayleard /at/ eircom.net
School of Mathematics, Trinity College, Dublin 2, Ireland


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





--
With Thanks & Regards,

Keshaba Mahapatra
Sr.Technical Consultant
Mob - +91 7569071776
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos





--
Hold my beer while I show you this trick I can do!





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


[CentOS] C7 - implementation guide URL?

2014-09-24 Thread Dave Stevens
I went to the RH site and used wget to download an offline copy for  
some work I'm doing. When I went back I had a gig of text and no end  
in sight. This was due to multiple (a lot) languages. I tried  
downloading the English version only but it seems there are links  
somehow that lead every time to other languages.


Does anyone have a URL for a downloadable implementation guide for  
English only?


TIA

Dave


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


Re: [CentOS] Centos 7 RAID tutorial?

2014-09-11 Thread Dave Stevens

Quoting Digimer :


On 10/09/14 06:45 PM, Dave Stevens wrote:

Quoting Digimer :


On 10/09/14 05:35 PM, Eliezer Croitoru wrote:

On 09/10/2014 02:33 AM, Digimer wrote:

The problem with ZFS on linux is license related more than technical.

It exists for ubutnu so I can use it from a ppa for testing.
I would like to understand more about this license issue.
If you can sound me with more about it will help me understand the
issue.

Thanks,
Eliezer


http://zfsonlinux.org/faq.html#WhatAboutTheLicensingIssue

https://en.wikipedia.org/wiki/ZFS#Linux

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



Dear All,

This list reminds me of the wizards in the Terry Pratchett novels -
confronted with a need to take action they would by far rather discuss
all possibilities, however remote, than address the need in a simple
way, after all  they're WIZARDS.

The discussion has been pretty interesting, I've figured out what I
wanted to know through other means.

Thanks for the perspectives.

Dave


Hi Dave,

  I can understand your feeling, but I need to say that "storage",  
as a topic, is a very big one. People form entire careers around the  
topic. So when discussing storage without a specific context,  
conversations like this are inevitable.


  All the points that have been made in this thread are valid and  
important. So I suppose the better thing would be, if you were still  
looking for answers, would be to ask the question with a particular  
use-case in mind. That would allow people to stay more focused in  
their answers.


Cheers!

digimer


Quoting Digimer :


On 10/09/14 06:45 PM, Dave Stevens wrote:

Quoting Digimer :


On 10/09/14 05:35 PM, Eliezer Croitoru wrote:

On 09/10/2014 02:33 AM, Digimer wrote:

The problem with ZFS on linux is license related more than technical.

It exists for ubutnu so I can use it from a ppa for testing.
I would like to understand more about this license issue.
If you can sound me with more about it will help me understand the
issue.

Thanks,
Eliezer


http://zfsonlinux.org/faq.html#WhatAboutTheLicensingIssue

https://en.wikipedia.org/wiki/ZFS#Linux

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



Dear All,

This list reminds me of the wizards in the Terry Pratchett novels -
confronted with a need to take action they would by far rather discuss
all possibilities, however remote, than address the need in a simple
way, after all  they're WIZARDS.

The discussion has been pretty interesting, I've figured out what I
wanted to know through other means.

Thanks for the perspectives.

Dave


Hi Dave,

  I can understand your feeling, but I need to say that "storage",  
as a topic, is a very big one. People form entire careers around the  
topic. So when discussing storage without a specific context,  
conversations like this are inevitable.


  All the points that have been made in this thread are valid and  
important. So I suppose the better thing would be, if you were still  
looking for answers, would be to ask the question with a particular  
use-case in mind. That would allow people to stay more focused in  
their answers.


Cheers!

digimer




Ok, maybe one more. I manage a server with CentOS 5.10 that has a raid  
10 array with a hot spare. It was well set up by someone else and has  
worked very well. It also has a Xen kernel and several VMs, also all  
working well.


The age of the OS and accumulated cruft in the application side,  
together with the absence of the person who did the original setup,  
have me thinking about a new clean install - first on a transitional  
box for continuity, then a new config on the current hardware with the  
same basic design but more up-to-date; we are now a long way from  
version 5.3.


I had seen reference to a much improved raid installation procedure in  
version 7. I can now confirm that the process is indeed much simpler  
and so I have been able to get on with performance testing in various  
scenarios, which was what I wanted to do. My experience has been that  
of you want a tutorial on any topic the internet is flooded with the.  
But I didn't see one for this topic, so I thought a routine query on  
this list would get me a starting point.


That didn't exactly happen. But there's lots of food for thought in  
the answers I got and I'll be able to take at least some of that  
forward. And if I'm motivated enough may I'LL make the tutorial!


Dave


--
Digimer
Papers and Projects: https:/

Re: [CentOS] heavy IO load when working with sparse files (centos 6.4)

2014-09-10 Thread Dave Johansen
On Mon, Sep 2, 2013 at 12:40 PM, Ron E  wrote:

> Dear List,
>
> We have noticed a variety of reproducible conditions working with sparse
> files on multiple servers under load with CentOS 6.4.
>
> The short story is that processes that read / write sparse files with
> large "holes" can generate an IO storm. Oddly, this only happens with holes
> and not with the sections of the files that contain data.
>
> We have seen extremely high IO load for example copying a 40 or 80gb
> sparse file that only has a few gigs of data in it. Attempts to lower the
> io priority and cpu priority of these processes do not make any measurable
> difference. (ionice, nice) This has been observed with processes such as:
>
> cp
> rsync
> sha1sum
>
> The server does have to be under some load to reproduce the necessary
> conditions. The cases we have seen involve servers running 10-30 guests
> under kvm. Load is in acceptable norms when the processes are run, such as
> load avg 5-15 on a 24 core (12 core with HT enabled) server. We also verify
> before starting such a process that the spindle with the file we're working
> on is not being unduly hammered by another process.
>
> These servers have one hardware raid controller each (Dell H700 controller
> with write cache enabled) and multiple raid arrays (separate sets of
> physical spindles). Interestingly, the IO storm is not limited to the array
> / spindles where the sparse file resides but affects all IO on that server.
>
> We have looked extensively and not found any account of a similar issue.
> We have seen this on configurations that are 'plain vanilla' enough to
> think that this is not something specific to our environment.
>
> Wondering if anyone else has seen this and if any suggestions on gathering
> more data / troubleshooting. We wonder if we've found either a raid
> controller driver issue, an OS issue or some other such thing. What seems
> to point in this direction is that even with ionice -c3 which should
> prevent the process from using IO unless the storage is idle, an io storm
> which appears to saturate the entire raid bus on a given server can occur.
>

Did you ever figure anything out from this? I've noticed a similar sort of
issue on some of our machines, so I was curious if you found the cause of
the issue or any way to improve the situation.

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


Re: [CentOS] Centos 7 RAID tutorial?

2014-09-10 Thread Dave Stevens

Quoting Digimer :


On 10/09/14 05:35 PM, Eliezer Croitoru wrote:

On 09/10/2014 02:33 AM, Digimer wrote:

The problem with ZFS on linux is license related more than technical.

It exists for ubutnu so I can use it from a ppa for testing.
I would like to understand more about this license issue.
If you can sound me with more about it will help me understand the issue.

Thanks,
Eliezer


http://zfsonlinux.org/faq.html#WhatAboutTheLicensingIssue

https://en.wikipedia.org/wiki/ZFS#Linux

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



Dear All,

This list reminds me of the wizards in the Terry Pratchett novels -  
confronted with a need to take action they would by far rather discuss  
all possibilities, however remote, than address the need in a simple  
way, after all  they're WIZARDS.


The discussion has been pretty interesting, I've figured out what I  
wanted to know through other means.


Thanks for the perspectives.

Dave


--
We hang petty thieves and appoint great ones to office

-- Aesop





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


Re: [CentOS] Centos 7 RAID tutorial?

2014-09-08 Thread Dave Stevens

Quoting Digimer :


On 07/09/14 11:01 PM, Keith Keller wrote:

On 2014-09-08, Valeri Galtsev  wrote:


Even more: system failure or power loss is more likely to destroy all data
on software RAID than on a single drive when there is a lot of IO present
(to the best of my understanding, loss of cache software RAID is using is
more catastrophic compared to journaled filesystem under same
circumstances - somebody may correct me). So, there may be worth thinking
about hardware RAID.


I think an essential feature of any md RAID that's not a RAID1 is a UPS
and a mechanism for a clean shutdown in case of extended power failure.
(An md RAID1 might be okay in this instance, but I wouldn't want to risk
it.)  But this is true for any RAID, which is why many controllers come
with a BBU (and if you don't have a BBU on your hardware RAID controller,
then you absolutely need the UPS setup I described).

OTOH, the OP wasn't clear on what he was doing; perhaps he is just
playing around, and doesn't care about data preservation at this time.
If you're just testing performance then data integrity in the face of a
power failure is less of a concern.

--keith


A UPS is certainly better than nothing, but I would not consider it  
safe enough. A BBU/FBU will protect you if the node loses power,  
right up to the failure of the PSU(s). I've seen shorted cable  
harnesses taking out servers with redundant power supplies, popped  
breakers in PDUs/UPSes, knocked out power cords, etc. So a UPS is  
not a silver-bullet to safe write-back caching in software arrays.  
Good, yes, but not perfect.


This is a pretty interesting discussion but has not revealed an  
on-line tutorial. Anyone?


Dave



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





--
We hang petty thieves and appoint great ones to office

-- Aesop





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


[CentOS] Centos 7 RAID tutorial?

2014-09-07 Thread Dave Stevens
I want to set up a new CentOS install using version 7 and would like  
to experiment with various RAID levels. Anyone care to point out a  
tutorial?


TIA

Dave


--
We hang petty thieves and appoint great ones to office

-- Aesop





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


[CentOS] 3D Acceleration with Matrox MGA G200EH?

2014-06-30 Thread Dave Johansen
I'm running on a machine with a Matrox MGA G200EH but it doesn't appear
that the 3D acceleration is being used (for example Google Earth lists the
driver as being Mesa). Is there an additional driver that I need to install
to enable the 3D acceleration functionality? Or something else I need to do?
Thanks,
Dave
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Sorry

2014-05-19 Thread Dave Cross
On 19 May 2014 15:47,   wrote:
> Dave Cross wrote:
>> On 19 May 2014 13:06, mark  wrote:
>>
>>> Wrong. It was M$ Lookout, er, Outlook, that introduced top posting by
>>> default.
>>
>> I'm pretty sure that Microsoft email applications were top-posting
>> long before Outlook arrived :-)
>>
> I don't think so. They only got email that was widely used in the early
> nineties, I think - things like Lotus Notes and such were there first, but
> took over *sigh* then.
> <http://en.wikipedia.org/wiki/Microsoft_Outlook> says that there was an
> "Exchange client", but then shows Outlook going back to Outlook for DOS
> and Win 3.1.

I'm thinking specifically of Microsoft Mail[1], which I remember using
in 1991. I don't remember seeing Outlook until the mid 90s.

Dave...

[1] https://en.wikipedia.org/wiki/Microsoft_Mail

-- 
Dave Cross :: d...@dave.org.uk
http://dave.org.uk/
@davorg
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Sorry

2014-05-19 Thread Dave Cross
On 19 May 2014 13:06, mark  wrote:

> Wrong. It was M$ Lookout, er, Outlook, that introduced top posting by default.

I'm pretty sure that Microsoft email applications were top-posting
long before Outlook arrived :-)

Dave...

-- 
Dave Cross :: d...@dave.org.uk
http://dave.org.uk/
@davorg
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Sorry

2014-05-17 Thread Dave Stevens
Quoting Alexander Dalloz :

> Am 17.05.2014 23:22, schrieb Always Learning:
>>
>> Top posting ALWAYS makes sense when the poster has included nearly 200
>> lines of redundant and time-wasting waffle from previous posters.
>
> False argument.
>

+1

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


Re: [CentOS] Death of dyndns

2014-04-15 Thread Dave Stevens
Quoting Timothy Murphy :

> I'm running two servers, one with a fixed IP address
> and the other with a dynamic address.
>
> This is probably a very ignorant question,
> but what does dyndns do that I could not do myself?

In principle, nothing. But you aren't their use case. At wikipedia's  
page on dyn is, "Dyn was conceived as an open source, community-led  
student project back by Jeremy Hitchcock, Tom Daly, Tim Wilde and  
Chris Reinhardt while pursuing undergraduate studies at Worcester  
Polytechnic Institute.[2] In the beginning, Dyn enabled students to  
access lab computers and print documents remotely. The project quickly  
outgrew its original purpose and soon gravitated towards domain name  
system (DNS) services. The first iteration was a free dynamic DNS  
service known as DynDNS, which allowed users to register a subdomain  
that points to a computer with regularly changing IP addresses, such  
as those served by many consumer-level Internet service providers. An  
update client installed on the user's computer, or built into a  
networked device, such as a router or webcam, keeps the hostname up to  
date with its current IP address.

"This free service eventually became costly for the founders to  
support. Looking to gauge interest, the project was set to be shut  
down unless users were able to reach a $25,000 fundraising goal. They  
ended up raising over $40,000." There's more.

So with sufficient free time and education and resources anyone could  
do what dyn did. They commodified it and made it easy for  
non-specialists, that's all.

Dave

>
> --
> Timothy Murphy
> e-mail: gayleard /at/ eircom.net
> School of Mathematics, Trinity College, Dublin 2, Ireland
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 

I and the public know
What all schoolchildren learn,
Those to whom evil is done
Do evil in return.
  -- W. H. Auden






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


Re: [CentOS] Setup a devel environment for perl modules

2014-04-02 Thread Dave Cross
On 1 April 2014 07:50, C. L. Martinez  wrote:

>  But, anyone knows if it is possible to build a confident devel
> environment under  CentOS with some tool to build rpm's perl modules
> without breaking anything in CentOS systems??

This is now rather out of date. But it will give you a start.

http://www.slideshare.net/davorg/perl-in-rpmland-presentation

Basically, "cpanspec" will build you a spec file which you can then
use with "rpmbuild" to make your rpm.

Dave...

-- 
Dave Cross :: d...@dave.org.uk
http://dave.org.uk/
@davorg
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] new Centos 6.5 32 bit yum issue

2014-02-18 Thread Dave Stevens
Quoting Earl A Ramirez :

> On 19 February 2014 03:01, Dave Stevens  wrote:
>
>> When I fire up the virtualbox VM Centos starts as I would expect, but
>> when I try to use yum list updates (or any of several other yum
>> command I've tried) I get a repo error - "
>> Loaded plugins: fastestmirror
>> Loading mirror speeds from cached hostfile
>> Could not retrieve mirrorlist
>> http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was
>> 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
>> Error: Cannot find a valid baseurl for repo: base
>>
>> I looked in the repo.d and the base CentOS-Base.repo suggests that if
>> the mirrorlist= does not work I should try the commented out baseurl=
>> instead. But I don't seem to have nano and can't install it - yum
>> install fails as above.
>>
>> Ideas?
>>
>> Dave
>>
>>
>>
>> --
>> Advertising is the rattling of a stick inside a swill bucket - George
>> Orwell
>>
>> Does the VirtualBox VM have access to the internet, are there any proxy
> setting on the host?

seems so - I have a terminal and can ping out and ftp, the host  
computer is a home ubuntu box on a wifi network, I'm typing right now  
on another computer on the same network, I'm not aware of any  
connectivity issues, I haven't set up any proxy.

Dave

>
>
>>
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
>
>
> --
> Kind Regards
> Earl Ramirez
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Advertising is the rattling of a stick inside a swill bucket - George Orwell



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


[CentOS] new Centos 6.5 32 bit yum issue

2014-02-18 Thread Dave Stevens
When I fire up the virtualbox VM Centos starts as I would expect, but  
when I try to use yum list updates (or any of several other yum  
command I've tried) I get a repo error - "
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist  
http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base

I looked in the repo.d and the base CentOS-Base.repo suggests that if  
the mirrorlist= does not work I should try the commented out baseurl=  
instead. But I don't seem to have nano and can't install it - yum  
install fails as above.

Ideas?

Dave



-- 
Advertising is the rattling of a stick inside a swill bucket - George Orwell



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


Re: [CentOS] Best configuration for encrypted software RAID 1?

2013-10-09 Thread Dave Johansen
On Fri, May 17, 2013 at 8:21 AM, Dave Johansen wrote:

> On Wed, May 15, 2013 at 9:42 AM, SilverTip257 
> wrote:
> >
> > On Wed, May 15, 2013 at 12:25 PM, Digimer  wrote:
> >
> > > On 05/15/2013 12:22 PM, Dave Johansen wrote:
> > > > I'm setting up a computer with CentOS 6.4 and a mirrored software
> > > > RAID. I would like it to be encrypted so I was wondering what the
> best
> > > > configuration is. The only info I could find is
> > > >
> http://lists.centos.org/pipermail/centos-docs/2008-October/001912.html
> > > > but it appears to be a bit old and the info on the wiki (
> > > > http://wiki.centos.org/HowTos/EncryptTmpSwapHome ) doesn't seem to
> > > > address RAIDs.
> > > >
> > > > My main question is will it be better to encrypt the RAID itself or
> > > > the two partitions used by the RAID? Any other things I should be
> > > > aware of?
> > > >
> > > > Thanks,
> > > > Dave
> > >
> > > This depends on your use-case. Personally, I want my servers to be able
> > > to boot headless, so I leave /boot,  and / unencrypted, RAID or
> > >
> >
> > /boot absolutely can't be encrypted
> >
> > I use LUKS in conjunction with Serial over LAN ... otherwise I'd have to
> > manually mount (or script it) so my encrypted volume is mounted.  In my
> > case as well, I only have the volume where my backup data goes ... so
> > /boot, /, and others are not encrypted (no need).
> >
> >
> > > not. Then I encrypt the LV (or partition) I am going to put data I care
> > > about on. I don't think there is any benefit to encrypting the
> > > partitions behind the MD device as it won't be able to form until you
> > > decrypt the devices. I'd keep crypt on the resulting /dev/mdX, at the
> > > lowest.
> > >
> >
> > Create a software raid array and then create your LUKS encrypted volume
> on
> > top of that md device.  It is *highly recommended* to write random data
> to
> > the underlying disk device prior to creating the LUKS volume.  I believe
> I
> > referenced [0] on the Arch Linux wiki a bunch way back when, but you'll
> > find other great references on the Gentoo wiki as well.
> >
> > cryptsetup is the utility you're looking for.  (As I'm sure you already
> > know...since your mailing list link mentions it.) :)
> >
> >
> > >
> > > Again, it depends on your use-case.
> > >
> > > --
> > > 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
> > > http://lists.centos.org/mailman/listinfo/centos
> > >
> >
> >
> > [0] https://wiki.archlinux.org/index.php/Dm-crypt_with_LUKS
>
> Thanks for the feedback. I'm actually doing this through an Anaconda
> config file and I'm using the following settings:
>
> part raid.boota --size=500 --ondisk sda
> part raid.bootb --size=500 --ondisk sdb
> raid /boot --fstype=ext4 --level=1 --device=md0 raid.boota raid.bootb
> part raid.slasha --grow --size=500 --ondisk sda
> part raid.slashb --grow --size=500 --ondisk sdb
> raid / --fstype=ext4 --level=1 --encrypted --passphrase=
> --device=md1 raid.slasha raid.slashb
>
> Is that the "right" way to do it? Or is there a configuration that
> would work better?
>

For the sake of anyone who reads this later. --fsprofile=ext4 needs to be
specified on the partition definition lines so that it will be use the
proper parameters. When it's not specified, only the defaults are used are
performance is significantly degraded.

So the above definition would look like this:
part raid.boota --fsprofile=ext4 --size=500 --ondisk sda
part raid.bootb --fsprofile=ext4 --size=500 --ondisk sdb
raid /boot --fstype=ext4 --level=1 --device=md0 raid.boota raid.bootb
part raid.slasha --fsprofile=ext4 --grow --size=500 --ondisk sda
part raid.slashb --fsprofile=ext4 --grow --size=500 --ondisk sdb
raid / --fstype=ext4 --level=1 --encrypted --passphrase=
--device=md1 raid.slasha raid.slashb

You can see info about it here:
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/s1-kickstart2-options.html
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RH developer toolset

2013-09-16 Thread Dave Johansen
On Fri, Sep 13, 2013 at 11:45 AM, Connie Sieh  wrote:
> On Fri, 13 Sep 2013, Jerry Geis wrote:
>
>> I saw an article this morning about the RH developer toolset.
>
> There were 2 different "products" released from RH this week.  Developer
> Toolset 2 was released which includes gcc 4.8 and  eclipse 4.3 .
>
> Software Collections 1 was also released and it contains
>
> "Ruby 1.9.3 with Rails 3.2.8, Python 2.7, Python 3.3, PHP 5.4, Perl 5.16.3,
> and a Technology Preview of node.js 0.10 .
>
> Runtime databases: MySQL 5.5, MariaDB 5.5, and PostgreSQL 9.2" "
>
> Both of these products use "Software Collections Technology"

Here's the link to the announcement for anyone interested:
http://developerblog.redhat.com/2013/09/12/rhscl1-ga/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RH developer toolset

2013-09-13 Thread Dave Johansen
On Fri, Sep 13, 2013 at 5:13 AM, Jerry Geis  wrote:
> I saw an article this morning about the RH developer toolset.
> basically it includes a couple of packages like PHP python mysql (etc) that
> are later packages than that included in the released version like a 6.4
> for example.
> So instead of php 5.3 with patches it would be php 5.4 and so on.
>
> That is great for a couple packages - but what about more up to date
> libraries like glib. 6.4 is way behind on glib. Like a couple years behind.
>
> Are there any plans in the "toolset" to update core libraries also?

There's a test build of devtoolset 1.1 available at:
http://people.centos.org/tru/devtools-1.1/

devtoolset 2.0 was just released this week, but to my knowledge
there's not a build of it available yet for CentOS.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RPM Build Guidance

2013-09-03 Thread Dave Johansen
On Tue, Sep 3, 2013 at 7:56 PM, Mark LaPierre  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hey All,
>
> Is there someone here on the list that has experience building RPM
> install files?  I've never done it before.  I'm looking for someone
> who is willing to do a little hand holding.
>
> I just built Musescore from source.  I hope to build an install RPM
> from the resulting files.

I just went through the process of learning how to package .rpms
myself, and the short version is that you need to write a "spec file"
that goes in the source rpm along with the source tarball. The spec
file is basically the list of instructions that define what's
required, how to build it, and how to package it into a rpm.

As far as getting things setup to build from a .spec file, this is the
best source that I found:
http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment

There's an overview/walk through of a spec files can be found at:
http://www.rpm.org/max-rpm/ch-rpm-inside.html

Those two sources with a little googling, inspection of existing spec
files, and a few mailing list posts got me up to speed pretty quickly.

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


Re: [CentOS] Red Hat CEO: Go Ahead, Copy Our Software

2013-08-16 Thread Dave Johansen
On Thu, Aug 15, 2013 at 2:28 PM, John R Pierce  wrote:
> On 8/15/2013 2:22 PM, Eddie G. O'Connor Jr. wrote:
>> And RedHat really DOESN'T own any of the source code it sells!
>
> redhat doesn't sell the source code.  they sell their support services
> and infrastructure.

I agree completely, but the way that they've handled the devtoolset
just seems a bit odd. It's definitely a VERY nice to have an updated
toolchain available, but why is a separate product? It is available
for install with CentOS ( http://people.centos.org/tru/devtools-1.1/ )
but the issue is that there's no clear way to use the compilers in the
devtoolset with the EPEL and that's VERY unfortunate in my opinion.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-14 Thread Dave Johansen
On Wed, Aug 14, 2013 at 8:39 AM, Les Mikesell  wrote:
>
> On Wed, Aug 14, 2013 at 10:17 AM, Dave Johansen  
> wrote:
> >
> > The issue is that I have two machines and one has hardware support for
> > virtualization but doesn't support x64, and the other is flipped. So I
> > was hoping to be able to it on the 32-bit machine to get the speed up
> > from hardware support, but I guess I'll just do it on the 64-bit
> > machine and pay the price of emulation.
>
> What processor does hardware virtualization but isn't 64-bit?

An Intel T2400 does:
http://ark.intel.com/products/27235/Intel-Core-Duo-Processor-T2400-2M-Cache-1_83-GHz-667-MHz-FSB

Intel was slow to get on the 64-bit band wagons and it took a while
until they moved their whole lower end line to having 64-bit support.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-14 Thread Dave Johansen
On Tue, Aug 13, 2013 at 2:16 PM, Les Mikesell  wrote:
>
> On Mon, Aug 12, 2013 at 10:56 AM, Dave Johansen  
> wrote:
> >>>
> >> I suggest you use VirtualBox, or some other distro.
> >
> > I'll really like CentOS/RHEL and will definitely stick with it.
>
> Virtualbox isn't 'instead of' CentOS'  it is 'instead of KVM' as a
> virtualization layer.  Not sure how much difference there is in
> capability, other than being available for many more platforms,
> including 32-bit linux.  There should be some overlap in supported
> image formats.  I've moved vmdk's created on vmware to both, but I'm
> not sure what others they each handle.
>
> > The
> > point of my questions wasn't to complain or any like that, but just
> > surprise because it seemed that the no 32 bit support didn't line up
> > with my experience and just trying to make sure I understood
> > everything.
>
> If you have hardware support for virtualization, you should probably
> be running 64-bit Centos with KVM and not much else at the host OS
> level.  If you have applications that need 32-bit, they could run in a
> guest.

The issue is that I have two machines and one has hardware support for
virtualization but doesn't support x64, and the other is flipped. So I
was hoping to be able to it on the 32-bit machine to get the speed up
from hardware support, but I guess I'll just do it on the 64-bit
machine and pay the price of emulation.

The reason I want to use virtualization is not on a big server, but
just as a way to test builds/software on different OS versions for
submission to the EPEL and Fedora. So not everyone in the world is
using virtualization for server type stuff, but I realize that is the
large majority of the use cases.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-12 Thread Dave Johansen
On Fri, Aug 9, 2013 at 2:31 PM, Ljubomir Ljubojevic  wrote:
>
> On 08/09/2013 05:35 PM, John Doe wrote:
> > From: Dave Johansen 
> >
> >>>   > I just did a clean net install of CentOS 6.4 and when I run
> >>>   > virt-manager it says that qemu-kvm is missing, but when I try to
> >>>   > install it with yum it says that there isn't a package with that
> >>>   > name. Is something wrong with my configuration? Or what is causing
> >>>   > this package to appear as not available? Thanks,
> >>
> >> It's a 32-bit install.
> >
> > Google told me:
> > "Whilst previous versions of RHEL supported KVM on both 32-bit and 64-bit 
> > systems, as of RHEL 5.4 support for KVM virtualization is only available 
> > for 64-bit (x86_64 architecture) versions of the operating system."
> > But I never played with it so I cannot confirm...
> >
> > JD
>
> I have a kvm-84 rpm and src.rpm for CentOS 5.x (Levente's) and run a
> 32-bit KVM host for few years, but I never played with CentOS 6, never
> needed it.
>
> http://rpms.plnet.rs/plnet-centos5-srpms-srpms/RPMS.plnet/kvm-kmod-84-1.el5.src.rpm
>
> I suggest you use VirtualBox, or some other distro.

I'll really like CentOS/RHEL and will definitely stick with it. The
point of my questions wasn't to complain or any like that, but just
surprise because it seemed that the no 32 bit support didn't line up
with my experience and just trying to make sure I understood
everything.

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


Re: [CentOS] qemu-kvm package?

2013-08-09 Thread Dave Johansen
On Fri, Aug 9, 2013 at 9:03 AM, Dennis Jacobfeuerborn
 wrote:
>
> On 09.08.2013 17:39, Dave Johansen wrote:
> > On Fri, Aug 9, 2013 at 8:24 AM, Patrick Hurrelmann
> >  wrote:
> >>
> >> On 09.08.2013 17:21, Dave Johansen wrote:
> >>> On Fri, Aug 9, 2013 at 8:15 AM, lists-centos
> >>>  wrote:
> >>>>
> >>>>
> >>>>
> >>>>  Original Message 
> >>>>> Date: Friday, August 09, 2013 08:04:08 AM -0700
> >>>>> From: Dave Johansen 
> >>>>> To: CentOS mailing list 
> >>>>> Cc:
> >>>>> Subject: [CentOS] qemu-kvm package?
> >>>>>
> >>>>> I just did a clean net install of CentOS 6.4 and when I run
> >>>>> virt-manager it says that qemu-kvm is missing, but when I try to
> >>>>> install it with yum it says that there isn't a package with that
> >>>>> name. Is something wrong with my configuration? Or what is causing
> >>>>> this package to appear as not available? Thanks,
> >>>>> Dave
> >>>>
> >>>> Is this install on a 32-bit machine?
> >>>>
> >>>> It's there for 64-bit, but I don't see it for 32-bit.
> >>>>
> >>>>
> >>>> - Richard
> >>>
> >>>
> >>> It's a 32-bit install.
> >>
> >> kvm is not supported on 32bit installs in rhel/centos.
> >
> > Really? Is there a reason why that is the case? Because the hardware
> > supports it and so is it just that the software doesn't support
> > 32-bit? That's kind of surprising because my experience has usually
> > been that if both weren't supported then it was 64 bit that was
> > lacking.
>
> Nowadays you should always install 64 bit. 32 bit is a legacy
> architecture and should not be used unless you absolutely have no other
> choice.

Unfortunately, for me that is the case. The laptop I was doing this on
(Thinkpad T60) doesn't support x64.

But the "32 bit is legacy" argument seems a bit odd and that's the
first time I've heard that. Maybe I'm just a bit out of that loop, but
the reason I say that is that before doing this install, I had Fedora
19 on the machine and kvm worked just fine on the machine, so if it
really was that "32 bit" wasn't being supported for things like kvm
anymore, then why does a "cutting edge" system like Fedora 19 have
support for it?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-09 Thread Dave Johansen
On Fri, Aug 9, 2013 at 8:24 AM, Patrick Hurrelmann
 wrote:
>
> On 09.08.2013 17:21, Dave Johansen wrote:
> > On Fri, Aug 9, 2013 at 8:15 AM, lists-centos
> >  wrote:
> >>
> >>
> >>
> >>  Original Message 
> >>> Date: Friday, August 09, 2013 08:04:08 AM -0700
> >>> From: Dave Johansen 
> >>> To: CentOS mailing list 
> >>> Cc:
> >>> Subject: [CentOS] qemu-kvm package?
> >>>
> >>> I just did a clean net install of CentOS 6.4 and when I run
> >>> virt-manager it says that qemu-kvm is missing, but when I try to
> >>> install it with yum it says that there isn't a package with that
> >>> name. Is something wrong with my configuration? Or what is causing
> >>> this package to appear as not available? Thanks,
> >>> Dave
> >>
> >> Is this install on a 32-bit machine?
> >>
> >> It's there for 64-bit, but I don't see it for 32-bit.
> >>
> >>
> >>- Richard
> >
> >
> > It's a 32-bit install.
>
> kvm is not supported on 32bit installs in rhel/centos.

Really? Is there a reason why that is the case? Because the hardware
supports it and so is it just that the software doesn't support
32-bit? That's kind of surprising because my experience has usually
been that if both weren't supported then it was 64 bit that was
lacking.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm package?

2013-08-09 Thread Dave Johansen
On Fri, Aug 9, 2013 at 8:15 AM, lists-centos
 wrote:
>
>
>
>  Original Message 
> > Date: Friday, August 09, 2013 08:04:08 AM -0700
> > From: Dave Johansen 
> > To: CentOS mailing list 
> > Cc:
> > Subject: [CentOS] qemu-kvm package?
> >
> > I just did a clean net install of CentOS 6.4 and when I run
> > virt-manager it says that qemu-kvm is missing, but when I try to
> > install it with yum it says that there isn't a package with that
> > name. Is something wrong with my configuration? Or what is causing
> > this package to appear as not available? Thanks,
> > Dave
>
> Is this install on a 32-bit machine?
>
> It's there for 64-bit, but I don't see it for 32-bit.
>
>
>- Richard


It's a 32-bit install.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] qemu-kvm package?

2013-08-09 Thread Dave Johansen
I just did a clean net install of CentOS 6.4 and when I run virt-manager it
says that qemu-kvm is missing, but when I try to install it with yum it
says that there isn't a package with that name. Is something wrong with my
configuration? Or what is causing this package to appear as not available?
Thanks,
Dave
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Update to Gnome 3

2013-07-29 Thread Dave Johansen
On Mon, Jul 29, 2013 at 1:59 PM,  wrote:
>
>
> > That's the concept behind the classic mode that was added as part of
> > Gnome 3.8 and will be the default desktop on RHEL 7. Its user
> > experience is right in line with Gnome 2 and isn't too much off a
> > shift for existing users of RHEL, so I don't think there's any reason
> > to get out the pitchforks.
>
>  Classic mode is a joke. I've tried it briefly on F19 and only agree
>  with
> http://forums.fedoraforum.org/showpost.php?s=d8e300363d613f371d2f39a913480ca9&p=1654983&postcount=2.
>  We want our users to be productive from day one. Fiddling around with
>  this extension and that extension for 28 days to get a usable desktop
>  is not an option (although Gallagher's review is quite good in most
> regards,

I would disagree with that statement. I've always felt that Nautilus
was a horrible interface and I've always been perplexed by the default
behavior of opening a new window when I click on a folder. So you're
never gonna make everyone happy.

> http://sgallagh.wordpress.com/2013/05/30/one-week-with-gnome-3-classic-prologue/.
>
>  I'm looking forward to the first RHEL7 beta to see first hand what we
>  will be having to deal with. Haven't seen much more than RH Summit
>  presentations yet.

Have you even tried the classic mode? From the times that I've used
it, it is pretty close to a Gnome 2 style of user interface and it
seemed like it would be pretty familiar to anyone that's used to Gnome
2.

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


Re: [CentOS] Update to Gnome 3

2013-07-28 Thread Dave Johansen
On Sat, Jul 27, 2013 at 2:59 PM,  wrote:
>
> Andrew Wyatt top-posted:
> > In addition to building GTK3, they would also have to update glib2,
> > glibc, atk, and roughly a dozen or more additional packages to support
> > just building base GNOME 3.
>
> And that's not where it ends. A potentially much more fundamental and
> system-changing requirement may be systemd, which other distros already
> require for Gnome 3, e.g. Gentoo.
>
> Johnny Hughes writes:
> > I would recommend that if you really MUST have gnome 3, you either use
> > gnome2 now and wait for RHEL-7 to be released (then we will release
> > CentOS-7 ... which will have gnome3)
>
> I'm not looking forward to this. RedHat needs to undertake major efforts
> to make this travesty of a desktop usable or we will be looking at
> massive retraining costs for hundreds of thousands, if not more, users
> across the board.

That's the concept behind the classic mode that was added as part of
Gnome 3.8 and will be the default desktop on RHEL 7. Its user
experience is right in line with Gnome 2 and isn't too much off a
shift for existing users of RHEL, so I don't think there's any reason
to get out the pitchforks.

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


[CentOS] Permissions of mercurial-hgk?

2013-06-16 Thread Dave Johansen
I just installed mercurial-hgk on CentOS 6.4 x86 and the permissions
were set so that it couldn't be run by a non-root user. The two files
that had incorrect permissions were:
/usr/libexec/mercurial/
/usr/libexec/mercurial/hgk

Is that an issue with CentOS? Or is it an issue that I should open a
bugzilla against RHEL for?

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


[CentOS] Proper method to report no input on unlock screen?

2013-05-30 Thread Dave Johansen
I'm using 32-bit CentOS 6.4 and having an issue with not being able to
type any input on the unlock screen when resuming from sleep while
docked on a Thinkpad T60.

It's basically appears to be the same issue as reported here:
https://bugzilla.redhat.com/show_bug.cgi?id=594696

What's the proper way to handle this? Do I open a bug in the CentOS
repo? Or do I open a bugzilla with RedHat?

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


Re: [CentOS] Best configuration for encrypted software RAID 1?

2013-05-28 Thread Dave Johansen
On Tue, May 21, 2013 at 8:15 PM, SilverTip257  wrote:
>
> On Tue, May 21, 2013 at 3:53 PM, Markus Falb  wrote:
>
> >
> > On 15.Mai.2013, at 18:22, Dave Johansen wrote:
> >
> > > My main question is will it be better to encrypt the RAID itself or
> > > the two partitions used by the RAID?
> >
> > encrypt data once and let md mirror the encrypted stuff
> >
>
> Certainly the simplest.
> +1 for LVM inside the LUKS volume  ;)
>
>
> > or
> > let md mirror and encrypt data twice, once per raid member.
> >
>
> In my example, my swap was striped, so it made sense (but with the price of
> RAM there's hardly an excuse for swapping to disk!).
>
>
> >
> > Encryption is CPU hungry.
> >
>
> I'll second this.  I've noticed the iowait is fairly high on my offsite
> encrypted backup server (backups are on software raid with LUKS on top).
>  And the kcryptd process consumes a fair bit of cpu time.
>
>
> > Performance wise the winner seems clear.
> >
>
> And kcrypd isn't SMP aware [0] (unless that has changed) so there's another
> bottleneck.
>
> [0] http://www.redhat.com/archives/dm-devel/2009-April/msg00151.html

Thanks for all the feedback. I just wanted to make sure that there
wasn't some gotcha that I was missing or any slight tweak that would
improve performance, but it sounds like there's not.
Thanks,
Dave
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Best configuration for encrypted software RAID 1?

2013-05-21 Thread Dave Johansen
On Mon, May 20, 2013 at 2:07 PM, SilverTip257  wrote:
>
> On Fri, May 17, 2013 at 9:48 PM, Dave Johansen
> wrote:
>
> > On Fri, May 17, 2013 at 12:04 PM, SilverTip257 
> > wrote:
> > >
> > > On Fri, May 17, 2013 at 12:42 PM, SilverTip257  > >wrote:
> > >
> > > > On Fri, May 17, 2013 at 11:21 AM, Dave Johansen <
> > davejohan...@gmail.com>wrote:
> > > >
> > > >>
> > > >> >
> > > >> > [0] https://wiki.archlinux.org/index.php/Dm-crypt_with_LUKS
> > > >>
> > > >> Thanks for the feedback. I'm actually doing this through an
> > > >> Anaconda
> > > >> config file and I'm using the following settings:
> > > >>
> > > >> part raid.boota --size=500 --ondisk sda
> > > >> part raid.bootb --size=500 --ondisk sdb
> > > >> raid /boot --fstype=ext4 --level=1 --device=md0 raid.boota
> > > >> raid.bootb
> > > >> part raid.slasha --grow --size=500 --ondisk sda
> > > >> part raid.slashb --grow --size=500 --ondisk sdb
> > > >> raid / --fstype=ext4 --level=1 --encrypted
> > > >> --passphrase=
> > > >> --device=md1 raid.slasha raid.slashb
> > > >>
> > > >> Is that the "right" way to do it? Or is there a configuration that
> > > >> would work better?
> > > >>
> > > >
> > > > That looks right.  Maybe somebody else will have a tip.
> > > >
> > >
> > > You might also reference the advanced example here [0].
> > >
> > > [0]
> > >
> >
> > http://www.centos.org/docs/5/html/Installation_Guide-en-US/s1-kickstart2-options.html#s2-kickstart2-options-part-examples
> >
> > That example is helpful for the RAID stuff, but it doesn't show an
> > example of encryption and so that's what my question is really about.
> > Should the raid line have the encryption like I have in my example? Or
> > should it be on each of the partitions? I'm just curious if there's a
>
>
> It is impossible to encrypt /boot... (you only have one other partition =>
> root)
> Single LUKS volume = ease of management?  So I'm thinking LUKS with LVM
> inside.

Yes, just ease of management. We're not going to be adding/changing
disks or anything and only having to type a single passphrase is best.

> If you encrypt root, but don't encrypt swap you could be exposing data.
> As far as I've seen if you encrypt root, then you encrypt swap and
> most/all
> other partitions.  It really depends on what you want encrypted (remember
> there will be some CPU cycles and additional I/O wait).

Thanks for the reminder, but we're actually not using swap on this system.

> > pro/con to each of those options. My very basic/quick testing seemed
> > to indicate that doing it on the raid line was the better solution,
> >
>
> ** Where else would you place the encryption?  (Please list of scenarios.)
> **

The encryption could be on the individual partitions and then the raid
would use the two encrypted partitions. I tried this and it seemed
that then there were two encryption processes running so my very
simple testing seemed to indicate that this sort of configuration
would double the CPU usage.

> You'll notice I choose not to put the LUKS passphrase in plain text in the
> kickstart config (Anaconda asks for one before partitioning the disks).
>
> I have an example below with and without LVM.  I've done non-LVM encrypted
> setups in the past, so I haven't tested that recently.  But the
> raid+luks+lvm I kickstarted on a test VM (notice the virtio disks).

Thanks the examples are good for comparison.

> > but I was just wondering if anyone had experience with this?
> >
>
> # clears ALL partitions on ALL drives
> clearpart --all --initlabel
>
> # set up software raid arrays
> part raid.01 --size=512 --asprimary --ondisk=vda
> part raid.02 --size=512 --asprimary --ondisk=vdb
> part raid.03 --size=1024 --asprimary --ondisk=vda
> part raid.04 --size=1024 --asprimary --ondisk=vdb
> part raid.05 --size=5120 --asprimary --grow --ondisk=vda
> part raid.06 --size=5120 --asprimary --grow --ondisk=vdb
>
> # set up partitions on the software raid array (no LVM)
> #raid /boot --fstype=ext4 --level=RAID1 raid.01 raid.02
> #raid swap --fstype=swap --level=RAID0 raid.03 raid.04 --encrypted
> #raid / --fstype=ext4 --level=RAID1 raid.05 raid.06 --encrypted
> ##
> # OR #
> ##
> # set up partitions on the software raid array (with LVM)
> raid /boo

  1   2   3   4   5   >