Re: [CentOS] dnf via ansible fails if baseurl is used on CentOS 8

2020-11-26 Thread Thomas Eriksson
>
>
> I ran into an odd issue on CentOS 8, anyone seen this?
>
>
> When repos are configured to use baseurl instead of mirrorlist, the
> ansible dnf module fails.
>
> It is as if it is ignoring the baseurl configuration.
>
>
> #mirrorlist=http://mirrorlist.centos.org/?release=$releasever=$basearch=BaseOS=$infra
> baseurl=http://my.local.repo.server/$contentdir/$releasever/BaseOS/$basearch/os/

Are you using a proxy somehow? Do you have proxy environment variables set
in your shell environment which may not exist in the ansible environment?


Thanks for the suggestion!

In the end it turned out the ansible version (2.7.7) on the that machine I run 
ansible from is not handling dnf commands correctly.
Once ansible was updated to 2.9.15 on the ansible master, it works fine.

/Thomas

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


[CentOS] dnf via ansible fails if baseurl is used on CentOS 8

2020-11-26 Thread Thomas Eriksson
Hi,


I ran into an odd issue on CentOS 8, anyone seen this?


When repos are configured to use baseurl instead of mirrorlist, the ansible dnf 
module fails.

It is as if it is ignoring the baseurl configuration.


#mirrorlist=http://mirrorlist.centos.org/?release=$releasever=$basearch=BaseOS=$infra
baseurl=http://my.local.repo.server/$contentdir/$releasever/BaseOS/$basearch/os/


If trying to use the dnf module in ansible, dnf is still trying to find a 
mirror to use and fails.

ansible  test-build-0  -m dnf  -a "name=zsh state=present"
test-build-0 | FAILED! => {
"changed": false,

"msg": "Failed to download metadata for repo 'BaseOS': Cannot download 
repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried",

"rc": 1,
"results": []
}

Using dnf locally from the command line works fine with baseurl


If I re-configure with repos using mirrorlist again, ansible dnf works as 
expected.

Just looking for ideas...


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


Re: [CentOS] Systemd debug logging turned on in CentOS 7

2017-02-28 Thread Thomas Eriksson
On 02/28/2017 08:55 AM, Brian Mathis wrote:
> On Tue, Feb 28, 2017 at 10:49 AM, Valeri Galtsev 
> wrote:
> 
>>
>> On Tue, February 28, 2017 9:22 am, Rob DeSanno wrote:
>>> Last time I saw it, I had just upgraded my CentOS 7 box with the
>>> 3.10.0-514 kernel and it rebooted already configured into debug mode.
>> Not
>>> sure if this is a “feature† of the newer kernels or not but glad to
>>> see that i’m not the only one who had noticed this.
>>>
>>> # awk -F\' '$1=="menuentry " {print i++ " : " $2}' /etc/grub2.cfg
>>> 0 : CentOS Linux (3.10.0-514.6.2.el7.x86_64) 7 (Core)
>>> 1 : CentOS Linux (3.10.0-514.6.2.el7.x86_64) 7 (Core) with debugging
>>> 2 : CentOS Linux (0-rescue-7b37bcbe36eb420fb6426976c41b0aaf) 7 (Core)
>>> 3 : CentOS Linux (0-rescue-7b37bcbe36eb420fb6426976c41b0aaf) 7 (Core)
>> with
>>> debugging
>>
>> I am not certain if there is real harm to have kernel with all debug stuff
>> running on production machines. Probably no harm security wise, the only
>> unpleasant stuff is: you really would prefer to run as slim kernel as
>> possible on production systems. If I'm wrong about "no harm", somebody
>> chime in, I then will be really eager to address it on my boxes.
>>
>> Valeri
>>
>>
> 
> Main issue I've seen is that logs grow by an order of magnitude larger than
> when it's off, due to systemd being systemd and now running in debug mode.
> Other than disk space, it would affect any central logging system you have
> with lots of unnecessary traffic, and would also add a lot of IO, amplified
> if you have many machines running on a VM host.
> 
> ~ Brian Mathis
> @orev


Just to put the record straight; it's not related to kernel debugging
being enabled or not. It's systemd debugging that is being turned on
for all menu entries, kernel debug or not.

Anyway, I think I have found a pattern. Only those machines that were
updated from 7.2 to 7.3 using the CR repo are showing this behaviour.
New 7.3 installs are fine. I'll just clean up the machines affected
and move on. There must have been some debug config left in an
installation script in one of the CR rpms.

thanks to everyone responding,

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


[CentOS] Systemd debug logging turned on in CentOS 7

2017-02-27 Thread Thomas Eriksson
Hi,

I noticed that some, but not all, of my CentOS 7 machines have these
kernel parameters for turning on systemd debug level logging added to
the grub.cfg file.

  systemd.log_level=debug systemd.log_target=kmsg

The parameters are *not* in the /etc/default/grub file, so if I rebuild
grub.cfg with grub2-mkconfig, they disappear.

I am a bit puzzled over how they got introduced.
Has anyone else seen this?

thanks,

Thomas



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


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

2016-08-03 Thread Thomas Eriksson
On 08/03/2016 05:23 PM, Alice Wonder wrote:
> On 08/03/2016 05:20 PM, Alice Wonder wrote:
>> On 08/03/2016 05:11 PM, Alice Wonder wrote:
>>> I'm having a major frustration with curl.
>>>
>>> When building curl, if libssl.so.10 is present the curl binary WILL link
>>> against it.
>>
>> *snip*
>>
>> Go ahead and ldd on the CentOS curl binary and library - you will see
>> openssl linked even though the spec file has --disable-ssl and
>> --enable-nss
>>
>> It's clearly broken.
>>
> 
> And building the CentOS curl package doesn't even BuildRequires the
> openssl-devel package.
> 
> It's linking against a library it doesn't have the headers for.
> 
> That's broken.

I haven't looked at how curl is built, butit is likely that the build
links against some other package that is, in turn, built against
OpenSSL.

You would not need the openssl-devel package to do that, only the
runtime libraries.

It looks like that package could be libssh2...

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


Re: [CentOS] ElasticSearch Logrotate not working

2016-07-28 Thread Thomas Eriksson
On 07/28/2016 07:40 AM, Tim Dunphy wrote:
> Hey guys,
> 
>  I have this log rotation script setup in my /etc/logrotate.d folder
> 
> /var/log/elasticsearch/*.log {
> daily
> rotate 100
> size 50M
> copytruncate
> compress
> delaycompress
> missingok
> notifempty
> create 644 elasticsearch elasticsearch
> }
> 
> And I notice that log files are still being generated that are upwards of 7
> or 8 GBs. Can anyone point out to me where the script is going wrong, and
> why log files for ES are growing so incredibly big? I would think that
> having that logrotate script in place should solve that problem.
> 
> Thanks,
> Tim
> 

Tim,

First, logrotate only checks the state of the logfiles once a day, so
if your log grows to 8GB in a day, it has no chance to do anything
about it.

Second, elasticsearch is using log4j to control its logs. It has its
own naming and rotation rules and should not need to involve logrotate
at all. See /etc/elasticsearch/logging.yml

Third, if you generate that much logging in a day, maybe lowering the
loglevel, or perhaps there is a problem that should be fixed.

-Thomas


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


Re: [CentOS] CenOS 6.8 and libGL failures

2016-05-31 Thread Thomas Eriksson
On 05/31/2016 09:17 AM, Denniston, Todd A CIV NAVSURFWARCENDIV Crane wrote:
> Curiously my intel 845-G has had gl applications (freecad and wine
> based windows games) STARTED working correctly with this update.
> 
> I see in a latter email that you have a) found a path issue for users
> vs root, and b) you are using nvidia. This reminded me of an issue I
> was having with some GL code I use (jogamp based) and nvidia drivers
> a little over a month ago, this might be something else you want to
> be aware of.
> 
> Nvidia is in the process of making a Vendor-Neutral GL[0], which I
> think is probably a good thing, but they have found that "several
> applications relied on behaviors or attributes of the NVIDIA OpenGL
> driver that fall outside of the Linux OpenGL ABI"[1]. Once I figured
> out it was kmod-nvidia related, this[2] post helped me figure out the
> mapping to the other links. for now I have had to stick our nvidia
> machines at 352.79 until either we get our app working with the
> GLVND API, or elrepo packages a non-GLVND config[1].
> 
> 
> [0] https://github.com/NVIDIA/libglvnd [1]
> https://devtalk.nvidia.com/default/topic/915640/unix-graphics-announcements-and-news/multiple-glx-client-libraries-in-the-nvidia-linux-driver-installer-package/
>
>  [2] https://www.centos.org/forums/viewtopic.php?f=14=57047
> 
> Even when this disclaimer is not here: I am not a contracting
> officer. I do not have authority to make or modify the terms of any
> contract.
> 
>  From: isdtor
> [isd...@gmail.com] Sent: Tuesday, May 31, 2016 7:09 AM To: CentOS
> mailing list Subject: [CentOS] CenOS 6.8 and libGL failures
> 
> Ever since I upgraded to CentOS 6.8, some software has stopped
> working alogether. This is related to OpenGL/mesa and can be
> demonstrated with glxgears:
> 
> $ glxgears libGL error: No matching fbConfigs or visuals found libGL
> error: failed to load driver: swrast X Error of failed request:
> BadValue (integer parameter out of range for operation) Major opcode
> of failed request:  154 (GLX) Minor opcode of failed request:  3
> (X_GLXCreateContext) Value in failed request:  0x0 Serial number of
> failed request:  33 Current serial number in output stream:  35 $
> 
> This appears to be a common problem, but I found no solutions that
> apply here since I believe everything is installed and set up
> correctly. It all worked with CentOS 6.x, x<8.
> 
> https://www.centos.org/forums/viewtopic.php?t=56273 
> https://ask.fedoraproject.org/en/question/38116/issues-with-libgl-on-fedora-20-unable-to-load-driver-swrast/
>

There is yet another issue with nvidia drivers and indirect GLX, which
will generate almost the same error message. Indirect GLX was disabled
by default in Xorg 1.17, which was introduced in Centos 7.2 and 6.8.

This problem only happens if you run the GL application remotely and
display on nvidia driver enabled screen. It's not clear from the OP
if that is the case here.

The solution would be to add +iglx to Xorg command line, but gdm is
hardcoding the Xorg parameters, so if you use gdm/gnome you are out
of luck.

https://elrepo.org/bugs/bug_view_advanced_page.php?bug_id=610
https://bugzilla.redhat.com/show_bug.cgi?id=1336014


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


Re: [CentOS] Where can I find the CentOS gpg keys?

2016-04-28 Thread Thomas Eriksson
On 04/28/2016 11:50 AM, Albin Otterhäll wrote:
> Hi!
> 
> I'm currently using a non-CentOS system, and wondering where I can find
> the GPG keys so I can verify the checksum file?
> 
> The page on the website (https://www.centos.org/keys/) only give
> information where I can find them on an already installed system.
> 
> Regards,
> Albin
> 

You can find the keys in the top directory of any centos mirror
e.g. http://mirror.centos.org/centos/


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


Re: [CentOS] persistent change of max_stack_depth

2015-08-16 Thread Thomas Eriksson

On Aug 16, 2015 11:20, Leon Fauster leonfaus...@googlemail.com wrote:

 Am 15.08.2015 um 23:38 schrieb Thomas Eriksson 
 thomas.eriks...@slac.stanford.edu: 
  
  On Aug 15, 2015 13:23, Mark Milhollan m...@pixelgate.net wrote: 
  
  On Fri, 14 Aug 2015, Thomas Eriksson wrote: 
  
  If it's centos 6 stick 'ulimit -s' in the init script 
  
  I suggest putting it in the sysconfig file instead, if such exists. 
  
  
  
  Sure, but how many init scripts provide for adding an extra command 
  via sysconfig files? Most of them only allows for adding some predefined 
  options to main service start command. 


 while processing the init script the sysconfig files are sourced and 
 completely 
 parsed as they where part of the init script. So, everything will 
 interpreted. 

 -- 
 LF 
    

Yes, you are absolutely correct, my bad.

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


Re: [CentOS] persistent change of max_stack_depth

2015-08-15 Thread Thomas Eriksson

On Aug 15, 2015 13:23, Mark Milhollan m...@pixelgate.net wrote:

 On Fri, 14 Aug 2015, Thomas Eriksson wrote: 

 If it's centos 6 stick 'ulimit -s' in the init script 

 I suggest putting it in the sysconfig file instead, if such exists. 



Sure, but how many init scripts provide for adding an extra command via 
sysconfig files? Most of them only allows for adding some predefined options to 
main service start command.

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


Re: [CentOS] persistent change of max_stack_depth

2015-08-14 Thread Thomas Eriksson

On Aug 14, 2015 08:45, Jason Warr ja...@warr.net wrote:

 On Fri, 2015-08-14 at 16:31 +0100, Michael H wrote: 
  Hi Thomas, 
  
  
   Could anybody point me in the right direction for setting the kernel 
   parameter, max_stack_depth, to 10240 for database tuning? 
   
   I have currently set it by running 'ulimit -s 10240' but this does not 
   survive a reboot. 
   
   
  
  Thanks for the response, I've been nosing around that file recently but 
  noted the first two lines; 
  
  #This file sets the resource limits for the users logged in via PAM. 
  #It does not affect resource limits of the system services. 
  

 What CentOS version? 

   Look at the file /etc/security/limits.conf 
   
   For documentation, 'man limits.conf' 
   
  
  I added these two lines to the end of the file 
  
  *   soft    stack   12288 
  *   hard    stack   12288 
  
  in an attempt to set the stack depth to 12MB so that I can configure 
  postgresql max_stack_depth = 10MB. 
  
  I rebooted, ulimit -s shows 12288. 
  
  When I restart my service (#It does not affect resource limits of the 
  system services.) becomes apparent. 
  
  Aug 14 16:22:17 db1 pg_ctl[3177]:  2015-08-14 16:22:17.839 BST LOG: 
  invalid value for parameter max_stack_depth: 10240 
  Aug 14 16:22:17 db1 pg_ctl[3177]:  2015-08-14 16:22:17.839 BST DETAIL: 
    max_stack_depth must not exceed 7680kB. 
  Aug 14 16:22:17 db1 pg_ctl[3177]:  2015-08-14 16:22:17.839 BST HINT: 
  Increase the platform's stack depth limit via ulimit -s or local 
  equivalent. 
  
  So, I then run 'ulimit -s 12288' and still can't restart my service. 
  
  How can I increase stack depth for system processes, not just PAM 
  authenticated users? 
  

 If this is CentOS 7 then you may need to put the ulimit directives in the 
 service file. 

 An example is I needed to increase the NOFILE limit for nfs-secure on a 
 Fedora 20 machine so I set 

 LimitNOFILE=16384 

 In /etc/systemd/system/nfs-secure.service 



Jason is probably on the right track here.

If it's centos 6 stick 'ulimit -s' in the init script
If it's centos 7 use LimitSTACK= in the service file

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


Re: [CentOS] dd iso to flash drive

2015-08-13 Thread Thomas Eriksson
On 08/13/2015 11:34 AM, Digimer wrote:
 Booting from the USB requires that there is a syslinux directory to boot
 off of. In EL6, there is only isolinux, which is what booting from a DVD
 uses. You should be able to copy isolinux to syslinux, rename the files
 from s/iso/sys/ and then update syslinux.cfg to point to the USB drive
 to boot from. Here's an example from my setup:
 

Perhaps something went wrong with the 6.7 DVD, I haven't tested yet.
It is definitely supposed to work by just using dd to a USB stick.
Both 6.5 and 6.6 DVDs works just fine and so does the 6.7-network-
install iso. I just installed a node 10 minutes ago using that one
booted from a USB stick.

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


Re: [CentOS] Satellite 6

2015-07-22 Thread Thomas Eriksson
On 07/22/2015 09:38 AM, Kanwar Ranbir Sandhu wrote:
 Hi Everyone,
 
 Since Satellite 6 is an amalgam of other F/OSS projects and is no longer
 solely based on Spacewalk, is a new upstream project for Satellite 6
 going to be created? BEtter yet, is a new upstream project already
 available?
 
 Ranbir
 


The upstream project is called Katello, http://www.katello.org/
It has nothing to do with Spacewalk as far as I can tell.

I have been tinkering with it a bit for a while and it's not too bad.
It still has some maturing to do, at the moment it's fragile and much
too easy to break. It needs a lot more horsepower to run than
Spacewalk, both I/O and CPU.

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


Re: [CentOS] Satellite 6

2015-07-22 Thread Thomas Eriksson
On 07/22/2015 11:46 AM, Kanwar Ranbir Sandhu wrote:
 On 2015-07-22 13:34, Thomas Eriksson wrote:
 The upstream project is called Katello, http://www.katello.org/
 It has nothing to do with Spacewalk as far as I can tell.
 
 Katello is just one piece. Satellite 6 also integrates Candlepin, Puppet
 and more. What I'm wondering is if the entire set of software -
 Satellite 6 as one piece - is going to get a new upstream project.

The Katello project is the whole thing. During installation it pulls in
Foreman, Candlepin, Pulp, Puppet and more.

 
 I have been tinkering with it a bit for a while and it's not too bad.
 It still has some maturing to do, at the moment it's fragile and much
 too easy to break. It needs a lot more horsepower to run than
 Spacewalk, both I/O and CPU.
 
 We're moving to Sat 6 at work. So far it looks pretty neat, but there
 are some bugs that hit our test system hard. They're still not resolved.
 


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


Re: [CentOS] Firefox 39

2015-07-21 Thread Thomas Eriksson
On 07/21/2015 06:22 PM, Richard wrote:
 
 
  Original Message 
 Date: Tuesday, July 21, 2015 09:19:05 PM -0400
 From: TE Dukes tdu...@palmettoshopper.com
  

 -Original Message-
 From: centos-boun...@centos.org 
 [mailto:centos-boun...@centos.org] On Behalf Of Scott Robbins
 Sent: Tuesday, July 21, 2015 9:03 PM

 On Tue, Jul 21, 2015 at 05:47:39PM -0700, Dave Stevens wrote:
 On Tue, 21 Jul 2015 20:40:25 -0400
 TE Dukes tdu...@palmettoshopper.com 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.

 Does this help?

 https://www.reddit.com/r/firefox/comments/3coba7/firefox_39_co
 mpletely_breaks_older_sslv3_pages/

 Untested by me

 --
 Scott Robbins

 Those are the ones I changed in about:config. It didn't work for
 me.

 
 I've been having a similar issue (with an internal router). The
 following from the above link did the trick for me:
 
Found the keys. Go into about:config and search
 
security.ssl3.dhe_rsa_aes
 
It'll return two keys that are set to true. Set them both to
false. Things should load now
 
 I didn't have to restart the browser.
 
 
Sounds like your problem is described in this bug report
https://bugzilla.mozilla.org/show_bug.cgi?id=1181515

Your webmin server probably have an old, less than 1024 bit,
certificate. You should be able to connect with an older browser
and update the certificate from the webmin gui.

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


Re: [CentOS] OT, hardware: HP smart array drive issue

2015-07-10 Thread Thomas Eriksson
On 07/10/2015 10:49 AM, m.r...@5-cent.us wrote:
 Jason Warr wrote:
 On July 10, 2015 11:47:09 AM CDT, m.r...@5-cent.us wrote:
 Hi. Anyone working with these things? I've got a drive in predictive
 failure on in a RAID5. Now here's the thing: there was an issue
 yesterday when I got in, and I wound up power cycling the RAID;
 first boot of attached server had issues, and said the controller
 had a failure, and a drive had failed, and wouldn't continue
 booting; when I gave it the three-finger salute, this time on t
 way up, during POST, it noted the controller issue... but the
 thing came up, looking like it did a couple of days ago.

 Trying to prevent this from happening again, I've decided to replace
 the drive that's in predictive failure. The array has a hot spare.
 I tried to remove, using hpacucli, it refuses operation not
 permitted, and there doesn't *seem* to be a mark as failed
 command. *Do* I just yank the drive?

 Yep, just yank it.  It should start auto rebuilding on the spare.

 If you didn't have a spare you would pull the suspect drive and replace it
 with one of equal or greater capacity and it would auto rebuild as well.

 I have a bunch of them at home and have been using them at work for years.
 
 Thanks for your quick reply, Jason. I'm used to LSI/MegaRAID/PERCs, where
 you have to fail it, first. Oddity: I had the drive out for more then five
 minutes while getting it out of the sled, putting the new one in, oh, and
 dusting out the slot (gotta do that for all of them, next maintenance
 window), but after I put in the replacement, and used hpacucli to check,
 to my surprise it was rebuilding with the replacement, *not* with the
 spare.
 

HP's raid controllers appears to have some logic that if the rebuild to
spare disk have not yet reached 50% when you insert the replacement, it
will abandon the rebuild to the spare and rebuild to the replacement
instead.

I don't have any documentation to prove it, but I have observed it
numerous of times.

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


Re: [CentOS] get ride of initial screen on CentOS 7

2015-07-03 Thread Thomas Eriksson
I found two ways of doing it

Don't install the package gnome-initial-setup or

Add to /etc/gdm/custom.conf

[daemon]
InitialSetupEnable=False

-Thomas

On Jul 3, 2015 12:38, Jerry Geis ge...@pagestation.com wrote:

 Through kickstart I setup everything I need. 

 On CentOS 7 I still get the welcome screen followed by 
 a couple more then your ready to start using centos 

 how do I get Rid of those series of screens ? 

 Thanks 

 Jerry 
 ___ 
 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] Systemd

2015-05-25 Thread Thomas Eriksson
On 05/25/2015 07:48 AM, Kirk Bocek wrote:
 
 
 On 5/25/2015 4:40 AM, Jonathan Billings wrote:
 On May 25, 2015, at 01:10, Kirk Bocek t...@kbocek.com wrote:

 I'll reinstall chrony. But there *are* places I've needed to use
 nodeps. Mostly to manage inter-repo package incompatibilities.
 You should look into the yum priorities option to ensure packages from
 different repos don't step on each other, however I'd consider any yum
 repository that requires you break your rpm database to be one to avoid.


 
 It usually happens when I've wanted to change versions of the same
 software between repos and that software has been compiled differently.
 Usually audio-visual software. Yum install triggers a conflict and yum
 uninstall on the older package cascades a bunch of undesirable
 uninstalls. The only solution is rpm -e -nodeps followed by installing
 the newer package.
 
 If you have a better solution, let me know.

If the new package fulfills all requirements as the old one, you can use
yum shell to do both transactions at the same time.

$ yum shell
remove old-package
install new-package
ts
run
exit

-Thomas

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


Re: [CentOS] Constant screen flicker with Firefox browser

2015-05-18 Thread Thomas Eriksson

On 05/17/2015 11:34 PM, László Csontos wrote:
 Hi Thomas,
 
 Thanks for the hint.
 
 I'm trying to rebuild the original SRPM without the patch for know, but I'm
 getting the following error.
 
 rpmbuild --rebuild /tmp/clutter-1.14.4-12.el7.src.rpm
 ...
 checking for XIAllowTouchEvents... yes
 checking for XIScrollClassInfo.number... yes
 checking for XkbQueryExtension... yes
 checking for GDK_PIXBUF... no
 configure: error: Package requirements (gdk-pixbuf-2.0) were not met:
 
 Package libpng15 was not found in the pkg-config search path.
 Perhaps you should add the directory containing `libpng15.pc'
 to the PKG_CONFIG_PATH environment variable
 Package 'libpng15', required by 'GdkPixbuf', not found
 
 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 installed software in a non-standard prefix.
 
 Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS
 and GDK_PIXBUF_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.
 error: Bad exit status from /var/tmp/rpm-tmp.o3QHFY (%build)
 ...
 
 I've checked that libpng15.pc is in /usr/lib/pkgconfig. Tried to set
 PKG_CONFIG_PATH to /usr/lib/pkgconfig manually, but the error is the same.
 
 Do you have any idea how to work this around?
 
 Cheers,
 Laszlo
 

Hi Lazlo,

To build almost any src.rpm package you will need some *-devel packages
installed. And if you are going to modify a build you need to install
the src.rpm into a build area first.

http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment
https://fedoraproject.org/wiki/Mock?rd=Subprojects/Mock

The spec file contains a set BuildRequires statements that will be a
starting point. The clutter.spec file contains these:

BuildRequires: glib2-devel mesa-libGL-devel pkgconfig pango-devel
BuildRequires: cairo-gobject-devel gdk-pixbuf2-devel atk-devel
BuildRequires: cogl-devel = %{cogl_version}
BuildRequires: gobject-introspection-devel = 0.9.6
BuildRequires: gtk3-devel
BuildRequires: json-glib-devel = 0.12.0
BuildRequires: libXcomposite-devel
BuildRequires: libXdamage-devel
BuildRequires: libXi-devel


-Thomas


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


Re: [CentOS] Constant screen flicker with Firefox browser

2015-05-14 Thread Thomas Eriksson
On 05/14/2015 08:36 AM, László Csontos wrote:
 Hi Guys,
 
 I'm facing this issue: https://bugs.centos.org/view.php?id=8482
 
 It came after upgrading to 7.1 and only Firefox is affected, Chrome is
 working.
 
 What I've tried so far:
 
 - Tried NVIDIA drivers 340.65, 346.59 and 346.72
 - Upgraded Firefox to 38
 - Tried Safe more / Refresh Firefox
 - Tried to turn HW accel. off in Firefox
 
 None of these has helped to eliminate the issue.
 
 Do you know how to work this around?
 
 Many thanks,
 László

It sounds like you are experiencing this problem
https://bugzilla.gnome.org/show_bug.cgi?id=724788

The fix is a two line patch that is released against clutter 1.16,
but it applies cleanly against 1.14 (which is in CentOS 7, maybe this
gets fixed with the upcoming Gnome rebase).

I rebuilt the clutter rpms with the patch and the flickering problem
went away.

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


Re: [CentOS] Tasks in /etc/cron.daily on CentOS 7?

2015-03-11 Thread Thomas Eriksson
On 03/11/2015 08:17 AM, Niki Kovacs wrote:
 Hi,
 
 I just configured SquidAnalyzer, a nifty little network statistics tool
 that I'm using mainly in school networks to monitor network usage.
 
 I want to run the '/usr/bin/squid-analyzer' script once a day. I took a
 peek in /etc/cron.daily, and the package already installed an
 /etc/cron.daily/0squidanalyzer script.
 
 I wanted to know at what time CentOS ran the cron.daily scripts, so I
 typed crontab -l, but there was only no cronjobs defined for root.
 
 Here's how things look on a public Slackware64 14.0 server I administrate:
 
 # crontab -l
 ...
 # Run hourly cron jobs at 47 minutes after the hour:
 47 * * * * /usr/bin/run-parts /etc/cron.hourly 1 /dev/null
 #
 # Run daily cron jobs at 4:40 every day:
 40 4 * * * /usr/bin/run-parts /etc/cron.daily 1 /dev/null
 #
 # Run weekly cron jobs at 4:30 on the first day of the week:
 30 4 * * 0 /usr/bin/run-parts /etc/cron.weekly 1 /dev/null
 #
 # Run monthly cron jobs at 4:20 on the first day of the month:
 20 4 1 * * /usr/bin/run-parts /etc/cron.monthly 1 /dev/null
 
 How is this handled on CentOS 7?
 
 Cheers,
 
 Niki

In CentOS 5 this is configured in /etc/crontab

From CentOS 6 onward, cron.hourly comes out of /etc/cron.d/0hourly
and the rest are configured in /etc/anacrontab

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


Re: [CentOS] yum causing RPC timed out?

2015-02-27 Thread Thomas Eriksson
On 02/27/2015 01:11 PM, Dave Burns wrote:
 Apparently CentOS-7 - Base is failing, what does that mean? How do I
 contact the upstream for the repo? How do I find a working upstream?
 
 More info from command execution:
 do_ypcall: clnt_call: RPC: Timed out
 do_ypcall: clnt_call: RPC: Timed out
 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')
 Trying other mirror.
 

This has nothing to do with yum.

You are using NIS for name lookup and your NIS server is not responding.

-Thomas

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


Re: [CentOS] yum causing RPC timed out?

2015-02-27 Thread Thomas Eriksson
On 02/27/2015 04:16 PM, Dave Burns wrote:
 On Fri, Feb 27, 2015 at 12:41 PM, Stephen Harris li...@spuddy.org 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  various outputs what I expect).
 thanks,

Yum is blissfully unaware of how the hostname is resolved. It just uses
a system call and expects to get an answer within a reasonable time.

The message do_ypcall: clnt_call: RPC: Timed out is coming from ypbind
and indicates that NIS is not working as it should.

Swapping the order of dns and nis in nsswitch.conf will probably get you
going for this particular case, provided that dns is working. But
the NIS problem is going to bite you sooner or later if you don't sort
it out.

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


Re: [CentOS] CVE-2015-0235 - glibc gethostbyname

2015-01-27 Thread Thomas Eriksson
On 01/27/2015 12:22 PM, Valeri Galtsev wrote:
 
 On Tue, January 27, 2015 1:58 pm, Peter Lawler wrote:
 On 28/01/15 04:47, Always Learning wrote:

 Saw this on the Exim List:-

 SNIP

 I use Exim on C5 and C6 - should I be worried about Exim on C6 ?


 upstream references:
 https://rhn.redhat.com/errata/RHSA-2015-0092.html
 
 When I read this I read that it is fixed in
 glibc-2.12-1.149.el6_6.5.src.rpm (RHEL 6), on my CentOS 6 I have according
 to  rpm -qi glibc: glibc-2.12-1.149.el6_6.4.src.rpm (which resembles
 what is latest on public mirror I maintain, and I checked randomly a
 couple of other mirrors - the same). If I read numbers correctly, we all
 are one minor (very minor ;-) number behind RHEL.

The RHN Errata that addresses this issue, RHSA-2015:0092-01, was sent
just this morning and not even all the RHN repos makes the update
available yet.

I don't think it's unreasonable to give the CentOS people a few hours
to catch up ;-)

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


Re: [CentOS] UC C-6, Gnome question

2015-01-12 Thread Thomas Eriksson
On 01/12/2015 06:40 AM, Rushton Martin wrote:
 
 Another Firefox funny to be aware of occurs if you have a $HOME
 shared between multiple machines.  Firefox will refuse to start on
 the second machine whilst the first is running Firefox, it believes
 that there is already an instance running.  Rebooting the second
 machine will not help.  The quick-and-dirty way around this is to log
 in as a different user (and hence different $HOME) on the second
 machine.
 

Or use a second profile, 'firefox -ProfileManager'.

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


Re: [CentOS] CentOs 7.0 and reboot failure

2014-11-23 Thread Thomas Eriksson
On 11/23/2014 12:02 PM, Edward M wrote:
 
 On 11/23/2014 10:58 AM, Gregory P. Ennis wrote:
 Everyone,

 I have installed Centos 7.0 on my homework machine in order to take a
 test drive with  it, and am low on the learning curve with it at this
 point.  I have a small Gateway SX2855-UB12P.

 I have a critical hurdle in that when I try a reboot or when I do a
 'shutdown now -r' command the system will start a reboot process but
 hangs right after the os choices are presented.

 My install process started with the server version, and I added the
 gnome desktop latter.  I also changed the boot level to 5.

 Has anyone else had this problem, or any suggestions as to a remedy.

 Thanks,

 Greg Ennis



Centos 7 runs systemd ,so
may need to use 'systemctl reboot' to reboot and 'systemctl
 poweroff' to shutdown system.
 I suggest to read systemctl manpage ( towards the end)

I think the shutdown command on CentOS 7 already reflects that.

# ls -l /usr/sbin/shutdown
lrwxrwxrwx. 1 root root 16 Oct 23 16:52 /usr/sbin/shutdown -
../bin/systemctl
# ls -l /usr/sbin/reboot
lrwxrwxrwx. 1 root root 16 Oct 23 16:52 /usr/sbin/reboot - ../bin/systemctl










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


Re: [CentOS] Installing old version of firefox

2014-11-14 Thread Thomas Eriksson
On 11/14/2014 10:02 AM, Larry Martell wrote:
 I need to install firefox version 24.3.0 on centos version 6.5. Anyone
 know how I can do that? I tried downloading that version directly and
 it fails with:
 
 XPCOMGlueLoad error for file /usr/local/lib64/firefox/libxul.so:
 libXrender.so.1: cannot open shared object file: No such file or directory
 Couldn't load XPCOM.
 

Get the version you want at ftp://ftp.mozilla.org/pub/firefox/releases/
Runs from from the untarred directory without any problems.

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


Re: [CentOS] Installing old version of firefox

2014-11-14 Thread Thomas Eriksson
On 11/14/2014 11:46 AM, Larry Martell wrote:
 On Fri, Nov 14, 2014 at 2:44 PM, Thomas Eriksson
 thomas.eriks...@slac.stanford.edu wrote:
 On 11/14/2014 10:02 AM, Larry Martell wrote:
 I need to install firefox version 24.3.0 on centos version 6.5. Anyone
 know how I can do that? I tried downloading that version directly and
 it fails with:

 XPCOMGlueLoad error for file /usr/local/lib64/firefox/libxul.so:
 libXrender.so.1: cannot open shared object file: No such file or directory
 Couldn't load XPCOM.


 Get the version you want at ftp://ftp.mozilla.org/pub/firefox/releases/
 Runs from from the untarred directory without any problems.
 
 I did that and I got the error above.

Do you have libXrender installed?


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


Re: [CentOS] Installing old version of firefox

2014-11-14 Thread Thomas Eriksson
On 11/14/2014 12:02 PM, Larry Martell wrote:
 On Fri, Nov 14, 2014 at 2:57 PM, Thomas Eriksson
 thomas.eriks...@slac.stanford.edu wrote:
 On 11/14/2014 11:46 AM, Larry Martell wrote:
 On Fri, Nov 14, 2014 at 2:44 PM, Thomas Eriksson
 thomas.eriks...@slac.stanford.edu wrote:
 On 11/14/2014 10:02 AM, Larry Martell wrote:
 I need to install firefox version 24.3.0 on centos version 6.5. Anyone
 know how I can do that? I tried downloading that version directly and
 it fails with:

 XPCOMGlueLoad error for file /usr/local/lib64/firefox/libxul.so:
 libXrender.so.1: cannot open shared object file: No such file or directory
 Couldn't load XPCOM.


 Get the version you want at ftp://ftp.mozilla.org/pub/firefox/releases/
 Runs from from the untarred directory without any problems.

 I did that and I got the error above.

 Do you have libXrender installed?
 
 
 Yes.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 

Try doing a 'ldd /usr/local/lib64/firefox/libxul.so'
Should give you some hints.


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


Re: [CentOS] Installing old version of firefox

2014-11-14 Thread Thomas Eriksson
On 11/14/2014 12:11 PM, Larry Martell wrote:
 On Fri, Nov 14, 2014 at 3:06 PM, Thomas Eriksson
 thomas.eriks...@slac.stanford.edu wrote:
 On 11/14/2014 12:02 PM, Larry Martell wrote:
 On Fri, Nov 14, 2014 at 2:57 PM, Thomas Eriksson
 thomas.eriks...@slac.stanford.edu wrote:
 On 11/14/2014 11:46 AM, Larry Martell wrote:
 On Fri, Nov 14, 2014 at 2:44 PM, Thomas Eriksson
 thomas.eriks...@slac.stanford.edu wrote:
 On 11/14/2014 10:02 AM, Larry Martell wrote:
 I need to install firefox version 24.3.0 on centos version 6.5. Anyone
 know how I can do that? I tried downloading that version directly and
 it fails with:

 XPCOMGlueLoad error for file /usr/local/lib64/firefox/libxul.so:
 libXrender.so.1: cannot open shared object file: No such file or 
 directory
 Couldn't load XPCOM.


 Get the version you want at ftp://ftp.mozilla.org/pub/firefox/releases/
 Runs from from the untarred directory without any problems.

 I did that and I got the error above.

 Do you have libXrender installed?


 Yes.
 
 Try doing a 'ldd /usr/local/lib64/firefox/libxul.so'
 Should give you some hints.
 
 # ldd /usr/local/lib64/firefox/libxul.so
 linux-gate.so.1 =  (0x00cb7000)
 libpthread.so.0 = /lib/libpthread.so.0 (0x003c3000)
 libsmime3.so = not found
...
 libssl3.so = not found
 libxcb.so.1 = /usr/lib/libxcb.so.1 (0x003f4000)
 libXau.so.6 = /usr/lib/libXau.so.6 (0x0038c000)
 
 These libs exist, just not where it's looking for them apparently.


Perhaps you downloaded the wrong arch (i386/x86_64)


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


Re: [CentOS] Installing old version of firefox

2014-11-14 Thread Thomas Eriksson
On 11/14/2014 12:22 PM, Larry Martell wrote:
 On Fri, Nov 14, 2014 at 3:15 PM, Thomas Eriksson
 thomas.eriks...@slac.stanford.edu wrote:
 On 11/14/2014 12:11 PM, Larry Martell wrote:
 On Fri, Nov 14, 2014 at 3:06 PM, Thomas Eriksson
 thomas.eriks...@slac.stanford.edu wrote:
 On 11/14/2014 12:02 PM, Larry Martell wrote:
 On Fri, Nov 14, 2014 at 2:57 PM, Thomas Eriksson
 thomas.eriks...@slac.stanford.edu wrote:
 On 11/14/2014 11:46 AM, Larry Martell wrote:
 On Fri, Nov 14, 2014 at 2:44 PM, Thomas Eriksson
 thomas.eriks...@slac.stanford.edu wrote:
 On 11/14/2014 10:02 AM, Larry Martell wrote:
 I need to install firefox version 24.3.0 on centos version 6.5. Anyone
 know how I can do that? I tried downloading that version directly and
 it fails with:

 XPCOMGlueLoad error for file /usr/local/lib64/firefox/libxul.so:
 libXrender.so.1: cannot open shared object file: No such file or 
 directory
 Couldn't load XPCOM.


 Get the version you want at ftp://ftp.mozilla.org/pub/firefox/releases/
 Runs from from the untarred directory without any problems.

 I did that and I got the error above.

 Do you have libXrender installed?


 Yes.

 Try doing a 'ldd /usr/local/lib64/firefox/libxul.so'
 Should give you some hints.

 # ldd /usr/local/lib64/firefox/libxul.so
 linux-gate.so.1 =  (0x00cb7000)
 libpthread.so.0 = /lib/libpthread.so.0 (0x003c3000)
 libsmime3.so = not found
 ...
 libssl3.so = not found
 libxcb.so.1 = /usr/lib/libxcb.so.1 (0x003f4000)
 libXau.so.6 = /usr/lib/libXau.so.6 (0x0038c000)

 These libs exist, just not where it's looking for them apparently.


 Perhaps you downloaded the wrong arch (i386/x86_64)
 
 I first downloaded i686, and then x86_64. Got the same error with both.
 

Well, the example you gave is a 32bit library, it picks up shared
libraries from /usr/lib and not from /usr/lib64

Check with the file command that you really have installed the
version you think you have.


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


Re: [CentOS] POODLE and TLSv1

2014-10-17 Thread Thomas Eriksson
On 10/17/2014 09:53 AM, James B. Byrne wrote:
 
 I read this on the RHN commentary respecting cve-2014-3566:
 
 
 https://securityblog.redhat.com/2014/10/15/poodle-a-ssl3-vulnerability-cve-2014-3566/:
 
...
 
 If read the advisory aright then TLSv1.0 suffers from exactly the same flaw as
 SSLv3.  So, how do I configure apache-2.2.15 to deny TLSv1.0 and keep service
 TLSv1.1+?
 
 

The same advisory recommends to use this config for 7 and 6.6 upwards

SSLProtocol -All +TLSv1 +TLSv1.1 +TLSv1.2

I guess you could try changing that to

SSLProtocol -All +TLSv1.1 +TLSv1.2

Don't know what you might break on the client side...

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


Re: [CentOS] CentOS 5.11 / Firefox 31 -- totally borked...

2014-10-09 Thread Thomas Eriksson
On 10/09/2014 12:58 PM, Robert Heller wrote:
 OK, I just updated my two CentOS 5 boxes (my laptop and by desktop) and
 discoved that FF 31 is totally borked -- it seems not to be possible to
 install either Firebug (either 2.0.4 or 1.12.8) or Firefox 2, the theme
 reloaded (1.0.8). These two addons are critical to me. So I have snaged the FF
 24.8.0 rpms from the CentOS 5 vault and downgraded to this version and 
 blocked 
 further updates of FF.
 
 Where is the best place to report this problem? 
 

It looks like it has been reported

https://bugzilla.redhat.com/show_bug.cgi?id=1150082

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


Re: [CentOS] Down-grading to an obsoleted package

2014-08-15 Thread Thomas Eriksson


On 08/15/2014 07:45 AM, Toralf Lund wrote:
 Hi,
 
 Does anyone know if there is a clean way to downgrade to the old rpm 
 package when it was previously replaced by another that obsolete it?
 
 I mean, say that I have installed some rpm A-1.0-1.x86_64.rpm, and 
 along comes B-1.0-1.x86_64.rpm, whose spec has
 
 Obsoletes: A
 
 Now, if I do rpm -U B-1.0-1.x86_64.rpm or yum install 
 B-1.0-1.x86_64.rpm or (if B is available through an enabled repository) 
 yum update, what happens is that A gets removed and B is installed 
 in its place. Then I decide I want to switch back to A. So what do I 
 do? I know that one answer is
 
 rpm -e B
 rpm -U A-1.0-1.x86_64.rpm
 
 - but what if A and B provide facilities required by other installed 
 packages? I'll then have to pass --nodeps when removing B, but that's 
 something that I really want to avoid as it means loosing control over 
 whether all dependencies are satisfied. So is there an alternative?
 
 rpm -U A-1.0-1.x86_64.rpm alone seems to fail with file conflicts, 
 assuming B replaces some of A's files. In a real scenario I tried, 
 there was no mention of the fact that something that was essentially a 
 newer version of the same package, was already installed.
 
 yum upgrade A (when the package is available on a repository) fails in 
 a similar manner.
 
 yum localinstall A-1.0-1.x86_64.rpm is a bit smarter - it exists with 
 a message like Cannot install package A. It is obsoleted by installed 
 package B.
 
 yum downgrade A (via repository) says something like No Match for 
 available package: A-1.0-1.x86_64.rpm.
 
 yum localdowngrade A-1.0-1.x86_64.rpm would seem to have the highest 
 probability of success based on the above, except that there is no such 
 command :-/
 
 Any other ideas?
 
 - Toralf
 

You can try using 'yum shell'

# yum shell
 remove B
 install A
 run


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


Re: [CentOS] yum annoyances

2014-07-21 Thread Thomas Eriksson


On 07/21/2014 01:06 PM, m.r...@5-cent.us wrote:
 yum grouplist \*office\*
 
 returns
 Installed Groups:
Office Suite and Productivity
 
 But the *only* way to see what's in the group is
 yum groupinfo \*office\*
 With or without quotes around Office Suite and Productivity, it refuses to
 admit that any such thing's installed.
 
  mark


Works here...


# yum groupinfo Office Suite and Productivity
Loaded plugins: fastestmirror, langpacks
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile

Group: Office Suite and Productivity
 Group-Id: office-suite
 Description: A full-purpose office suite, and other productivity tools.
 Default Packages:
libreoffice-calc
libreoffice-draw
libreoffice-emailmerge
libreoffice-graphicfilter
libreoffice-impress
libreoffice-math
libreoffice-writer
 Optional Packages:
   libreoffice-base
   libreoffice-javafilter
   libreoffice-ogltrans
   libreoffice-presentation-minimizer
   libreoffice-pyuno
   libreoffice-report-builder
   libreoffice-wiki-publisher


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


Re: [CentOS] 1stboot stuff?

2014-07-11 Thread Thomas Eriksson


On 07/11/2014 10:35 AM, Les Mikesell wrote:
 Will anything break if you never log into the console after the
 initial reboot?  I just installed my first copy in a VM, and connected
 over ssh as I normally would for all access after the install.   But I
 just happened to leave the console window open and later noticed that
 it was prompting for license acceptance which I didn't see in the ssh
 login.On a more typical install, no one will ever log in at the
 console after the network is up.   Will that matter, and is there a
 way to keep it from confusing operators that might need to log in with
 a crash cart much later?
 


If your typical install is via kickstart, there is a keyword

  eula --agreed


Thomas

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


Re: [CentOS] CentOS 7 in VirtualBox

2014-07-10 Thread Thomas Eriksson


On 07/10/2014 11:19 AM, Wes James wrote:
 I installed CentOS 7 in VirtualBox in OS X Yosemite, but the NIC is
 not getting an IP address. So I thought it was a problem with the
 thunderbolt adapter.  I then installed CentOS 7 in VirtualBox on a
 box with CentOS 6.5.  The network doesn't work in the VM either.
 Anyone tried CentOS 7 in VirtualBox (latest version) and have the
 network working?
 
 Thanks,
 
 -wes


I'm running CentOS7 in VirtualBox 3.4.12 on RHEL6.5 without issues.
Emulated network adapter is Intel PRO/1000 MT.

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


Re: [CentOS] CentOS 7 in VirtualBox

2014-07-10 Thread Thomas Eriksson


On 07/10/2014 11:38 AM, Wes James wrote:
 
 
 On Jul 10, 2014, at 12:29 PM, Thomas Eriksson
 thomas.eriks...@slac.stanford.edu wrote:
 
 
 
 On 07/10/2014 11:19 AM, Wes James wrote:
 I installed CentOS 7 in VirtualBox in OS X Yosemite, but the NIC
 is not getting an IP address. So I thought it was a problem with
 the thunderbolt adapter. I then installed CentOS 7 in VirtualBox
 on a box with CentOS 6.5. The network doesn't work in the VM
 either. Anyone tried CentOS 7 in VirtualBox (latest version) and
 have the network working?
 
 Thanks,
 
 -wes
 
 
 I'm running CentOS7 in VirtualBox 3.4.12 on RHEL6.5 without
 issues. Emulated network adapter is Intel PRO/1000 MT.
 
 Thomas
 
 Hmmm.  I have windows 8.1, linux mint vm's on my centos 6.5 box and
 they all work with networking, but centos 7 vm doesn't have any
 networking.  Do I need to install the VM tools for the network to
 work.  I don't remember having to do that.  In cents 7 vm's, I don't
 get the nat'd IP address that is usually there :(
 
 Thanks,
 
 -wes 

Didn't install anything extra, just chose the Gnome Desktop
installation and everything works as expected. Network is NAT.

Thomas

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


Re: [CentOS] nvidia-related messages in /var/log/messages

2014-05-01 Thread Thomas Eriksson


On 05/01/2014 12:32 PM, Fred Smith wrote:
 Just discovered these messages in /var/log/messages, while looking at
 the USB problem I just posted about, separately.
 
 Apr 27 20:23:16 fcshome kernel: NVRM: API mismatch: the client has the 
 version 331.67, but
 Apr 27 20:23:16 fcshome kernel: NVRM: this kernel module has the version 
 331.49.  Please
 Apr 27 20:23:16 fcshome kernel: NVRM: make sure that this kernel module and 
 all NVIDIA driver
 Apr 27 20:23:16 fcshome kernel: NVRM: components have the same version.
 Apr 27 20:23:16 fcshome kernel: NVRM: nvidia_frontend_ioctl: minor 255, 
 module-ioctl failed, error -22
 Apr 29 19:22:30 fcshome kernel: NVRM: API mismatch: the client has the 
 version 331.67, but
 Apr 29 19:22:30 fcshome kernel: NVRM: this kernel module has the version 
 331.49.  Please
 Apr 29 19:22:30 fcshome kernel: NVRM: make sure that this kernel module and 
 all NVIDIA driver
 
 but I cannot find anything relating to Nvidia that has a 331.49 version 
 number.
 yum list installed | grep 331.49 returns no hits
 yum list installed | grep 331.[0-9] returns ONLY hits on 331.67.
 find 331 finds lots of things, but none of them is 331.49.
 
 So, I'd be appreciative if someone could shine a light on this for me.
 
 thanks!
 

You updated the NVIDIA driver/kernel module  while the old one was
loaded into the kernel.

As root:
# telinit 3
# rmmod nvidia
# telinit 5


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


Re: [CentOS] CentOS 6.5 install

2014-03-04 Thread Thomas Eriksson


On 03/04/2014 02:31 PM, m.r...@5-cent.us wrote:
 Kenny Noe wrote:
 My apologies  what is top post and how am I doing this?

 I thought I was just replying to the mailing list...   Hit reply and type
 my message.  (I'm such a noobie)

 I did find dd files that have the driver update but am lost on trying to
 get these into the install.  Sorry but I don't understand what you are
 saying.

 I appreciate your willingness to help and all the others that have
 replied.
  My apologies for being frustrating.  I'll have to read more.
 
 You just top posted, again. #0: fuck Outlook, and anything like it.
 FOLLOW, or intercollate, with the responses to your email. Follow, as in
 put your response AT THE BOTTOM, of the email, not the top.
 
 Just the way I'm responding to the email, above. Think of it as a
 conversation - you know what someone's said, *before* you respond. Top
 posting means I have no idea what you're responding to - you're not
 talking to someone in person And for anyone coming into an email
 thread late... I, and I think most folks, have *zero* intention of going
 to the bottom of an email which contains everything said in the thread,
 esp. with nothing edited out, and reading down a message, then paging up
 to read the response, then paging up *again* to read the next response.
 
 That's a M$ asinine introduction, and I despise it, since it makes it
 incredibly difficult to follow what's going on.
 
 I dunno, though - just dd'ing in the driver isn't going to work, if you
 mean that you dd'd the driver itself in, or was there an .rpm? If the
 latter, you need to find out what it does when it installs - where the
 actual driver's supposed to go, in what subdirectory, and then, of course,
 the last step would be to insmod it, and *then* rebuild the initrd so that
 it's included on boot.
 
mark


Google for anaconda driverdisk, and you will find many write-ups on
howto supply drivers during installation.

Thomas


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


Re: [CentOS] CentOS 6.5 install

2014-03-03 Thread Thomas Eriksson
That is a software RAID controller, only works if you install HP's
driver first. Or switch to AHCI mode for individual disks.

See this article https://access.redhat.com/site/articles/118133

Thomas

On 03/03/2014 11:57 AM, Kenny Noe wrote:
 Also I have the FBWC module installed to allow RAID 5.
 
 --Kenny
 
 
 On Mon, Mar 3, 2014 at 2:52 PM, Kenny Noe knoe...@gmail.com wrote:
 
 Here is the system.


 HP ML350e G8 servers.  They use the HP Dynamic Smart Array B120i raid
 controllers.

 Thanks!   --Kenny


 On Mon, Mar 3, 2014 at 2:07 PM, John R Pierce pie...@hogranch.com wrote:

 On 3/3/2014 10:54 AM, Kenny Noe wrote:
 OK so what am I doing wrong??  Apparently anaconda is still reading 4
 independent disk instead of a single 3 TB disk.  How do I get the
 installer to recognize the single RAID disk?

 not going to read the whole thread, what sort of raid controller does
 this system have?



 --
 john r pierce  37N 122W
 somewhere on the middle of the left coast

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


Re: [CentOS] A question about 7

2014-01-14 Thread Thomas Eriksson

On 1/14/2014 18:34, Les Mikesell wrote:
 
 Puzzle for ya: What PCI slot is the Intel e1000e MAC chip in on a 
 Supermicro X9SCA-F motherboard?  It isn't called out in the mobo manual. 
   I just looked.  (For that matter, the actual PCI slots don't have 
 their numbers documented in the manual, either.)
 
 If you can't get lucky with Google, you're just going to have to install 
 EL7 on it and find out.  And if you can do that, why not just build it 
 and ship it?
 

On top of that, it seems to be only populated slots.

I added a USB3 PCIe card to my Gigabyte MB and the previous 'enp2s0'
became 'enp3s0'!



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


Re: [CentOS] And then there was one (browser)

2013-12-20 Thread Thomas Eriksson


On 12/20/2013 11:12 AM, Darr247 wrote:
 
 CentOS 6.x is based on kernels circa fedora 14 if you want to talk about 
 EOL distros.  :)
 

With the difference being that while RHEL/Centos have bugs and security
fixes applied, Fedora is left dead in the water from the day it's EOLd.


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


Re: [CentOS] xorg updates hose GUI with Nvidia driver

2013-10-15 Thread Thomas Eriksson


On 10/15/2013 05:19 PM, B.J. McClure wrote:
 On 10/15/2013 07:52 PM, Akemi Yagi wrote:
 On Tue, Oct 15, 2013 at 3:46 PM, B.J. McClure keepert...@bellsouth.net 
 wrote:
 Just a heads up that once again an xorg update has removed the link in
 /usr/lib64/xorg/modules/extensions that points to libglx.so.325.15 in
 /usr/lib64/xorg/modules/extensions/nvidia thus breaking X.
 This is yet another reason to use ELRepo's kmod-nvidia [1]. :-)  The
 major reason is that ELRepo's kmods are kABI-tracking, meaning no need
 to reinstall the driver upon kernel updates.

 Akemi

 [1] http://elrepo.org/tiki/kmod-nvidia
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

 Errr, this was not a kernel update and elrepo kmod-nvidia is installed.
 
 Cheers,
 B.J.

The libglx.so.325.15 file comes from the nvidia-x11-drv package, not the
kmod-nvidia.

Elrepo is not putting any symlink in /usr/lib64/xorg/modules/extensions
only in /usr/lib64/xorg/modules/extensions/nvidia

It then adds /usr/lib64/xorg/modules/extensions/nvidia to the
ModulePath in xorg.conf so the Xserver picks up the nvidia version of
libglx.so before the Xorg version. That way you

If you do have/had a symlink in /usr/lib64/xorg/modules/extensions, it's
a remnant from NVIDIA's own distribution, IIRC. It is the
xorg-x11-server-Xorg package that writes over that symlink.

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


Re: [CentOS] Missing Chrome Dependency

2013-06-19 Thread Thomas Eriksson


On 06/19/2013 09:48 AM, Johnny Hughes wrote:
 On 06/18/2013 03:41 PM, Johnny Hughes wrote:
 On 06/18/2013 03:32 PM, Alfred von Campe wrote:
 On Jun 18, 2013, at 6:28, Johnny Hughes wrote:

 OK, the latest stable version of Chromium is now posted here:

 http://people.centos.org/hughesjr/chromium/6/
 Thanks for all you for CentOS and for making this available. Any
 chance you can add support for the 32-bit version?  I'm running
 CentOS 6 i386 and not x86_64.
 I will have to create a VM to do that ... let me see if I can get it to
 build in one.
 
 There is now a 32 bit version of chromium posted ... same instructions
 ... please test it.
 

I tried the 64bit version, and while it appears to run fine, I get
errors like these

[10072:10072:0619/101751:ERROR:zygote_host_impl_linux.cc(144)] Running
without the SUID sandbox! See
https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for
more information on developing with the sandbox on.
[0619/101803:ERROR:nacl_helper_linux.cc(262)] NaCl helper process
running without a sandbox!
Most likely you need to configure your SUID sandbox correctly


And selinux seems to complain about nacl_helper_bootstrap...

kernel: type=1400 audit(1371662271.495:75): avc:  denied  { mmap_zero }
for  pid=10076 comm=nacl_helper_boo
scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
tclass=memprotect


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