[CentOS] Microsoft Teams on CentOS 7. Does the latest version work?

2021-07-13 Thread Toralf Lund

Does anyone else run Microsoft Teams on CentOS 7?

I've used it for a while now, and it's generally worked reasonably well. 
However, after upgrading to the latest version from the Microsoft repos, 
it doesn't start up properly. Processes start and remain active until I 
give up and kill them, but I can't see a window or a tray icon or anything.


Has anyone else seen this? Is there anything I can do to make the GUI 
appear?


This is not a big deal as everything just works fine if I revert to the 
previous release, but it would be interesting to know if this is a 
general problem with the software, or I have some weird issue with my 
system.


The release that doesn't work is 1.4.00.13653. The one that does is 
1.4.00.7556.


- Toralf

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


Re: [CentOS] [External] Re: Microsoft Teams on CentOS 7. Does the latest version work?

2021-07-13 Thread Toralf Lund

On 13/07/2021 14:23, Phil Perry wrote:

On 13/07/2021 13:02, Toralf Lund wrote:

Does anyone else run Microsoft Teams on CentOS 7?

I've used it for a while now, and it's generally worked reasonably 
well. However, after upgrading to the latest version from the 
Microsoft repos, it doesn't start up properly. Processes start and 
remain active until I give up and kill them, but I can't see a window 
or a tray icon or anything.


Has anyone else seen this? Is there anything I can do to make the GUI 
appear?


This is not a big deal as everything just works fine if I revert to 
the previous release, but it would be interesting to know if this is 
a general problem with the software, or I have some weird issue with 
my system.


The release that doesn't work is 1.4.00.13653. The one that does is 
1.4.00.7556.


- Toralf



My wife has been using it on el7, but for the last month or two yum 
has been complaining about broken dependencies when trying to update 
it, so I'd disabled the Teams repo from yum updating.


OK. Do you know what dependencies that might be? Just out of interest...

I've never had any issues like that. Like I said, the latest (?) version 
installs just fine on my system, it's just that it doesn't do anything 
useful.




I can check what version I'm running later for you, if that would be 
helpful.


Well, it would be kind of interesting...

- T



___
CentOS mailing list
CentOS@centos.org
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.centos.org%2Fmailman%2Flistinfo%2Fcentos&data=04%7C01%7Ctoralf.lund%40pgs.com%7C561a1e50c5c144b2c07708d945f922c7%7C51d05d6147e9480b93b298dc84f1ed06%7C0%7C0%7C637617758601582517%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=JXAiJFFLBIwOQ4voED8KqRZCxSp%2FzjxZyW9%2Bwk3bQhY%3D&reserved=0 




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


Re: [CentOS] [External] Re: Microsoft Teams on CentOS 7. Does the latest version work?

2021-07-13 Thread Toralf Lund

On 13/07/2021 15:07, Tru Huynh wrote:

hi

On Tue, Jul 13, 2021 at 01:23:58PM +0100, Phil Perry wrote:

On 13/07/2021 13:02, Toralf Lund wrote:

Does anyone else run Microsoft Teams on CentOS 7?


<...>

The release that doesn't work is 1.4.00.13653. The one that does
is 1.4.00.7556.

- Toralf


My wife has been using it on el7, but for the last month or two yum
has been complaining about broken dependencies when trying to update
it, so I'd disabled the Teams repo from yum updating.

I can check what version I'm running later for you, if that would be
helpful.

AFAIK, the latest rpm version for c7 is teams-1.4.00.7556-1.x86_64
after that they only support CentOS-8 for rpm or snap based for c7
(but one needs to have $HOME under /home).


OK.

The weird thing here is that the newer version actually installs. If 
it's built on/for a later release, I'd normally expect complaints about 
the libc or libstdc++ version or something along those lines...


- Toralf




Cheers

Tru


___
CentOS mailing list
CentOS@centos.org
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.centos.org%2Fmailman%2Flistinfo%2Fcentos&data=04%7C01%7Ctoralf.lund%40pgs.com%7C77e097a778ba408edf2f08d945ff3196%7C51d05d6147e9480b93b298dc84f1ed06%7C0%7C0%7C637617786027903574%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2FUbGYaJ%2FABZGoGF3LrJdHVfnIJ3G4Ia5YS8RRmGgp6w%3D&reserved=0



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


Re: [CentOS] [External] Re: Microsoft Teams on CentOS 7. Does the latest version work?

2021-07-14 Thread Toralf Lund

On 14/07/2021 09:04, Simon Matter wrote:

On 13/07/2021 15:07, Tru Huynh wrote:

hi

On Tue, Jul 13, 2021 at 01:23:58PM +0100, Phil Perry wrote:

On 13/07/2021 13:02, Toralf Lund wrote:

Does anyone else run Microsoft Teams on CentOS 7?


<...>

The release that doesn't work is 1.4.00.13653. The one that does
is 1.4.00.7556.

- Toralf


My wife has been using it on el7, but for the last month or two yum
has been complaining about broken dependencies when trying to update
it, so I'd disabled the Teams repo from yum updating.

I can check what version I'm running later for you, if that would be
helpful.

AFAIK, the latest rpm version for c7 is teams-1.4.00.7556-1.x86_64
after that they only support CentOS-8 for rpm or snap based for c7
(but one needs to have $HOME under /home).

OK.

The weird thing here is that the newer version actually installs. If
it's built on/for a later release, I'd normally expect complaints about
the libc or libstdc++ version or something along those lines...

- Toralf

Hi,

I've seen a lot of commercial software to completely disable the
dependency thing in their RPM packages. So you can always install it, it
just doesn't work :)


I guess that's true.

But in that situation, you expect runtime errors. In this case, the 
application doesn't just install, it also starts and stays running for 
as long as I care to let it. It just doesn't do anything useful. Not as 
far as I can tell, anyway. I guess part of the question was if I'm 
missing something. Like, perhaps it doesn't open any windows by default, 
but there's some obscure way to make them come up...


- Toralf




Simon

___
CentOS mailing list
CentOS@centos.org
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.centos.org%2Fmailman%2Flistinfo%2Fcentos&data=04%7C01%7Ctoralf.lund%40pgs.com%7C6c47e511240a4237497b08d94695a0d6%7C51d05d6147e9480b93b298dc84f1ed06%7C0%7C0%7C637618430739340708%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=HqqGJWRAYMvpMi5gvI4IeCOPAe65Sjusg3Ji0wbCECA%3D&reserved=0



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


Re: [CentOS] [External] Re: Microsoft Teams on CentOS 7. Does the latest version work?

2021-07-15 Thread Toralf Lund

On 14/07/2021 22:13, Phil Perry wrote:

On 14/07/2021 07:28, Toralf Lund wrote:

On 13/07/2021 14:23, Phil Perry wrote:

On 13/07/2021 13:02, Toralf Lund wrote:

Does anyone else run Microsoft Teams on CentOS 7?

I've used it for a while now, and it's generally worked reasonably 
well. However, after upgrading to the latest version from the 
Microsoft repos, it doesn't start up properly. Processes start and 
remain active until I give up and kill them, but I can't see a 
window or a tray icon or anything.


Has anyone else seen this? Is there anything I can do to make the 
GUI appear?


This is not a big deal as everything just works fine if I revert to 
the previous release, but it would be interesting to know if this 
is a general problem with the software, or I have some weird issue 
with my system.


The release that doesn't work is 1.4.00.13653. The one that does is 
1.4.00.7556.


- Toralf



My wife has been using it on el7, but for the last month or two yum 
has been complaining about broken dependencies when trying to update 
it, so I'd disabled the Teams repo from yum updating.


OK. Do you know what dependencies that might be? Just out of interest...

I've never had any issues like that. Like I said, the latest (?) 
version installs just fine on my system, it's just that it doesn't do 
anything useful.




I can check what version I'm running later for you, if that would be 
helpful.


Well, it would be kind of interesting...

- T



My currently installed/working version is:
# rpm -qa | grep teams
teams-1.4.00.7556-1.x86_64


OK. Thanks.

That's the one that works here, obviously.



and when I attempt a yum update, I get:

Resolving Dependencies
--> Running transaction check
---> Package teams.x86_64 0:1.4.00.7556-1 will be updated
---> Package teams.x86_64 0:1.4.00.13653-1 will be an update
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.8)(64bit) for 
package: teams-1.4.00.13653-1.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9)(64bit) for 
package: teams-1.4.00.13653-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.20)(64bit) for 
package: teams-1.4.00.13653-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) for 
package: teams-1.4.00.13653-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.22)(64bit) for 
package: teams-1.4.00.13653-1.x86_64

--> Finished Dependency Resolution
Error: Package: teams-1.4.00.13653-1.x86_64 (teams)
   Requires: libstdc++.so.6(GLIBCXX_3.4.20)(64bit)


Which I don't see.

But I found out what's going on;

[toralf@localhost ~]$ rpm -q --whatprovides 
'libstdc++.so.6(GLIBCXX_3.4.22)(64bit)'

chrome-deps-stable-3.13-1.x86_64
[toralf@localhost ~]$ rpm -ql chrome-deps-stable
/opt/google/chrome/lib/libgnome-keyring.so.0
/opt/google/chrome/lib/libstdc++.so.6
/opt/google/chrome/lib/link-to-libgnome-keyring.so.0
/opt/google/chrome/modify_wrapper

The problem is, even though this package "provides" the lib, it's not 
available for general use, in that /opt/google/chrome/lib isn't added to 
the library path.


I believe this package was supposed to help you get around some kind of 
dependency issue with chrome packages from Google a long time ago. 
Offered as a quick-fix by someone associated with the Fedora project, 
but probably not included in any of the "usual" repos. I'd quite 
forgotten that I had this.


Didn't think to check this sooner; I guess I assumed that everything 
would be OK with the dependencies, since the processes did not fail with 
the runtime linker error you might expect. But I suppose the components 
are loaded in a somewhat more roundabout way, i.e. the teams executable 
is not actually linked to the new libstdc++ or anything that uses it.


- Toralf



Error: Package: teams-1.4.00.13653-1.x86_64 (teams)
   Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit)
Error: Package: teams-1.4.00.13653-1.x86_64 (teams)
   Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
Error: Package: teams-1.4.00.13653-1.x86_64 (teams)
   Requires: libstdc++.so.6(CXXABI_1.3.8)(64bit)
Error: Package: teams-1.4.00.13653-1.x86_64 (teams)
   Requires: libstdc++.so.6(GLIBCXX_3.4.22)(64bit)


So Teams now needs a newer version of libstdc++ than that in RHEL7. As 
others have mentioned, Microsoft clearly do not understand how to 
package software using RPM and you are probably better off with a 
snap/flatpak solution.


--Phil

___
CentOS mailing list
CentOS@centos.org
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.centos.org%2Fmailman%2Flistinfo%2Fcentos&data=04%7C01%7Ctoralf.lund%40pgs.com%7C5fe5b49725f14958ad5c08d94703de19%7C51d05d6147e9480b93b298dc84f1ed06%7C0%7C0%7C637618904213717799%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiL

Re: [CentOS] [External] Re: Microsoft Teams on CentOS 7. Does the latest version work?

2021-07-15 Thread Toralf Lund

On 15/07/2021 09:37, Gianluca Cecchi wrote:

On Tue, Jul 13, 2021 at 2:03 PM Toralf Lund  wrote:


Does anyone else run Microsoft Teams on CentOS 7?

I've used it for a while now, and it's generally worked reasonably well.
However, after upgrading to the latest version from the Microsoft repos,
it doesn't start up properly. Processes start and remain active until I
give up and kill them, but I can't see a window or a tray icon or anything.

Has anyone else seen this? Is there anything I can do to make the GUI
appear?

This is not a big deal as everything just works fine if I revert to the
previous release, but it would be interesting to know if this is a
general problem with the software, or I have some weird issue with my
system.

The release that doesn't work is 1.4.00.13653. The one that does is
1.4.00.7556.

- Toralf




At the end I think you have something broken with your repo config or you
installed forcing something.


Like I said elsewhere, it turns out that it's a little more complicated 
than that. The libraries are actually "provided", but they're not on the 
library path.


[toralf@localhost ~]$ rpm -q --whatprovides 
'libstdc++.so.6(GLIBCXX_3.4.22)(64bit)'


chrome-deps-stable-3.13-1.x86_64
[toralf@localhost ~]$ rpm -ql chrome-deps-stable

[ ... ]

/opt/google/chrome/lib/libstdc++.so.6

I could of course add an ld.so.conf file or use LD_PRELOAD so that teams 
would "see" this library.


- Toralf



The repo should be:

[teams]
name=teams
baseurl=https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpackages.microsoft.com%2Fyumrepos%2Fms-teams&data=04%7C01%7Ctoralf.lund%40pgs.com%7C5093c23297de453df1f308d9476378bb%7C51d05d6147e9480b93b298dc84f1ed06%7C0%7C0%7C637619314818784964%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=CK51wzQOaF2i%2BI3TTc1gTk9P00OMgc7d%2F6FDrKhLU5M%3D&reserved=0
enabled=1
gpgcheck=1
gpgkey=https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpackages.microsoft.com%2Fkeys%2Fmicrosoft.asc&data=04%7C01%7Ctoralf.lund%40pgs.com%7C5093c23297de453df1f308d9476378bb%7C51d05d6147e9480b93b298dc84f1ed06%7C0%7C0%7C637619314818784964%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=i8mx7ejtczlM4TrVI%2BT1RR04PONMBo9SopXVz3%2BV59s%3D&reserved=0

On a system with Fedora 34 I run without problems
teams-1.4.00.13653-1.x86_64 using that repo.
Unfortunately the repo itself is distro agnostic in the sense that I see
the flat 
baseurl=https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpackages.microsoft.com%2Fyumrepos%2Fms-teams&data=04%7C01%7Ctoralf.lund%40pgs.com%7C5093c23297de453df1f308d9476378bb%7C51d05d6147e9480b93b298dc84f1ed06%7C0%7C0%7C637619314818784964%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=CK51wzQOaF2i%2BI3TTc1gTk9P00OMgc7d%2F6FDrKhLU5M%3D&reserved=0
 inside it
and there is no check about distro
(this I think was the note about "not understanding how to package
software" pointed out by Phil)

If I go to an updated CentOS 7.9 system without teams and put the repo file
I get this, as other detailed before:

yum install teams
. . .
Resolving Dependencies
--> Running transaction check
---> Package teams.x86_64 0:1.4.00.13653-1 will be installed
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.8)(64bit) for package:
teams-1.4.00.13653-1.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9)(64bit) for package:
teams-1.4.00.13653-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.20)(64bit) for
package: teams-1.4.00.13653-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) for
package: teams-1.4.00.13653-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.22)(64bit) for
package: teams-1.4.00.13653-1.x86_64
--> Finished Dependency Resolution
Error: Package: teams-1.4.00.13653-1.x86_64 (teams)
Requires: libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
Error: Package: teams-1.4.00.13653-1.x86_64 (teams)
Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit)
Error: Package: teams-1.4.00.13653-1.x86_64 (teams)
Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
Error: Package: teams-1.4.00.13653-1.x86_64 (teams)
Requires: libstdc++.so.6(CXXABI_1.3.8)(64bit)
Error: Package: teams-1.4.00.13653-1.x86_64 (teams)
Requires: libstdc++.so.6(GLIBCXX_3.4.22)(64bit)
  You could try using --skip-broken to work around the problem
  You could try running: rpm -Va --nofiles --nodigest

But I can run:
yum install teams-1.4.00.7556-1
. . .
Resolving Dependencies
--> Running transaction check
---> Package teams.x86_64 0:1.4.00.7556-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

I don't know if there is a yum option or config 

Re: [CentOS] Microsoft Teams on CentOS 7. Does the latest version work?

2021-07-16 Thread Toralf Lund

On 15/07/2021 12:57, Stephen John Smoogen wrote:

On Thu, 15 Jul 2021 at 05:30, Toralf Lund  wrote:

On 15/07/2021 09:37, Gianluca Cecchi wrote:

On Tue, Jul 13, 2021 at 2:03 PM Toralf Lund  wrote:


Does anyone else run Microsoft Teams on CentOS 7?

I've used it for a while now, and it's generally worked reasonably well.
However, after upgrading to the latest version from the Microsoft repos,
it doesn't start up properly. Processes start and remain active until I
give up and kill them, but I can't see a window or a tray icon or anything.

Has anyone else seen this? Is there anything I can do to make the GUI
appear?

This is not a big deal as everything just works fine if I revert to the
previous release, but it would be interesting to know if this is a
general problem with the software, or I have some weird issue with my
system.

The release that doesn't work is 1.4.00.13653. The one that does is
1.4.00.7556.

- Toralf




At the end I think you have something broken with your repo config or you
installed forcing something.

Like I said elsewhere, it turns out that it's a little more complicated
than that. The libraries are actually "provided", but they're not on the
library path.


That isn't provided..


It's quite definitely provided. I'm mean in the rpm/package install 
context, of course, which is what we were discussing.


The libraries/abi versions are also provided in the sense that the 
actually exist on my system, event though teams can't find them right now.



  that is a private copy that chrome bundles
itself to use. It may or may not have all of the library calls in it
(the chrome upstream may only turn on things it knows it wants), and
it may have changes which the team doesn't expect.


I think you're missing my point. The teams install works because the 
package *claims* that it provides everything teams wants (besides what's 
in the "normal" system libs.) Whether it works or not is a different 
question.


It most likely will, though, if I set up the necessary LD_PRELOAD etc. 
(haven't been able to try because I needed to have a Teams version i 
*knew* worked.)  It's unlikely that there are "changes which the team 
doesn't expect"; I'm reasonably sure this is a straight 
rebuild/repackaging of newer upstream "libstdc++". It's also not an 
integral part of Chrome, but rather a package someone related to the 
Fedora team made to allow a certain "upstream" versions of chrome to 
work on a certain "downstream" OS release.




Also teams is looking for `rpm -q --whatprovides
'libstdc++.so.6(GLIBCXX_3.4.20)(64bit)'` and you typed
`rpm -q --whatprovides 'libstdc++.so.6(GLIBCXX_3.4.22)(64bit)'`


No, it looks for several different "libstdc++.so.6" versions, and the 
"chrome" package provides them all. I just listed one of them to 
illustrate the point.




Basically Microsoft teams will need to bundle this newer version of
glibc they are using to make your software work.



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


[CentOS] Unexpected /etc/resolv.conf updates on CentOS 7

2021-10-13 Thread Toralf Lund

Hi

Does here anyone know exactly when NetworkManager creates or is supposed 
to create /etc/resolv.conf for a network connection? Is there a way I 
can control it, or alternatively, is there a good way to debug the 
functionality?


I thought that there would simply be an update whenever a connection was 
established, and an addresses/network info was received (if using DHCP), 
and that the information would pretty much be left alone after that. 
However, I've lately found that a new file gets written every few hours 
even though there is no connection change (that I can detect), i.e. the 
same link is up all along. Does anyone have any ideas why that might 
happen? I thought at first that the updates could be linked to DHCP 
lease renewal, but on closer inspection, that does not seem to be the 
case. I don't see anything in the system log related to networking at 
the points where a new file gets written.


I get the above behaviour for my home Wifi net. It seemed to start after 
I switched to a new router, but that might be coincidental. It's a 
problem for me because I'm also using "commercial" VPN software (not 
integrated with NetworkManager) that will create it's own resolv.conf 
file; it replaces data e.g. from Network Manager when VPN is enabled, 
and restores it on disable. If NetworkManager "refreshes" the 
information in the mean time, the DNS config for VPN is lost, and the 
link doesn't work as expected...


This is on a CentOS 7 system with all the latest updates.

- Toralf

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


Re: [CentOS] [External] Re: Unexpected /etc/resolv.conf updates on CentOS 7

2021-10-13 Thread Toralf Lund

On 13/10/2021 20:06, J Martin Rushton via CentOS wrote:
If you just want to tell NM to clear off and leave your resolv.conf 
alone do the following:


I might possibly be able to set up a workaround based on that, but it's 
not what I really want. Ideally I want NetworkManager to update 
resolv.conf, but only if it actually set up a new connection and/or got 
new information. Which is what it seemed to do in the past, but then 
something changed...


- Toralf




If you don't want it to touch the contents of the file then remove all 
DNSx= parameters from all ifcfg files and add PEERDNS=“no” instead. 
Now you are solely responsible for setting the content of 
/etc/resolv.conf yourself.


You may also have to edit /etc/NetworkManager/NetworkManager.conf and 
add dns=none to the [main] section.


On 13/10/2021 18:24, Toralf Lund wrote:

Hi

Does here anyone know exactly when NetworkManager creates or is 
supposed to create /etc/resolv.conf for a network connection? Is 
there a way I can control it, or alternatively, is there a good way 
to debug the functionality?


I thought that there would simply be an update whenever a connection 
was established, and an addresses/network info was received (if using 
DHCP), and that the information would pretty much be left alone after 
that. However, I've lately found that a new file gets written every 
few hours even though there is no connection change (that I can 
detect), i.e. the same link is up all along. Does anyone have any 
ideas why that might happen? I thought at first that the updates 
could be linked to DHCP lease renewal, but on closer inspection, that 
does not seem to be the case. I don't see anything in the system log 
related to networking at the points where a new file gets written.


I get the above behaviour for my home Wifi net. It seemed to start 
after I switched to a new router, but that might be coincidental. 
It's a problem for me because I'm also using "commercial" VPN 
software (not integrated with NetworkManager) that will create it's 
own resolv.conf file; it replaces data e.g. from Network Manager when 
VPN is enabled, and restores it on disable. If NetworkManager 
"refreshes" the information in the mean time, the DNS config for VPN 
is lost, and the link doesn't work as expected...


This is on a CentOS 7 system with all the latest updates.

- Toralf

___
CentOS mailing list
CentOS@centos.org
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.centos.org%2Fmailman%2Flistinfo%2Fcentos&data=04%7C01%7Ctoralf.lund%40pgs.com%7C8d1517edd2f44e2b991f08d98e743008%7C51d05d6147e9480b93b298dc84f1ed06%7C0%7C0%7C637697452053567265%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=HH613vBZFHsnsTuJJi52I1%2FSM8Z22U1gVe%2BSsAqOPrg%3D&reserved=0 





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


Re: [CentOS] [External] Re: Unexpected /etc/resolv.conf updates on CentOS 7

2021-10-22 Thread Toralf Lund

On 14/10/2021 08:44, Simon Matter wrote:

On 13/10/2021 20:06, J Martin Rushton via CentOS wrote:

If you just want to tell NM to clear off and leave your resolv.conf
alone do the following:

I might possibly be able to set up a workaround based on that, but it's
not what I really want. Ideally I want NetworkManager to update
resolv.conf, but only if it actually set up a new connection and/or got
new information. Which is what it seemed to do in the past, but then
something changed...

I'm not running CentOS 7 with NetworkManager so I could be wrong but,
isn't it possible to run DHCP internally in NM or use dhclient? If so, did
you really check that nothing has happened there like renewing of the
lease?


I'm not exactly sure what you mean by running DHCP internally in NM, but 
dhclient is being used. It's started automatically with a config 
generated by NetworManager, and also a NM/connection specific lease file.


The resolv.conf update time does not match renew, rebind or expire time 
stored in the lease file, and the file itself is generally not updated 
when resolv.conf gets rewritten.




  And did you also check on the ethernet link level that it never
went down for a short period of time? Such things can happen in certain
configurations.


It's hard to be sure, but I didn't find anything in the system log to 
indicate disconnect from the network.


It may also look like (based on other "scenarios") 
disconnects/reconnects are actually handled gracefully, as in the VPN 
software detects or is notified about an update, and writes its own 
resolve.conf



Or, could it be that you have some software which interacts with
NetworkManager via dbus and therefore the problem happens?


I'm not quite sure how I can tell.

But I think I'm onto something now: It may actually look like the 
problem is caused by IP6 address updates, which I guess are not 
controlled by dhclient or the traditional leases mechanism. Maybe I'll 
post some more details later...


- Toralf





Regards,
Simon

___
CentOS mailing list
CentOS@centos.org
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.centos.org%2Fmailman%2Flistinfo%2Fcentos&data=04%7C01%7Ctoralf.lund%40pgs.com%7C48537c76ad36483bff5908d98ede1efa%7C51d05d6147e9480b93b298dc84f1ed06%7C0%7C0%7C637697906929058677%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=4Vnd3tHk8%2F1A48ZYivfw3k%2B5HrsC%2BaH6K%2FIR9xLOY28%3D&reserved=0



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


[CentOS] Ping as regular user not allowed (CentOS Stream 8)

2022-01-19 Thread Toralf Lund
Following some update or the other (I think) on my CentOS Stream 8 
system, I'm no longer able to use ping as a regular user; I get


$ ping www.centos.org
ping: socket: Operation not permitted

Does anyone else see this? It it a bug, or were the system/default 
permissions deliberately changed? Can anyone suggest a fix/workaround? 
Actually, I can find several different ones via a simple web search, but 
they are generally related to other distributions, I'm not quite sure 
which would be the most appropriate for CentOS...


Thanks.

- Toralf

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


Re: [CentOS] [External] Re: Ping as regular user not allowed (CentOS Stream 8)

2022-01-20 Thread Toralf Lund

On 20/01/2022 17:48, Robert Nichols wrote:

On 1/20/22 10:32 AM, Fabian Arrotin wrote:

On 19/01/2022 15:32, Toralf Lund wrote:
Following some update or the other (I think) on my CentOS Stream 8 
system, I'm no longer able to use ping as a regular user; I get


$ ping 
https://eur04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.centos.org%2F&data=04%7C01%7Ctoralf.lund%40pgs.com%7C07eb6f60244843e98f7908d9dc34b549%7C51d05d6147e9480b93b298dc84f1ed06%7C0%7C0%7C637782942100118038%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Fh6MVkDnXLWQl9ArUjqZQcfRfTwZG2bBWrQSNVmtsDo%3D&reserved=0

ping: socket: Operation not permitted

Does anyone else see this? It it a bug, or were the system/default 
permissions deliberately changed? Can anyone suggest a 
fix/workaround? Actually, I can find several different ones via a 
simple web search, but they are generally related to other 
distributions, I'm not quite sure which would be the most 
appropriate for CentOS...


Thanks.

- Toralf



"sudo dnf downgrade iputils" should do it for now

it works when you're back on iputils-20180629-7.el8.x86_64


And then add:
    excludepkgs=iputils-20180629-8.el8.x86_64
in the [baseos] section of /etc/yum/repos.d/CentOS-Stream-BaseOS.repo


Right. After downgrading, I have

$ rpm -q --queryformat '[%{FILENAMES} %{FILECAPS}\n]' iputils | grep 
/usr/bin/ping

/usr/bin/ping = cap_net_admin,cap_net_raw+p

I guess this is what was changed in the new version? (Didn't check 
before downgrading, to lazy to switch back to do it.)


What I don't quite understand is why the updated iputils was released 
before the systemd/kernel changes others mention...


- Toralf


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


Re: [CentOS] [External] Re: Ping as regular user not allowed (CentOS Stream 8)

2022-01-21 Thread Toralf Lund

On 21/01/2022 15:23, Johnny Hughes wrote:

On 1/21/22 07:53, Johnny Hughes wrote:

On 1/21/22 07:17, Johnny Hughes wrote:

On 1/21/22 05:01, Leon Fauster via CentOS wrote:

Am 20.01.22 um 23:14 schrieb Johnny Hughes:

On 1/20/22 15:07, Johnny Hughes wrote:

On 1/20/22 12:46, Johnny Hughes wrote:

On 1/19/22 08:44, Brian Stinson wrote:
On Wed, Jan 19, 2022 at 8:33 AM Toralf Lund 
 wrote:


Following some update or the other (I think) on my CentOS 
Stream 8

system, I'm no longer able to use ping as a regular user; I get

$ ping 
https://eur04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.centos.org%2F&data=04%7C01%7Ctoralf.lund%40pgs.com%7C713021a8ffd245d07c2408d9dce99575%7C51d05d6147e9480b93b298dc84f1ed06%7C0%7C0%7C63778371885241%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=R2YZ8lVdkjaXenlaFn6wdRPu9fRgERWl2EaEHMApPCc%3D&reserved=0

ping: socket: Operation not permitted

Does anyone else see this? It it a bug, or were the 
system/default
permissions deliberately changed? Can anyone suggest a 
fix/workaround?
Actually, I can find several different ones via a simple web 
search, but
they are generally related to other distributions, I'm not 
quite sure

which would be the most appropriate for CentOS...

Thanks.

- Toralf

___
CentOS mailing list
CentOS@centos.org
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.centos.org%2Fmailman%2Flistinfo%2Fcentos&data=04%7C01%7Ctoralf.lund%40pgs.com%7C713021a8ffd245d07c2408d9dce99575%7C51d05d6147e9480b93b298dc84f1ed06%7C0%7C0%7C63778371885241%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=IgK2cSA5ll92eVC1M1Iq695oaRrZoBWsBaoP4ml9aW4%3D&reserved=0 





Folks interested in this issue can watch this bugzilla:
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.redhat.com%2Fshow_bug.cgi%3Fid%3D2037807&data=04%7C01%7Ctoralf.lund%40pgs.com%7C713021a8ffd245d07c2408d9dce99575%7C51d05d6147e9480b93b298dc84f1ed06%7C0%7C0%7C63778371885241%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=p2Ym5q6fUiNWSCjBEZbI1l3nf005mRy7aZ27jMlggUU%3D&reserved=0 



We're waiting for systemd-239-55.el8 sources to show up after 
which we
will build this and publish to CentOS Stream. Right now this 
appears
to be an infrastructure issue and the appropriate folks are 
working on
that, but we also want this package to pass the proper checks 
before

we build.


I am doing a compose with this version of systemd in it right 
now. Should be released later today.

___


OK .. I am currently releasing an 8-stream compose with 
systemd-239-55.el8 .. but it does not fix this unpriv ping issue.


I checked internally and it is also a problem on the rhel build 
for this systemd version, so not an issue introduced by the 
CentOS Stream build.


This  version of systemd should be available in a couple hours on 
mirror.centos.org.




OK .. to fix this issue until we get a build that fixes it:

Edit /usr/lib/sysctl.d/50-default.conf

take out the minus sign (-) in this line:

-net.ipv4.ping_group_range = 0 2147483647




Is this "minus" a typo? I guess ...

While yum update i get:

Couldn't write '0 2147483647' to '-net/ipv4/ping_group_range', 
ignoring: No such file or directory


I do not know if it is a typo or not (maybe a functionality I don't 
know about) .. but if I remove the dash and save the file, 
everything works as expected.


It is the only option in that file with a dash.




OK .. the minus sign is intentional .. but the functionality to mkae 
it work is not yet in the packages.  See this bug for details:


https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.redhat.com%2Fshow_bug.cgi%3Fid%3D2037807&data=04%7C01%7Ctoralf.lund%40pgs.com%7C713021a8ffd245d07c2408d9dce99575%7C51d05d6147e9480b93b298dc84f1ed06%7C0%7C0%7C63778371885241%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=p2Ym5q6fUiNWSCjBEZbI1l3nf005mRy7aZ27jMlggUU%3D&reserved=0 



So the two fixes are to not upgrade iputils and exclude it in your dnf 
config .. OR .. to take out he minus sign until the issue is fixed.

Both work for me. Thanks.


Or live with suod/root only for ping


Might also be OK for a short while. Irritation would probably build up 
over time ;-)


- Toralf





___
CentOS mailing list
CentOS@centos.org
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.centos.org%2Fmailman%2Flistinfo%2Fcentos&data=04%7C01%7Ctoralf.lund%40pgs.com%7C713021a8ffd245d07c2408d9dce99575%7C51d05d6147e9480b93b298dc84f1ed06%7C0%7C0%7C63778371885

[CentOS] ThinkPad battery calibration on CentOS 8

2023-09-12 Thread Toralf Lund
Hi

Does anyone know of a way to recalibrate the battery on a ThinkPad laptop under 
CentOS Stream 8?

I did this on the same machine before, but I can't recall exactly how. And 
maybe I was on CentOS 7 at the time. I know about the "tlp" command, but I 
haven't had much luck with it so far, as shown here:

$ sudo tlp recalibrate BAT1
Setting temporary charge thresholds for BAT1:
  start =  96 (no change)
  stop  = 100 (no change)
Error: battery discharge/recalibrate not available.

Also, "tlp-stat" says (after displaying status values etc.)

+++ Recommendations
* Install acpi_call kernel module for ThinkPad battery recalibration

I can't seem to find an easy way to install the module in question, though.

I also seem to remember that there was a different tool as well, but I've 
forgotten its name, and a web search returns little of use...

Any ideas?

- Toralf

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


[CentOS] Problems with BCM5709 network

2009-10-23 Thread Toralf Lund
I've just installed CentOS 5.4 on an IBM server with a BCM5709 network 
adapter, and can't get networking to work. It looks like an appropriate 
driver (bnx2) is installed, lspci and the system log return sensible 
info on the unit,  there are no specific error message anywhere, but I 
get "no link present" when I try to activate the device. In other words, 
I see essentially the same behaviour as when the network cable is 
missing, but I've tried several cables, connection points etc. and also 
get the appropriate indicator lamps etc. so I'm quite sure the 
connection is good.

Does anyone have any idea what may be wrong? If not, have any of you lot 
got networking to work with a similar setup?

Some extracts from the system log are included below...

Thanks,

- Toralf

---
Oct 23 22:11:33 localhost kernel: Broadcom NetXtreme II Gigabit Ethernet 
Driver bnx2 v1.9.3 (March 17, 2009)
Oct 23 22:11:33 localhost kernel: ACPI: PCI Interrupt :0b:00.0[A] -> 
GSI 28 (level, low) -> IRQ 169
Oct 23 22:11:33 localhost kernel: eth0: Broadcom NetXtreme II BCM5709 
1000Base-T (C0) PCI Express found at mem 9200, IRQ 169, node addr 
00215edbc384
Oct 23 22:11:33 localhost kernel: ACPI: PCI Interrupt :0b:00.1[B] -> 
GSI 40 (level, low) -> IRQ 106
Oct 23 22:11:33 localhost kernel: eth1: Broadcom NetXtreme II BCM5709 
1000Base-T (C0) PCI Express found at mem 9400, IRQ 106, node addr 
00215edbc386
Oct 23 22:11:33 localhost kernel: ACPI: PCI Interrupt :00:1f.3[B] -> 
GSI 22 (level, low) -> IRQ 114
[ ... ]
Oct 23 22:12:53 localhost kernel: bnx2: eth0: using MSIX
Oct 23 22:12:53 localhost kernel: ADDRCONF(NETDEV_UP): eth0: link is not 
ready




This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Using SD-card reader? (Lenovo T61/Richo R5C822 controller/sdhci driver)

2011-10-13 Thread Toralf Lund
Hi

I'm trying to access an SD-card using the built-in reader on a Lenovo 
T61 Laptop running CentOS 5.7. The unit is recognised by lspci:
# lspci
[ ... ]
15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro 
Host Adapter (rev 21)
15:00.3 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 11)
15:00.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host 
Adapter (rev 11)
15:00.5 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 11)

and a driver is loaded and appears to find the device  - from 
/var/log/messages:

Oct 13 09:30:48 i58524 kernel: sdhci: Secure Digital Host Controller 
Interface driver, 0.12
Oct 13 09:30:48 i58524 kernel: sdhci: Copyright(c) Pierre Ossman
Oct 13 09:30:48 i58524 kernel: sdhci: SDHCI controller found at 
:15:00.2 [1180:0822] (rev 21)
Oct 13 09:30:48 i58524 kernel: ACPI: PCI Interrupt :15:00.2[C] -> 
GSI 18 (level, low) -> IRQ 225
Oct 13 09:30:48 i58524 kernel: mmc0: SDHCI at 0xf8101800 irq 225 DMA

But then what?? If I insert a card in the drive, nothing particular 
happens. I mean, I the status LED on the unit lights up briefly, but 
there is no automount or anything, and I get no messages in the system 
log. And I can't find any appropriate devices under /dev. The card is 
accessible when using WinXP on the same machine...

Help, anyone?


- Toralf


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] rpc.statd: gethostbyname error for ...

2012-01-24 Thread Toralf Lund
Hi,

Lately, the system log on my CentOS 5 box, with all the latest updates, 
have started filling up with messages of the form:

Jan 24 09:47:26 i58524 rpc.statd[3452]: gethostbyname error for i58524
Jan 24 09:47:26 i58524 rpc.statd[3452]: STAT_FAIL to i58524 for SM_MON 
of 10.30.39.59
Jan 24 09:47:26 i58524 kernel: lockd: cannot monitor 10.30.39.59

It does not seem like there is really anything wrong with the hosts 
setup, though - the gethostbyname call in question works appears just 
fine in other programs. Does anyone have any idea what may be going on?

Note: i58524 is the local hostname, 10.30.39.59 is the IP address of an 
NFS server I'm using actively (so nothing suspicious, there.)

- Toralf

This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Thunderbird and Firefox 10 font rendering

2012-03-08 Thread Toralf Lund
Hi.

I just upgraded to CentOS 5.8 and got Thunderbird and Firefox 10, and I 
regret it already... I find that reading texts in these new versions is 
much more straining to the eyes than it used to be, as something must 
have changed with the font rendering - simply put, all letters appears 
to have a yellowish halo or "ghost". I'm sure the colour is an optical 
illusion, but again, something appears to be off with the display - and 
it's not the fonts as such, as they are the same as the desktop 
defaults, and I don't see this in other applications. The problem is 
particularly bad in Thunderbird, but I think I see it in Firefox, too.

Does anyone else experience this? Any idea how to fix it (besides 
downgrading)?

- Toralf


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Thunderbird and Firefox 10 font rendering

2012-03-08 Thread Toralf Lund
On 08/03/12 12:35, Sorin Srbu wrote:
> -Original Message-
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
> Of Toralf Lund
> Sent: den 8 mars 2012 11:36
> To: CentOS mailing list
> Subject: [CentOS] Thunderbird and Firefox 10 font rendering
>
> Does anyone else experience this? Any idea how to fix it (besides
> downgrading)?
>
> ===
>
> Just tried this on a virtual machine. Looks good here. Maybe your monitor is
> flakey? Have you tried experimenting with screen resolution and colour
I don't see how this can be a monitor problem when everything is fine in 
*all* applications besides the ones mentioned - including the older 
versions of Thunderbird and Firefox.
> depth? Try pressing Ctrl-0 ("zero") to set your Fx to the default character
> sizes.
Makes no difference...

BTW, besides the bluryness, the fonts also look thinner somehow; I get a 
distinct feeling of having returned to Gtk/GNOME version 1, if you know 
what I mean... Perhaps anti-aliasing is disabled?

- Toralf

>


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Thunderbird and Firefox 10 font rendering

2012-03-08 Thread Toralf Lund
On 08/03/12 12:46, Sorin Srbu wrote:
> -Original Message-
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
> Of Toralf Lund
> Sent: den 8 mars 2012 12:40
> To: centos@centos.org
> Subject: Re: [CentOS] Thunderbird and Firefox 10 font rendering
>
> BTW, besides the bluryness, the fonts also look thinner somehow; I get a
> distinct feeling of having returned to Gtk/GNOME version 1, if you know
> what I mean... Perhaps anti-aliasing is disabled?
> 
>
> How about try setting some other fonts within Fx?
The problem actually seems to be that GNOME desktop settings for font 
smoothing and hinting, as configured via Preferences->Fonts->Details.., 
are not honoured. I don't think I've configured anything special there, 
but apparently, I don't even get normal defaults... I can change the 
appearance to something better by editing ~/.fonts.conf, though, but I'm 
still not sure if I've been able to reproduce the exact settings of 
other programs. And I don't think I've had to do this in the past...


- Toralf


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Thunderbird and Firefox 10 font rendering

2012-03-08 Thread Toralf Lund
On 08/03/12 14:35, John Doe wrote:
> I use both 3.6.26 (from centOS 5) and 10.0.2 (binary from mozilla).
> And, after setting the same font settings in both, I cannot see any real 
> differences...
> Only tiny difference I could find if I screenshot both and zoom a lot is 
> lighter pixels in the anti-aliasing of 10.x.
> But that might just depend on the position in the display maybe...
Like I said elsewhere, I looks like the version 10 applications do not 
pick up the settings from System->Preferences->Fonts->Details... in 
GNOME. I've just verified that Firefox does on a system with an older 
CentOS version, although there are no direct updates like for other 
programs - I have to hit reload to see updates in the contents area, and 
restart to get updated display in menus etc.

If it's not too much too ask, could you check if these settings have and 
effect for you?

- Toralf

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


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Thunderbird and Firefox 10 font rendering

2012-03-12 Thread Toralf Lund
On 08/03/12 17:34, Johnny Hughes wrote:
> On 03/08/2012 07:49 AM, Toralf Lund wrote:
>> On 08/03/12 14:35, John Doe wrote:
>>> I use both 3.6.26 (from centOS 5) and 10.0.2 (binary from mozilla).
>>> And, after setting the same font settings in both, I cannot see any real 
>>> differences...
>>> Only tiny difference I could find if I screenshot both and zoom a lot is 
>>> lighter pixels in the anti-aliasing of 10.x.
>>> But that might just depend on the position in the display maybe...
>> Like I said elsewhere, I looks like the version 10 applications do not
>> pick up the settings from System->Preferences->Fonts->Details... in
>> GNOME. I've just verified that Firefox does on a system with an older
>> CentOS version, although there are no direct updates like for other
>> programs - I have to hit reload to see updates in the contents area, and
>> restart to get updated display in menus etc.
>>
>> If it's not too much too ask, could you check if these settings have and
>> effect for you?
>>
> Firefox 10.0.1, at least the version in CentOS6 that is included, has
> its own unique font settings.
>
> Please open the Edit =>  Preferences ... then click the "Content" tab.
>
> In the Content Area, you will see a "Fonts&  Colors" area, and there is
> where you will pick your Firefox font.  There is also an Advanced section.
I'm not talking about selecting fonts, but rather configuration of how 
exactly the letter shapes are drawn for any font.

- Toralf

>
>


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Thunderbird and Firefox 10 font rendering

2012-03-12 Thread Toralf Lund
On 08/03/12 15:36, John Doe wrote:
> From: John Doe
>
>> Hum... playing with the gnome font settings does not change anything
>> in either firefoxes...
Really? I'm trying this again now... What I'm doing is:

 1. Start firefox
 2. Select System->Preferences->Fonts from the desktop panel menu.
 3. In the "Font Preferences" window, click "Details...".
 4. Select "None" under "Smoothing:" in the "Font Rendering Details"
window - where "Grayscale" or "Subpixel (LCDs)" was selected in the
past.
 5. Restart firefox

... while inspecting the texts in the desktop menu and the firefox menu 
bar. Now, the destop menu text clearly changes after the step 4 - the 
letters get a somewhat thinner and more jagged appearance. The firefox 
menu bar stays the same. However, on the system running firefox 3.6.26, 
after step 5 it changes, too, so that it looks like the one on the 
desktop. With firefox 10, there is no change even after this step.

Note that I'm testing the old firefox on a system that has not got the 
latest set of updates, though, i.e. it's still essentially on CentOS 
5.7. In other words, other packages may be affecting the behaviour.

> But if you meant changing something else than rendering: if change
> the "Application font", it changes in both firefoxes instantaneously...
Yep. That works for me, too.
> Maybe check in /etc/fonts/conf.d/...
It contains a lot of files, but I suppose I'll have to look through all 
of them...

- Toralf

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


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Thunderbird and Firefox 10 font rendering

2012-03-12 Thread Toralf Lund
On 12/03/12 09:11, Toralf Lund wrote:
> On 08/03/12 15:36, John Doe wrote:
>> From: John Doe
>>
>>> Hum... playing with the gnome font settings does not change anything
>>> in either firefoxes...
> Really? I'm trying this again now... What I'm doing is:
>
>   1. Start firefox
>   2. Select System->Preferences->Fonts from the desktop panel menu.
>   3. In the "Font Preferences" window, click "Details...".
>   4. Select "None" under "Smoothing:" in the "Font Rendering Details"
>  window - where "Grayscale" or "Subpixel (LCDs)" was selected in the
>  past.
>   5. Restart firefox
Actually, that works mainly as a way of testing on the "old" system 
(which is what I focused on now.) On the new one, texts look rather as 
if they have no smoothing already, so the inverse test is more 
appropriate...

- Toralf

>
> ... while inspecting the texts in the desktop menu and the firefox menu
> bar. Now, the destop menu text clearly changes after the step 4 - the
> letters get a somewhat thinner and more jagged appearance. The firefox
> menu bar stays the same. However, on the system running firefox 3.6.26,
> after step 5 it changes, too, so that it looks like the one on the
> desktop. With firefox 10, there is no change even after this step.
>
> Note that I'm testing the old firefox on a system that has not got the
> latest set of updates, though, i.e. it's still essentially on CentOS
> 5.7. In other words, other packages may be affecting the behaviour.
>
>> But if you meant changing something else than rendering: if change
>> the "Application font", it changes in both firefoxes instantaneously...
> Yep. That works for me, too.
>> Maybe check in /etc/fonts/conf.d/...
> It contains a lot of files, but I suppose I'll have to look through all
> of them...
>
> - Toralf
>
>> JD
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>
> This e-mail, including any attachments and response string, may contain 
> proprietary information which is confidential and may be legally privileged. 
> It is for the intended recipient only. If you are not the intended recipient 
> or transmission error has misdirected this e-mail, please notify the author 
> by return e-mail and delete this message and any attachment immediately. If 
> you are not the intended recipient you must not use, disclose, distribute, 
> forward, copy, print or rely on this e-mail in any way except as permitted by 
> the author.
> ___
> 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


[CentOS] TwinView (on NVIDIA graphics card)?

2009-07-20 Thread Toralf Lund
Hi,
 
Is anyone here using TwinView with NVIDIA graphics drivers under CentOS
5? Just tried this configuration (I've been using dual monitors as
separate X screens in the past), and while it works in a sense, there
are a few issue that will probably prevent me from using it for real.
Notably, which screen new applications start on (when using the
Applications menu or panel launchers) seems to be quite arbitrary. I
expect windows to open on whichever screen I initiated their creation, I
suppose, but they will often  appear on the other one. This is using the
GNOME desktop.
 
Another slight issue is with the notification icons. I really want to
display duplicates of these, so I can view them on both screens, but is
seems like the Notification Area doesn't work this way, i.e. it will
never display more than one of each icon even when there are several
instances of the area. But this is a problem I also have when using
separate X screens.
 
So, what are other people's experiences with a dual monitor setup?
 
- Toralf
 

This e-mail, any attachments and response string may contain proprietary 
information, which are confidential and may be legally privileged.  It is for 
the intended recipient only and if you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately.  If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely in this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] TwinView (on NVIDIA graphics card)?

2009-07-20 Thread Toralf Lund
lostson wrote:
> On Monday 20 July 2009 03:13, Toralf Lund wrote:
>   
>> Hi,
>>
>> Is anyone here using TwinView with NVIDIA graphics drivers under CentOS
>> 5? Just tried this configuration (I've been using dual monitors as
>> separate X screens in the past), and while it works in a sense, there
>> are a few issue that will probably prevent me from using it for real.
>> Notably, which screen new applications start on (when using the
>> Applications menu or panel launchers) seems to be quite arbitrary. I
>> expect windows to open on whichever screen I initiated their creation, I
>> suppose, but they will often  appear on the other one. This is using the
>> GNOME desktop.
>>
>> Another slight issue is with the notification icons. I really want to
>> display duplicates of these, so I can view them on both screens, but is
>> seems like the Notification Area doesn't work this way, i.e. it will
>> never display more than one of each icon even when there are several
>> instances of the area. But this is a problem I also have when using
>> separate X screens.
>>
>> So, what are other people's experiences with a dual monitor setup?
>>
>> - Toralf
>>
>>
>> 
>   Hello 
>  I have used twins for years actually and have always had very good results 
> with my setups. I always have used KDE with it though and KDE has settings 
> for dual monitors as to what screen applications start on,
Right. I suppose these issues are desktop environment and/or window 
manager specific, though, so maybe I'll have to wait for answers from 
people using GNOME. I might try logging in to KDE just to see how it all 
works there, though...

>  also Kwin has an 
> option to remember where a window was and will always put that application 
> back where it was when you closed it.
This is precisely what I don't want, but the way. If I open an 
application on monitor 0, then close it, and hit the application's 
launcher icon on screen 1, I want the application to open on screen one, 
and not pop up on screen 0 just because that's where it lived earlier.

>  I mostly used my twins as one giant 
> monitor versus two seperate screens but when i did it worked the same way.
>
>  As far as the system tray issue i have never tried to have 2 separate system 
> trays running but they have always showed the same icons no matter how i used 
> the trays and panels.
>   
I'm not exactly sure what you mean by that... That if you run one system 
tray then it will generally display all system tray icons? Well, that's 
kind of obvious isn't it - unless you are used to horribly broken 
applications?
>  There is some very good documentation on nvidia's site about all the 
> possible 
> options you can use for twinview. Its a very long read but it comes in pdf 
>   
OK. I'll have a look...

- Thanks
> form so at least you can have it locally when needed, mainly because its a 
> long document and it takes time to go through it all. Other than that like i 
> said I have used twins for years and have always enjoyed it. At one time i 
> had two graphics cards and four monitors going at once, it was quite a fun 
> setup, one monitor for irc, one monitor for web browsing, one for vim/emacs/ 
> other various ide's and one for multimedia apps amarok kaffeine etc. I hope 
> you enjoy multiple monitors as much as i do it can take alot of reading and 
> tweaking but once you get a xorg.conf setup the way you want just make sure 
> you back it up so you can keep it with you from machine to machine or from 
> upgrades and such as well.
>
>   
> 
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   


This e-mail, any attachments and response string may contain proprietary 
information, which are confidential and may be legally privileged.  It is for 
the intended recipient only and if you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately.  If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely in this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] TwinView (on NVIDIA graphics card)?

2009-07-21 Thread Toralf Lund
Rob Kampen wrote:
> Toralf Lund wrote:
>> Hi,
>>  
>> Is anyone here using TwinView with NVIDIA graphics drivers under 
>> CentOS 5? [ ... ]
>> Another slight issue is with the notification icons. I really want to 
>> display duplicates of these, so I can view them on both screens, but 
>> is seems like the Notification Area doesn't work this way, i.e. it 
>> will never display more than one of each icon even when there are 
>> several instances of the area. But this is a problem I also have when 
>> using separate X screens.
>>  
>> So, what are other people's experiences with a dual monitor setup?
>>  
>> - Toralf
>>  
>>
>>   
> Toralf,
> I have two systems both running nvidia twinview and gnome.
> My experience with opening apps is that it appears totally random - it 
> is somewhat related to the window least used, but each time I think I 
> have it figured out it does something else.
Right. This is a 100% accurate description of what I'm seeing - I 
couldn't have put it better myself ;-)

> As my xorg.conf is basically the same on both - this may be the reason 
> for identical behavior.
> I do not recall how I got them setup initially about two years ago - 
> it was a nightmare, thus I keep a copy of xorg.conf and use it.
Setting it up was quite easy for me, thought, but I used the tools 
supplied with the NVIDIA driver - these are actually quite good.
> My reading on xorg.conf seems to support the view that this file's 
> setup is black art / black magic. I also understand that some devices 
> can now bypass this ... i.e keyboard and mouse . no logical 
> design in place.
Like someone else mentioned, the docs from NVIDIA may just be better, 
too. These are included in the "dkms-nvidia-x11-drv" package at 
rpmforge.net.

Not that this helps me much, though, as I really, really want to be able 
to work when one of the screens isn't visible (without having to switch 
the display off and back on all the time.) So it's back to separate X 
screens I suppose. Which I'm quite happy with, really, but it would be 
nice to be able to move windows between the screens every once in a 
while. Actually, the ideal for me would be if the screens could behave 
as different workspaces.

Thanks,

- Toralf
> HTH
> Rob
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   


This e-mail, any attachments and response string may contain proprietary 
information, which are confidential and may be legally privileged.  It is for 
the intended recipient only and if you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately.  If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely in this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NIS

2009-07-22 Thread Toralf Lund
Per Qvindesland wrote:
> Hi list
>
> Does anyone know about a good howto setup nis and to make ad see it 
> and use the usernames?
I haven't actually set up NIS in the machine I'm using right now, but if 
I remember correctly, what you need to do to get a machine to use the 
usernames and passwords on an existing NIS server is:

   1. Insert a line like
  domain yourdomainname broadcast
  in the file /etc/yp.conf.
   2. Edit /etc/nsswitch.conf; change the line
  passwd: files
  to
  passwd: files nis
  or
  passwd: nis files
   3. /sbin/chkconfig ypbind start

If you are using DHCP and the DHCP server knows the NIS domain name, 
it's even simpler, as 1) should be done automatically (but it's always a 
good idea to check the file just in case.)

If you're talking about setting up a NIS server, I can't recall much 
about how it's done, I'm afraid...

- Toralf
> Regards
> Per Qvindesland
> E-mail: p...@norhex.com 
> http://www.linkedin.com/in/perqvindesland
> 
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   


This e-mail, any attachments and response string may contain proprietary 
information, which are confidential and may be legally privileged.  It is for 
the intended recipient only and if you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately.  If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely in this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Compiz window manager?

2009-08-18 Thread Toralf Lund
Has anyone here tried the Compiz window manager under CentOS 5? I just 
thought I might give it a go, but when I executed "compiz --replace", I 
got a segfault. This was using the version from the CentOS yum 
repositories, and logged in to the GNOME desktop. My graphics driver is 
the proprietary one from NVIDIA. I tried adding

Option  "AddARGBGLXVisuals" "True"
Option  "DisableGLXRootClipping" "True"

to xorg.conf as this was suggested somewhere on the net, but it didn't 
make any difference.

Any ideas what's wrong?

- Toralf


This e-mail, any attachments and response string may contain proprietary 
information, which are confidential and may be legally privileged.  It is for 
the intended recipient only and if you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately.  If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely in this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Compiz window manager?

2009-08-19 Thread Toralf Lund
Niki Kovacs wrote:
> Toralf Lund a écrit :
>   
>> Has anyone here tried the Compiz window manager under CentOS 5? I just 
>> thought I might give it a go, but when I executed "compiz --replace", I
>> 
[ ... ]
>
> I'm using it, on all my desktop PCs, and two of these have different 
> NVidia cards.
OK. So it ought to work, then.

>  The lines you describe must indeed be in xorg.conf, 
> otherwise you'll have no window decorations.
>   
Fair enough...
> But to activate Compiz, you just have to go to Preferences>Desktop 
> effects in GNOME, and click on "Activate". That's all there is to do.
>   
What this actually does is just to start the window manager with the 
--replace option the way I indicated earlier, I would assume. It also 
fails, in this case with a very general error message in a popup. In 
other words, this setup simply doesn't work on my machine. I forgot to 
mention that I have two monitors and use TwinView, though - perhaps the 
problem is related to that. Maybe I'll try with a single-screen setup 
later...

- Toralf


This e-mail, any attachments and response string may contain proprietary 
information, which are confidential and may be legally privileged.  It is for 
the intended recipient only and if you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately.  If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely in this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Compiz window manager?

2009-08-23 Thread Toralf Lund
Bart Schaefer wrote:
> On Wed, Aug 19, 2009 at 7:29 AM, Toralf Lund wrote:
>   
>> I forgot to
>> mention that I have two monitors and use TwinView, though - perhaps the
>> problem is related to that. Maybe I'll try with a single-screen setup
>> later...
>> 
>
> There is a maximum framebuffer size with which compiz will work.  Most
> two-screen setups exceed that.
>   
Right... Yeah, the total width of the screens is definitely more than 
2048, if that's the maximum. However, I wasn't quite right about using 
TwinView, either (must be something wrong with my brain these days). 
Actually, I disabled this a while back, and the monitors are configured 
as separate X screens. Also, I don't get the messages about maximum 
texture sizes that are mentioned on the net, just plain

Segmentation fault (core dumped)

- Toralf


This e-mail, any attachments and response string may contain proprietary 
information, which are confidential and may be legally privileged.  It is for 
the intended recipient only and if you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately.  If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely in this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Boot failure after install on IBM x3550 M3

2010-11-11 Thread Toralf Lund
I'm trying to install CentOS 5.5 on a couple of servers of type IBM 
System x3550 M3, but it's not going too well. Actually, the install 
setup phase runs as expected, and the actual installation also appears 
to be successful, but the system will not boot - I just get a message 
(presumably) from BIOS saying that boot from hard disk 0. If I start the 
installer again after this, or boot rescue mode off the install DVD, the 
installation is correctly found, however.

Does anyone have any idea what may cause this and/or how I can fix the 
problem? Or is there at least anyone out there who has tried CentOS on 
the same type of hardware?

Note that I've tried (re)installing several times, and also tested 
CentOS 5.4, but the result is always the same. I've also used CentOS 
without any problems on an x3550 M2, i.e. a slightly older variant of 
the hardware. I've (so far) installed with the default disk layout and 
package selection.

- Toralf



This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Boot failure after install on IBM x3550 M3

2010-11-11 Thread Toralf Lund
Rob Del Vecchio wrote:
> > it may be that grub was not installed.
I did try "grub-install" from Rescue Mode, but it made no difference.
>
> I agree; also double check that the drive you installed CentOS on is 
> the drive that you're booting from?

I don't think I have more than one drive, but I'll check more closely...
>
> > I've (so far) installed with the default disk layout and package 
> selection.
>
> You may want to try specifying a /boot partition.
Isn't that added by default?
>
> If all else fails, I've found this guide very useful
> http://www.gnu.org/software/grub/manual/legacy/grub.html
>
> You'll probably want this 
> section: 
> http://www.gnu.org/software/grub/manual/legacy/grub.html#Installing-GRUB-natively
I'll have a look. Thanks.

- Toralf
>
> Hope this helps,
> Rob


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Boot failure after install on IBM x3550 M3

2010-11-11 Thread Toralf Lund
RedShift wrote:
> On 11/11/10 14:22, Toralf Lund wrote:
>   
>> I'm trying to install CentOS 5.5 on a couple of servers of type IBM
>> System x3550 M3, but it's not going too well. Actually, the install
>> setup phase runs as expected, and the actual installation also appears
>> to be successful, but the system will not boot [ ... ]
>>
>>
>> 
>
> Make sure all the firmware is up to date. I've had an IBM x3550 M3 and it 
> couldn't even boot a Windows 2008 R2 64 bit CD with the firmware it shipped 
> with.
>   
That seems like a useful tip, but do you know what exactly I need to 
install and where to find it? I'm looking at an IBM download page right 
now, but it's a little confusing - I can't seem to find anything that 
it's obviously the *system* firmware, only entries like "Firmware for 
Rack & Tower LCD UPS" and " Firmware for Local Console Manager".

- Toralf


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Boot failure after install on IBM x3550 M3

2010-11-11 Thread Toralf Lund
RedShift wrote:
> On 11/11/10 16:25, Toralf Lund wrote:
>   
>> RedShift wrote:
>> 
>>> On 11/11/10 14:22, Toralf Lund wrote:
>>>
>>>   
>>>> I'm trying to install CentOS 5.5 on a couple of servers of type IBM
>>>> System x3550 M3, but it's not going too well. Actually, the install
>>>> setup phase runs as expected, and the actual installation also appears
>>>> to be successful, but the system will not boot [ ... ]
>>>>
>>>>
>>>>
>>>> 
>>> Make sure all the firmware is up to date. I've had an IBM x3550 M3 and it 
>>> couldn't even boot a Windows 2008 R2 64 bit CD with the firmware it shipped 
>>> with.
>>>
>>>   
>> That seems like a useful tip, but do you know what exactly I need to
>> install and where to find it? I'm looking at an IBM download page right
>> now, but it's a little confusing - I can't seem to find anything that
>> it's obviously the *system* firmware, only entries like "Firmware for
>> Rack&  Tower LCD UPS" and " Firmware for Local Console Manager".
>>
>> - Toralf
>>
>>
>> 
>
>
> What's the model and type? It should be -yyy where x can be 0-9 and y can 
> be 0-9 & A-z.  You can find it on the front of the chassis.
>   
It's 7944-K1G

I've selected 7944 along with "System x" and "System x3550 M3" at 
http://www-933.ibm.com/support/fixcentral/, but like I said, couldn't 
find anything obvious.

- Toralf



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


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Boot failure after install on IBM x3550 M3

2010-11-12 Thread Toralf Lund
RedShift wrote:
> On 11/11/10 16:39, Toralf Lund wrote:
>   
>> RedShift wrote:
>> 
>>> On 11/11/10 16:25, Toralf Lund wrote:
>>>
>>>   
>>>> RedShift wrote:
>>>>
>>>> 
>>>>> On 11/11/10 14:22, Toralf Lund wrote:
>>>>>
>>>>>
>>>>>   
>>>>>> I'm trying to install CentOS 5.5 on a couple of servers of type IBM
>>>>>> System x3550 M3, but it's not going too well. Actually, the install
>>>>>> setup phase runs as expected, and the actual installation also appears
>>>>>> to be successful, but the system will not boot [ ... ]
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> 
>>>>> Make sure all the firmware is up to date. I've had an IBM x3550 M3 and it 
>>>>> couldn't even boot a Windows 2008 R2 64 bit CD with the firmware it 
>>>>> shipped with.
>>>>>
>>>>>
>>>>>   
>>>> That seems like a useful tip, but do you know what exactly I need to
>>>> install and where to find it? I'm looking at an IBM download page right
>>>> now, but it's a little confusing - I can't seem to find anything that
>>>> it's obviously the *system* firmware, only entries like "Firmware for
>>>> Rack&   Tower LCD UPS" and " Firmware for Local Console Manager".
>>>>
>>>> - Toralf
>>>>
>>>>
>>>>
>>>> 
>>> What's the model and type? It should be -yyy where x can be 0-9 and y 
>>> can be 0-9&  A-z.  You can find it on the front of the chassis.
>>>
>>>   
>> It's 7944-K1G
>>
>> I've selected 7944 along with "System x" and "System x3550 M3" at
>> http://www-933.ibm.com/support/fixcentral/, but like I said, couldn't
>> find anything obvious.
>>
>> - Toralf
>>
>> 
>
> Search for UEFI firmware. Those IBM servers don't have a classic BIOS 
> anymore, they are EFI based. I looked it up following your model/type and 
> found the updates.
>
>
> http://www-933.ibm.com/support/fixcentral/systemx/quickorder?parent=ibm/Systemx3550M3&product=ibm/systemx/7944&&platform=All&function=fixId&fixids=ibm_fw_uefi_d6e149a_linux_32-64&source=fc
>   
Ah. Thanks.

I believe I missed that file because I searched for operating system 
independent components (because firmware doesn't use the OS, right?), 
but apparently I should have chosen some Linux variant instead.

Anyhow, I now think I've successfully installed this update, but 
unfortunately, the system still won't boot :-( Maybe it's time to 
contact our supplier...

- Toralf


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Boot failure after install on IBM x3550 M3

2010-11-17 Thread Toralf Lund
>
>>> I'm trying to install CentOS 5.5 on a couple of servers of type IBM
>>> System x3550 M3, but it's not going too well. Actually, the install
>>> setup phase runs as expected, and the actual installation also appears
>>> to be successful, but the system will not boot [ ... ]
>>>
>>>
>>>
>>>
>>> 
>>>   
>> Make sure all the firmware is up to date. I've had an IBM x3550 M3 and 
>> it couldn't even boot a Windows 2008 R2 64 bit CD with the firmware it 
>> shipped with.
>>
>>
>>   
>> 
> That seems like a useful tip, but do you know what exactly I need to
> install and where to find it? I'm looking at an IBM download page right
> now, but it's a little confusing - I can't seem to find anything that
> it's obviously the *system* firmware, only entries like "Firmware for
> Rack&   Tower LCD UPS" and " Firmware for Local Console Manager".
>
> - Toralf
>
>   
 What's the model and type? It should be -yyy where x can be 0-9 and y 
 can be 0-9&  A-z.  You can find it on the front of the chassis.

   [ ... ]
>> Search for UEFI firmware. Those IBM servers don't have a classic BIOS 
>> anymore, they are EFI based. I looked it up following your model/type and 
>> found the updates.
>>
>>
>> http://www-933.ibm.com/support/fixcentral/systemx/quickorder?parent=ibm/Systemx3550M3&product=ibm/systemx/7944&&platform=All&function=fixId&fixids=ibm_fw_uefi_d6e149a_linux_32-64&source=fc
>>   
>> 
> Ah. Thanks.
>
> I believe I missed that file because I searched for operating system 
> independent components (because firmware doesn't use the OS, right?), 
> but apparently I should have chosen some Linux variant instead.
>   
I should perhaps mention that I found a solution, sort of: It seems like 
the problem is that the system simply won't boot from a single hard disk 
set up as just that - a single, separate drive. I suspect this has 
something to do with the disk/RAID controller firmware, but updating it 
did not help. If, on the other hand, I define (from within the 
controller setup screen) a "RAID" containing only one drive, everything 
works just fine...

- Toralf

This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Boot failure after install on IBM x3550 M3

2010-11-23 Thread Toralf Lund
Rob Kampen wrote:
> Toralf Lund wrote:
>>>>>>>>> I'm trying to install CentOS 5.5 on a couple of servers of type IBM
>>>>>>>>> System x3550 M3, but it's not going too well. Actually, the install
>>>>>>>>> setup phase runs as expected, and the actual installation also appears
>>>>>>>>> to be successful, but the system will not boot [ ... ]
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 
>>>>>>>>>   
>>>>>>>>> 
>>>>>>>> Make sure all the firmware is up to date. I've had an IBM x3550 M3 and 
>>>>>>>> it couldn't even boot a Windows 2008 R2 64 bit CD with the firmware it 
>>>>>>>> shipped with.
>>>>>>>>
>>>>>>>>
>>>>>>>>   
>>>>>>>> 
>>>>>>>>   
>>>>>>> That seems like a useful tip, but do you know what exactly I need to
>>>>>>> install and where to find it? I'm looking at an IBM download page right
>>>>>>> now, but it's a little confusing - I can't seem to find anything that
>>>>>>> it's obviously the *system* firmware, only entries like "Firmware for
>>>>>>> Rack&   Tower LCD UPS" and " Firmware for Local Console Manager".
>>>>>>>
>>>>>>> - Toralf
>>>>>>>
>>>>>>>   
>>>>>>> 
>>>>>> What's the model and type? It should be -yyy where x can be 0-9 and 
>>>>>> y can be 0-9&  A-z.  You can find it on the front of the chassis.
>>>>>>
>>>>>>   [ ... ]
>>>>>>   
>>>> Search for UEFI firmware. Those IBM servers don't have a classic BIOS 
>>>> anymore, they are EFI based. I looked it up following your model/type and 
>>>> found the updates.
>>>>
>>>>
>>>> http://www-933.ibm.com/support/fixcentral/systemx/quickorder?parent=ibm/Systemx3550M3&product=ibm/systemx/7944&&platform=All&function=fixId&fixids=ibm_fw_uefi_d6e149a_linux_32-64&source=fc
>>>>   
>>>> 
>>>>   
>>> Ah. Thanks.
>>>
>>> I believe I missed that file because I searched for operating system 
>>> independent components (because firmware doesn't use the OS, right?), 
>>> but apparently I should have chosen some Linux variant instead.
>>>   
>>> 
>> I should perhaps mention that I found a solution, sort of: It seems like 
>> the problem is that the system simply won't boot from a single hard disk 
>> set up as just that - a single, separate drive. I suspect this has 
>> something to do with the disk/RAID controller firmware, but updating it 
>> did not help. If, on the other hand, I define (from within the 
>> controller setup screen) a "RAID" containing only one drive, everything 
>> works just fine...
>>   
> Try nodmraid on the kernel line in grub - I needed this after one of 
> the upgrades in the 5.x series.
The problem is that the system never gets to the grub stage, i.e. it 
fails to boot from hard drive at the BIOS level, so as to speak.

- Toralf
>> - Toralf
>>
>> This e-mail, including any attachments and response string, may contain 
>> proprietary information which is confidential and may be legally privileged. 
>> It is for the intended recipient only. If you are not the intended recipient 
>> or transmission error has misdirected this e-mail, please notify the author 
>> by return e-mail and delete this message and any attachment immediately. If 
>> you are not the intended recipient you must not use, disclose, distribute, 
>> forward, copy, print or rely on this e-mail in any way except as permitted 
>> by the author.
>> ___
>> 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] Novell sale news?

2010-11-24 Thread Toralf Lund
Les Mikesell wrote:
> On 11/22/10 10:28 PM, Frank Cox wrote:
>   
>> On Mon, 22 Nov 2010 22:09:59 -0600
>> Les Mikesell wrote:
>>
>> 
>>> I don't think they ever did a real native *nix verson - they had a slightly
>>> custom version of wine wrapped around the windows code.
>>>   
>> Native WP for Unix existed back in the days of WP/DOS and the like.
>>
>> WP ran on a huge number of platforms.  I still have WP 4.1 for Amiga laying
>> around here somewhere.
>>
>> http://en.wikipedia.org/wiki/WordPerfect
>>
>> "While available in DOS and Microsoft Windows versions, its popularity was 
>> based
>> in part on the fact that it was available for a wide variety of computers and
>> operating systems, including Mac OS, Linux, the Apple IIe, a separate version
>> for the Apple IIgs, most popular versions of Unix, VMS, Data General,
>> System/370, AmigaOS, Atari ST, OS/2, and NeXTSTEP."
>> 
>
> That's going back to the character-mode days.  I meant the GUI version.
>   
I used an X11 version on some Unix variant a long time ago - possibly 
IRIX, but it may have been the DEC one (or both.) This was several years 
before they released the WINE based thing you are talking about, which I 
believe was Linux only. In fact, I think there was a Linux version of 
the "native" X11 port, too - then they replaced it with the wine variant 
to avoid maintaining so many different branches of the code, or 
something. (BAAAD decision...)

- Toralf


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] DisplayPort output with intel graphics driver?

2010-11-24 Thread Toralf Lund
Hi.

We've installed CentOS 5.5 on a "mini PC" with an onboard Intel graphics 
chip, which has both "VGA" and DisplayPort output. This works reasonably 
well, except that I'd like to connect the monitor to the DisplayPort, 
and I only seem to get a signal on the VGA connector. This is the case 
even if I boot with the DisplayPort (only) connected, in which case 
console output during boot goes to the DisplayPort, but the graphical 
output does not. On the other hand, . DisplayPort display did work when 
booting from a "live" Ubuntu CD.

Is there anything I can do to get the correct display setup? Note that 
the driver used is "intel", not "i810".

Thanks,

- Toralf

This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Boot failure after install on IBM x3550 M3

2010-11-24 Thread Toralf Lund
Toralf Lund wrote:
> Rob Kampen wrote:
>   
>> Toralf Lund wrote:
>> 
>>>>>>>>>> I'm trying to install CentOS 5.5 on a couple of servers of type IBM
>>>>>>>>>> System x3550 M3, but it's not going too well. Actually, the install
>>>>>>>>>> setup phase runs as expected, and the actual installation also 
>>>>>>>>>> appears
>>>>>>>>>> to be successful, but the system will not boot [ ... ]
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 
>>>>>>>>>>   
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>> Make sure all the firmware is up to date. I've had an IBM x3550 M3 
>>>>>>>>> and it couldn't even boot a Windows 2008 R2 64 bit CD with the 
>>>>>>>>> firmware it shipped with.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>   
>>>>>>>>> 
>>>>>>>>>   
>>>>>>>>>   
>>>>>>>> That seems like a useful tip, but do you know what exactly I need to
>>>>>>>> install and where to find it? I'm looking at an IBM download page right
>>>>>>>> now, but it's a little confusing - I can't seem to find anything that
>>>>>>>> it's obviously the *system* firmware, only entries like "Firmware for
>>>>>>>> Rack&   Tower LCD UPS" and " Firmware for Local Console Manager".
>>>>>>>>
>>>>>>>> - Toralf
>>>>>>>>
>>>>>>>>   
>>>>>>>> 
>>>>>>>> 
>>>>>>> What's the model and type? It should be -yyy where x can be 0-9 and 
>>>>>>> y can be 0-9&  A-z.  You can find it on the front of the chassis.
>>>>>>>
>>>>>>>   [ ... ]
>>>>>>>   
>>>>>>>   
>>>>> Search for UEFI firmware. Those IBM servers don't have a classic BIOS 
>>>>> anymore, they are EFI based. I looked it up following your model/type and 
>>>>> found the updates.
>>>>>
>>>>>
>>>>> http://www-933.ibm.com/support/fixcentral/systemx/quickorder?parent=ibm/Systemx3550M3&product=ibm/systemx/7944&&platform=All&function=fixId&fixids=ibm_fw_uefi_d6e149a_linux_32-64&source=fc
>>>>>   
>>>>> 
>>>>>   
>>>>>   
>>>> Ah. Thanks.
>>>>
>>>> I believe I missed that file because I searched for operating system 
>>>> independent components (because firmware doesn't use the OS, right?), 
>>>> but apparently I should have chosen some Linux variant instead.
>>>>   
>>>> 
>>>> 
>>> I should perhaps mention that I found a solution, sort of: It seems like 
>>> the problem is that the system simply won't boot from a single hard disk 
>>> set up as just that - a single, separate drive. I suspect this has 
>>> something to do with the disk/RAID controller firmware, but updating it 
>>> did not help. If, on the other hand, I define (from within the 
>>> controller setup screen) a "RAID" containing only one drive, everything 
>>> works just fine...
>>>   
>>>   
>> Try nodmraid on the kernel line in grub - I needed this after one of 
>> the upgrades in the 5.x series.
>> 
> The problem is that the system never gets to the grub stage, i.e. it 
> fails to boot from hard drive at the BIOS level, so as to speak.
>   
Of course, this probably means the problem isn't related to CentOS at 
all, but I didn't quite realise that when I posted the original question...

- Toralf


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Novell sale news?

2010-11-24 Thread Toralf Lund
Karanbir Singh wrote:
> On 11/24/2010 10:32 AM, Toralf Lund wrote:
>   
>>> That's going back to the character-mode days.  I meant the GUI version.
>>>
>>>   
>> I used an X11 version on some Unix variant a long time ago - possibly
>> IRIX, but it may have been the DEC one (or both.) This was several years
>> 
>
> Thats good, but how is that even remotely related to his list ?
>   
It's *remotely* related in that it means someone, somewhere must have 
source code that would probably compile more or less directly under 
CentOS, for the (currently unsupported) software in question.

Apart from that, it's sometimes hard to resist commenting on obviously 
incorrect statements even in an off-topic thread...

- T
> If there is enough interest to build a social sort of list around the 
> centos community, we can always fire up a centos-chatter or 
> centos-social mailing list. Doing this on irc has been, imho, most 
> successful.
>
> - KB
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Service monitoring/"Monit"?

2010-06-11 Thread Toralf Lund
Has anybody here tried the "Monit" utility (http://mmonit.com/monit/)? I 
need to set up some kind of "watchdog" functionality for a custom 
service otherwise started via init (i.e. via a script in /etc/init.d + 
rc*.d links managed by chkconfig) and it seems like this system may give 
me nearly what I want. However, something that concerns me about it, is 
that it appears to take full ownership of the services it monitors, and 
pretty much bypass the init system, in that once I've told monit to 
watch a process, it makes not difference if the associated service is 
enabled or not (via "chkconfig") , and there is no good way to fully 
stop the service, besides removing the Monit config or disabling Monit 
itself. (Or maybe I can use special "monit" commands, too, but that 
means precisely that Monit "owns" the service, which I somehow don't 
quite like.)

What I'd really like, is to have my process watched and restarted if it 
goes a way, but only if it had already been started via "init" or 
through the "service" command, or possibly direct execution of the 
"init.d" script. This also means it should be restarted if it crashes or 
if is stopped via a direct "kill", but not after "service  stop" 
or similar. Which might mean it all boils down to checking if, and only 
if, the pid file for the service already exists.  (Does that make any 
sense?)

So, does anyone know if there is a way to convince Monit to do this for 
me? Or alternatively, is there a different tool that might do the job?

And yes, I know it shouldn't be that hard to design a 
program/script/cron job to do it all for me, but I still think not 
having to maintain another software component would be nice...

- Toralf

This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Service monitoring/"Monit"?

2010-06-11 Thread Toralf Lund
Pavel Lisý wrote:
> Toralf Lund píše v Pá 11. 06. 2010 v 09:21 +0200:
>   
>> Has anybody here tried the "Monit" utility (http://mmonit.com/monit/)? I 
>> need to set up some kind of "watchdog" functionality for a custom 
>> service otherwise started via init (i.e. via a script in /etc/init.d + 
>> rc*.d links managed by chkconfig) and it seems like this system may give 
>> me nearly what I want. However, something that concerns me about it, is 
>> that it appears to take full ownership of the services it monitors, and 
>> pretty much bypass the init system, in that once I've told monit to 
>> watch a process, it makes not difference if the associated service is 
>> enabled or not (via "chkconfig") , and there is no good way to fully 
>> stop the service, besides removing the Monit config or disabling Monit 
>> itself. (Or maybe I can use special "monit" commands, too, but that 
>> means precisely that Monit "owns" the service, which I somehow don't 
>> quite like.)
>>
>> What I'd really like, is to have my process watched and restarted if it 
>> goes a way, but only if it had already been started via "init" or 
>> through the "service" command, or possibly direct execution of the 
>> "init.d" script. This also means it should be restarted if it crashes or 
>> if is stopped via a direct "kill", but not after "service  stop" 
>> or similar. Which might mean it all boils down to checking if, and only 
>> if, the pid file for the service already exists.  (Does that make any 
>> sense?)
>>
>> So, does anyone know if there is a way to convince Monit to do this for 
>> me? Or alternatively, is there a different tool that might do the job?
>>
>> And yes, I know it shouldn't be that hard to design a 
>> program/script/cron job to do it all for me, but I still think not 
>> having to maintain another software component would be nice...
>> 
> Try this:
>
> 1. put to /etc/monit.conf this line:
> include /etc/monit.d/*.conf
>
> 2. for active services make you own files in /etc/monit.d,
> ex. /etc/monit.d/sshd.conf:
>
> # ssh control
> check process sshd with pidfile /var/run/sshd.pid
>   start program "/etc/init.d/sshd start"
>   stop program "/etc/init.d/sshd stop"
>   if 5 restarts within 5 cycles then timeout
>
> 3. when you change service to 
> chkconfig sshd off
>
> rename /etc/monit.d/sshd.conf to something different:
> mv /etc/monit.d/sshd.conf /etc/monit.d/sshd.conf-dontuse
>   
I think you are missing my point. This is precisely what I do not want 
to do. The last bit here, I mean - i.e. I'm asking for a way to set up 
so the "rename /etc/monit.d/sshd.conf to something different" step won't 
be necessary.



- Toralf


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Service monitoring/"Monit"?

2010-06-11 Thread Toralf Lund
Karanbir Singh wrote:
> On 11/06/2010 08:21, Toralf Lund wrote:
>   
>> Has anybody here tried the "Monit" utility (http://mmonit.com/monit/)? 
>> 
>
> For what you are trying to do - take a look at God (
> http://god.rubyforge.org/ ) instead or : as lesser complex solution -
> bluepill ( http://github.com/arya/bluepill )
>   
OK, thanks, I'll have a look.

> I've used Monit quite extensively in the past and found it to be quite
> limiting in that it wont let you easily wrap your app into a self
> managed bundle,
That's actually part of what I want to do. I'd like to have an rpm 
package install put a "real" monitoring config in /etc/monitors.d, but I 
can't really do it if that means automatically starting the service - it 
must be possible (and simple) to install the software without forcing it 
to run directly.

>  or be able to use arbitrary conditions to influence
> monitoring state. Eg. When you are doing a yum upgrade httpd; you dont
> really want monit to try starting httpd when the rpm -e has just happened.
>   
Quite. But if you could set up the way I want, it wouldn't, provided 
that it was stopped in a controlled manner (which is something one of 
the rpm scriptlets might do.)

> In your specific case, it will be nearly impossible for you to get Monit
> to do something like ' keen an eye on sshd, but only if it was already
> running and keep it in its state I left it manually.'
>   
Too bad, really, since it seems like it very nearly has what's needed. 
There is also a "dependency" mechanism that would do this, if only it 
implemented real, hard dependencies. Right now, (as far as I can tell) 
"depending" on another service merely means that monit will try to start 
the other service first - the "dependent" service will not be stopped or 
skipped if the operation fails.

- Toralf

This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Service monitoring/"Monit"?

2010-06-11 Thread Toralf Lund
Geoff Galitz wrote:
>> I think you are missing my point. This is precisely what I do not want
>> to do. The last bit here, I mean - i.e. I'm asking for a way to set up
>> so the "rename /etc/monit.d/sshd.conf to something different" step won't
>> be necessary.
>> 
>
>
> Depending on how much effort you are willing to put into this, you can get
> nagios to do this.  There are two options:
>   
Hmmm... I've used Nagios before, but it must be 10 years ago now, so 
probably I'd have to re-learn it. But I'm sure it could be done.

I have a feeling that introducing nagios monitoring is a little too 
involved, though. I want to distribute the setup to external systems, so 
ideally there should be one "monitoring" package install and a simple 
"enable" command at the most, in addition to installation of the actual 
software.

rpm -Uvh monit-.rpm
chkconfig monit on

Is really quite ideal, except for the fact that it only nearly gives me 
what I want :-(

But thanks anyway,

- Toralf

> 1) Create a custom plugin that checks "service [app] status" or directly
> check the pid file and pgrep/grep for the app.  
>
> 2) Write a small script that you stick into the service init script that
> tells nagios to start or stop monitoring a service.  I used perl and LWP to
> do something very similar but you can probably find another CPAN module or
> something similar to act as interface to nagios.
>
>
> If you are comfortable with scripting and nagios you can bang out a solution
> in an afternoon.  Option 1 you can probably do in less than an hour and is
> probably better for you.  
>
> -
> Geoff Galitz
> Blankenheim NRW, Germany
> http://www.galitz.org/
> http://german-way.com/blog/
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Service monitoring/"Monit"?

2010-06-11 Thread Toralf Lund
Karanbir Singh wrote:
> On 11/06/2010 10:49, Toralf Lund wrote:
>   
>> That's actually part of what I want to do. I'd like to have an rpm 
>> package install put a "real" monitoring config in /etc/monitors.d, but I 
>> can't really do it if that means automatically starting the service - it 
>> must be possible (and simple) to install the software without forcing it 
>> to run directly.
>> 
>
> God and Bluepill can both do these things. Its a classic case of what I
> call reactive-monitoring.
OK.

 From reading the docs on the web sites, there are a number of things 
that are not quite clear, like what the "process" tests actually do, or 
how I might combine a file test ("does the pid file xist"?) with them (f 
that's what I want. This is perhaps partly because I don't speak Ruby, 
and I'm sure what I want is doable...

Do you happen to know if any of these tools are available from yum 
repositories and/or in rpm package form?

>  So you only look at specific conditions - then
> wrap them around a policy each. The problem with monit is that its
> unable to handle more than one condition in one run cycle, and its
> extremely hard to do co-ordinated scheduling across tasks using the
> monit config files.
>
> Imho, Monit is a good implementation of init; and useful for situations
> where the app can handle contingencies and policy itself.
>
>   
>> Too bad, really, since it seems like it very nearly has what's needed. 
>> There is also a "dependency" mechanism that would do this, 
>> 
>
> Deps are important,
Definitely. But do my mind, "service A depends on service B" should mean 
that if service B isn't active, and can't be started, then there will be 
no attempt to start service B, either - and there might even be an 
attempt to stop it if it's already running. Not so with Monit, like I 
said...

- Toralf

>  specially when you daisy chain tasks. eg. Nagios to
> monitor machine state, user facing external ( or cross machine )
> interfaces, and BluePill. Then have BluePill handle app state locally.
>
> - KB
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Service monitoring/"Monit"?

2010-06-11 Thread Toralf Lund
Geoff Galitz wrote:
>   
>> I have a feeling that introducing nagios monitoring is a little too
>> involved, though. I want to distribute the setup to external systems, so
>> ideally there should be one "monitoring" package install and a simple
>> "enable" command at the most, in addition to installation of the actual
>> software.
>>
>> rpm -Uvh monit-.rpm
>> chkconfig monit on
>>
>> Is really quite ideal, except for the fact that it only nearly gives me
>> what I want :-(
>> 
>
>
> Gotcha.  Would a simple shell script be sufficient?  Something like:
>   
Yeah, I might just end up doing something like this...

I suppose I could also have "cron" control the "iterations" rather than 
doing a loop with wait, but that's just a matter of taste...
> ---
> while :## loop forever
> do
>   /sbin/service [app] status
>   if [$? -ne 0 ];  ## services which should be running, but are dead
>## return a non-zero status code
>   then
> service [app] restart
>   fi
>   sleep 120## sleep for about two minutes
> do
> ---
>
> Adding mail notifications and other standard functions would be trivial.  To
> monitor various services just create add a for loop in there.
> Just a thought.
>   
Yep. Maybe it can be that simple. I suppose I just wanted to know if 
somebody else had published something that would essentially be this 
script with a few of the trivial extensions you mention, as I don't want 
to re-invent the wheel even if it's a very basic one. But perhaps not...

- Toralf

> -Geoff
>
> -
> Geoff Galitz
> Blankenheim NRW, Germany
> http://www.galitz.org/
> http://german-way.com/blog/
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] "yum update": When is new header data downloaded? (Trying to set up custom repository...)

2010-07-12 Thread Toralf Lund
I'm trying to set up a custom rpm respository for some in-house 
software, and configure a number of CentOS 5 clients so that they may 
install and update the software in question from the location in 
question. I think I've mostly figured out how to do this -  I've 
successfully installed software on one of the clients via "yum install 
" after adding an URL of the form 
ftp://myserver/pub/ to the list of repositories, and uploading

   1. A directory containing the packages.
   2. A "repodata" directory generated by createrepo.

to the appropriate server location.

But then I wanted to see if could publish an upgrade, too, so I did, on 
the server-side:

   1. Updated the release number in my rpm spec files and rebuilt.
   2. Put the rpms on the right location.
   3. createrepo -q --update 

And on the client

yum update 

Problem is, this did nothing besides printing the message:

No Packages marked for Update

So I thought the repository hadn't been properly updated, but then I 
tried (still on the client):

rm -rf /var/cache/yum/
yum update 

And, hey presto, the package was upgraded to the new version.

So, it seems like I managed to correctly update the repodata and all, 
but originally, yum concluded that it didn't need to download a new 
version, but could use the one cached earlier. instead.

Does anyone have any idea why this happened? How exactly does yum decide 
when to download new headers and when to reuse cached data?

Thanks,

- Toralf




This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] "yum update": When is new header data downloaded? (Trying to set up custom repository...)

2010-07-12 Thread Toralf Lund
Toralf Lund wrote:
> I'm trying to set up a custom rpm respository for some in-house 
> software, and configure a number of CentOS 5 clients so that they may 
> install and update the software in question from the location in 
> question. I think I've mostly figured out how to do this -  I've 
> successfully installed software on one of the clients via "yum install 
> " after adding an URL of the form 
> ftp://myserver/pub/ to the list of repositories, and uploading [ 
> ... ]
>
>
> So, it seems like I managed to correctly update the repodata and all, 
> but originally, yum concluded that it didn't need to download a new 
> version, but could use the one cached earlier.
That should be "a new version *of the repodata*".

- Toralf
>  instead.
>
> Does anyone have any idea why this happened? How exactly does yum decide 
> when to download new headers and when to reuse cached data?
>
> Thanks,
>
> - Toralf
>
>   


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] "yum update": When is new header data downloaded? (Trying to set up custom repository...)

2010-07-12 Thread Toralf Lund
Benjamin Franz wrote:
> On 07/12/2010 04:58 AM, Toralf Lund wrote:
>   
>> So, it seems like I managed to correctly update the repodata and all,
>> but originally, yum concluded that it didn't need to download a new
>> version, but could use the one cached earlier. instead.
>>
>> Does anyone have any idea why this happened? How exactly does yum decide
>> when to download new headers and when to reuse cached data?
>>
>> 
>
> You probably want the /etc/yum.conf file. There should be a line in it 
> right now that reads 'metadata_expire=1h'.
>   
Ah. Never noticed this setting before... So only the download time of 
the data matters, and not the server-side update time? It nearly makes 
sense then, although the original install was done more than 1h before 
the update. But maybe the headers were downloaded again after that via 
yum-updatesd or similar?

A delay of 1h from the repository update to the client can upgrade may 
not actually be a problem, as long as we know about it...

Thanks,

- Toralf


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] "yum update": When is new header data downloaded? (Trying to set up custom repository...)

2010-07-12 Thread Toralf Lund
James Hogarth wrote:
> On 12 July 2010 13:29, Benjamin Franz  wrote:
>   
>> On 07/12/2010 04:58 AM, Toralf Lund wrote:
>> 
>>> So, it seems like I managed to correctly update the repodata and all,
>>> but originally, yum concluded that it didn't need to download a new
>>> version, but could use the one cached earlier. instead.
>>>
>>> Does anyone have any idea why this happened? How exactly does yum decide
>>> when to download new headers and when to reuse cached data?
>>>
>>>   
>> You probably want the /etc/yum.conf file. There should be a line in it
>> right now that reads 'metadata_expire=1h'.
>>
>>
>> 
>
> Rather than deleting that directory as a whole you would probably be
> better served by doing a yum clean metadata instead...
>   
I suppose so. I though I might try removing only data for the repository 
in question rather than clearing the entire cache when testing this, 
though...

- Toralf


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Sending files from mobile to CentOS via Bluetooth

2010-07-23 Thread Toralf Lund
Has anyone here managed to send files from a mobile phone to a CentOS 
system via Bluetooth? I'm trying with a Samsung E1310, using the GNOME 
tools, but can't get it to work. I can send files from the Linux box to 
this phone using the Nautilus bluetooth plugin 
(nautilus-sendto-bluetooth), and have also managed to "pull" some data 
I've been trying to send, via "obexftp". If I try to initiate a transfer 
from the phone, however, it will just display a generic "connection 
failed" message. If I run gnome-obex-server from the command line while 
doing this, I get

$ gnome-obex-server
conn_request:   bdaddr 
conn_complete:  status 0x00

But that's pretty much it. Any ideas? I'll also include some hcidump 
output below... Note that based on a simple web search, it does look 
like others have experienced the same thing, but I didn't really get 
much out of the information I found in terms of figuring out how to 
resolve the problem.

I'm using the latest packages from the CentOS 5 repositories. I also 
tried slightly older versions of bluez-utils and blues-libs as report at 
Red Hat Bugzilla suggested this might help, but it  didn't really.

- Toralf


 > HCI Event: Connect Request (0x04) plen 10
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
 > HCI Event: Command Status (0x0f) plen 4
 > HCI Event: Connect Complete (0x03) plen 11
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
 > HCI Event: Command Status (0x0f) plen 4
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
 > HCI Event: Read Remote Supported Features (0x0b) plen 11
 > HCI Event: Command Complete (0x0e) plen 6
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
 > HCI Event: Command Status (0x0f) plen 4
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
 > HCI Event: Connection Packet Type Changed (0x1d) plen 5
 > HCI Event: Command Status (0x0f) plen 4
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
 > HCI Event: Command Status (0x0f) plen 4
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
 > HCI Event: Command Status (0x0f) plen 4
 > ACL data: handle 11 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 1 scid 0x0040
< ACL data: handle 11 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0
  Connection successful
 > HCI Event: Max Slots Change (0x1b) plen 3
 > ACL data: handle 11 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 0
< ACL data: handle 11 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
  Success
< ACL data: handle 11 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 0
 > ACL data: handle 11 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
  Success
 > ACL data: handle 11 flags 0x02 dlen 24
L2CAP(d): cid 0x0040 len 20 [psm 1]
SDP SSA Req: tid 0x1 len 0xf
  pat uuid-16 0x1105 (OBEXObjPush)
  max 672
  aid(s) 0x0004 (ProtocolDescList)
  cont 00
< ACL data: handle 11 flags 0x02 dlen 11
L2CAP(d): cid 0x0040 len 7 [psm 1]
SDP Error Rsp: tid 0x1 len 0x2
  code 0x3 info none
 > HCI Event: Remote Name Req Complete (0x07) plen 255
 > HCI Event: Number of Completed Packets (0x13) plen 5
 > HCI Event: Number of Completed Packets (0x13) plen 5
 > ACL data: handle 11 flags 0x02 dlen 24
L2CAP(d): cid 0x0040 len 20 [psm 1]
SDP SSA Req: tid 0x1 len 0xf
  pat uuid-16 0x1105 (OBEXObjPush)
  max 672
  aid(s) 0x0004 (ProtocolDescList)
  cont 00
< ACL data: handle 11 flags 0x02 dlen 11
L2CAP(d): cid 0x0040 len 7 [psm 1]
SDP Error Rsp: tid 0x1 len 0x2
  code 0x3 info none
 > ACL data: handle 11 flags 0x02 dlen 24
L2CAP(d): cid 0x0040 len 20 [psm 1]
SDP SSA Req: tid 0x1 len 0xf
  pat uuid-16 0x1105 (OBEXObjPush)
  max 672
  aid(s) 0x0004 (ProtocolDescList)
  cont 00
< ACL data: handle 11 flags 0x02 dlen 11
L2CAP(d): cid 0x0040 len 7 [psm 1]
SDP Error Rsp: tid 0x1 len 0x2
  code 0x3 info none
 > HCI Event: Number of Completed Packets (0x13) plen 5
 > ACL data: handle 11 flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x0040 scid 0x0040
< ACL data: handle 11 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040
 > HCI Event: Number of Completed Packets (0x13) plen 5
 > HCI Event: Disconn Complete (0x05) plen 4


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not us

Re: [CentOS] Sending files from mobile to CentOS via Bluetooth

2010-07-23 Thread Toralf Lund
Olaf Mueller wrote:
> Toralf Lund wrote:
>
> Hello.
>
>   
>> Has anyone here managed to send files from a mobile phone to a CentOS
>> system via Bluetooth?
>> 
> Yes, send and receive files by bluetooth, under CentOS 5.5 with a SE
> T630 phone and the following setup:
> # rpm -qa | grep blue [ ... ]
>
>   
> It works for me since replacing some of the original CentOS packages
> with packages from Fedora Core 7 (fc7).
>   
You know, now that you mention it, I remember that I had to upgrade to a 
Fedora package even to get the discovery stuff and/or connection *from* 
the computer to work (this is something I set up a year or so ago.) I 
installed only bluez-gnome earlier, though, but now I've upgraded the 
other packages, too, so I have the same versions as you. Unfortunately, 
there is still no luck sending from the phone - the behaviour is still 
the same.

Another clue, though: If do the Bluetooth setup in a slightly different 
way on the phone, I get the following messages:

Getting service list...
Service not found

I suppose this may be the root of the problem, i.e. that the phone 
expects the computer to publish a list of services, and the GNOME 
bluetooth stuff doesn't.

-Toralf


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Sending files from mobile to CentOS via Bluetooth

2010-07-23 Thread Toralf Lund
Olaf Mueller wrote:
> Toralf Lund wrote:
>
>   
>> Olaf Mueller wrote:
>> 
>>> Toralf Lund wrote:
>>>   
>
>   
>> Getting service list...
>> Service not found
>> 
> Is your bluetooth usb-stick(?) working? For example my bluetooth
> usb-stick doesn't work with all USB-HUBs and does only work with USB
> 1.1. It's a little bit tricky.
>   
Well, as I was trying to say, I can transfer in both directions as long 
as I initiate from the computer. I'm assuming this implies everything is 
just fine with the bluetooth unit itself.

It's built-in Bluetooth, by the way.

- Toralf

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


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Mounting NFS file systems via Nautilus on CentOS 6

2015-07-11 Thread Toralf Lund

Hi,

I'm trying to set up my "work" laptop, which has CentOS 6.6, for easy 
NFS access to a "NAS" disk at home. I can't set for a normal "permanent" 
mount, since most of the time, the filesystem will not be available. I 
know several different ways to mount temporarily from the command line, 
but I was hoping I could set up the system so I could mount by clicking 
in the file browser (Nautilus.) I can't seem to find a way to do this, 
though. I've tried two different approaches:


1. Add an entry of the form
   server:/directory   /directory  nfs rw,users,noauto
   to /etc/fstab.
2. Add a location of the form
   /net/server/directory
   to Bookmarks - as the filesystem is mounted automatically when
   entering this location, provided that autofs is enabled with the
   default configuration.

Unfortunately, neither of these methods work out quite right. Setting up 
fstab as outlined in 1. means that I can mount the filesystem as a 
regular user by issuing "mount /directory", but I can't find a direct 
way to issue this command from the GUI: I actually thought a relevant 
entry would show up just like that under Places and/or computer:///, but 
apparently not. This could be related to what's described in 
https://bugzilla.gnome.org/show_bug.cgi?id=536292, although it mentions 
that the problem is fixed in GNOME 2.28, and I thought the CentOS 6 had 
a newer version than that.


Method 2. does cause the filesystem to be mounted, but the problem is 
that it happens too often. The idea was of course that the mount would 
occur when selecting the bookmark, but it looks like Nautilus will 
actually try to access the location before that, so that the filesystem 
pretty much stays mounted at all times. If the disk is available, that 
is, I haven't tested yet what happens when it isn't, but others with 
different Linux variants report that Nautlius will lock up completely 
because it can't get data for the location.


So, does anyone have any idea how to best set up the system do to what I 
want (see above)? I guess I might create special "mount" and "unmount" 
launchers, but I'd prefer a solution that's more integrated with the 
normal file browser operation.


Thanks,

- Toralf


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


Re: [CentOS] Mounting NFS file systems via Nautilus on CentOS 6

2015-07-12 Thread Toralf Lund

On 11/07/15 18:10, John Hodrien wrote:

Why not just use autofs and have it mounted on demand?


You probably didn't read my post properly.

Part of what I'm saying is that autofs is set up out-of-the box to mount 
the filesystem. However, to access the area, I have to type in the full 
path all the time, which is rather tedios. I'd like to bookmark the 
location, but the problem is that Nautilus apparently keeps accessing 
all bookmarked folders to check status or something, which in practice 
means autofs will try to keep the filesystem mounted at all times - 
which I don't want.



- Toralf



jh
___
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] Mounting NFS file systems via Nautilus on CentOS 6

2015-07-21 Thread Toralf Lund

On 13/07/15 00:58, Kahlil Hodgson wrote:

Looks like Nautilus is periodically 'stat'-ing the bookmark location.

Yep.

I'm wondering if this should be reported as a bug. I really think it 
ought to leave the bookmarks alone until you actually try to access them.




How about making a softlink to the target dir in your home directory, then
bookmarking the link in nautilus.  Hopefully Nautilus will stat the link
and not the target then.
I've been away for some days, so I haven't been able to test this until 
now...


Anyhow, I like the idea, but it looks like it doesn't actually work. I 
guess Nautlius will also "follow" links when it does whatever it is it 
wants to do with the bookmarks, so that bookmarking a link has the same 
effect as bookmarking the target location :-(


Another observation is that bookmarks for remote locations in URL form 
(smb://..., ftp://... etc.) will not be accessed in the same manner, so 
I'm thinking that the problem would be solved if I could trick the 
system into thinking the autofs mount point is one of those. (It *is* a 
remote location, of course, but not in the same way...) I have no idea 
how this might be done, however.


- Toralf




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


[CentOS] Help viewer issues

2015-08-12 Thread Toralf Lund

Hi.

Does anyone else have issues with the GNOME help viewer on CentOS 6? I think it 
mostly worked a while back, but after some recent update or the other, I have 
problems like:

 1.  Nothing happens when I click "Desktop User Guide" or "GNOME Desktop Accessibility Guide" or 
"GNOME Desktop System Administration Guide" on the "Help Topics" page.
 2.  If I select "section" links in the column on the left-hand side (under 
"Desktop"), I do get new section headings, but when I select any of these, again, nothing 
happens.
 3.  If I try to open a man page via a command like 'yelp man:man' or 'xdg-open 
man:man', I only get a blank window.

Any ideas about what may be wrong?

- Toralf


[http://www.pgs.com/mediaFiles/Exclaimer%20graphics/PGS_LOGO_RGB_42x53px.jpg]<http://www.pgs.com>
   Toralf Lund
Senior Software Engineer
Imaging & Engineering | Geoscience & Engineering

Telephone: +47 67 52 64 00
Direct: +47 67 51 57 78
Mobile: +47 91 31 66 91
Email: toralf.l...@pgs.com<mailto:toralf.l...@pgs.com>

A Clearer Image | www.pgs.com<http://www.pgs.com>


[http://www.pgs.com/mediaFiles/Exclaimer%20graphics/150731-ColourWave-660x14px.jpg]

Address: Lilleakerveien 4C, 0283 Oslo, Norway
Postal Address: P.O.Box 251 Lilleaker, 0216 Oslo, Norway

This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.


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


[CentOS] One screen disabled on login with NVIDIA TwinView

2012-11-14 Thread Toralf Lund
Hi

Is anyone here using NVIDIA display drivers and a TwinView configuration 
on their systems? I've got a bit of an issue with such a setup, which 
started occurring after a recent driver update: I have a laptop that's 
normally connected to an external monitor (a Samsung SyncMaster), where 
this monitor and the built-in display on the laptop are set up with a 
TwinView configuration. The external monitor is set to be the primary 
display via NVIDIA X Server Settings.

Now, when X11 starts, both monitors seem to be enabled, based on the 
fact that the NVIDIA logo is displayed across both screens. The login 
screen then appears on the external monitor, just as I expect when it's 
set to primary display. But, when I actually log in, the display goes 
black, and the NVIDIA X Server Settings (which I open on the laptop 
display) report the following config:

Selection: Samsung SyncMaster (DFP-1)
Configuration: TwinView
Resolution: Off

I can easily re-enable the monitor by changing resolution to Auto or one 
of the listed dimensions, but having to do this every time I log in is a 
bit annoying.

Does anyone else see this? Do you know if there is a way around it?

This is on CentOS 5.8. Driver version is currently 304.60 - but I've 
also updated it a couple of times after this problem started occurring.

TIA

- Toralf

This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] One screen disabled on login with NVIDIA TwinView

2012-11-16 Thread Toralf Lund
On 14/11/12 14:24, Mogens Kjaer wrote:
> On 11/14/2012 12:38 PM, Toralf Lund wrote:
>> Does anyone else see this? Do you know if there is a way around it?
> I don't have your problem, but another one.
>
> I want my second monitor to be above the internal monitor by default.
>
> I solved that by adding
>
>   Option "TwinViewOrientation" "Above"
>
> to the Device section of the xorg.conf file.
>
> Maybe you can google "xorg.conf twinview" and find the option to
> insert into xorg.conf that makes your external monitor the primary?
Hmmm. I've checked 
ftp://download.nvidia.com/XFree86/Linux-x86_64/304.60/README/xconfigoptions.html,
 
but not really found anything that seems to be related to this. Also, 
the problem is not really making the monitor the primary, but rather to 
make sure it stays enabled. In a sense, it is a "disabled primary" once 
I log in.

>
> BTW, for me there's a difference if I connect my second monitor via
> displayport or VGA: The monitor isn't recognized automatically if I
> use the VGA cable.
That would be an issue related to the "EDID" monitor info, I suppose. 
But in my case, the monitor is recognised just fine, it's just that it's 
switched off in the driver's internal config. Or that's what it looks 
like, anyway.

- Toralf


>
> Mogens
>


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] One screen disabled on login with NVIDIA TwinView

2012-11-16 Thread Toralf Lund
On 16/11/12 10:28, Nicolas Thierry-Mieg wrote:
> Toralf Lund wrote:
>> On 14/11/12 14:24, Mogens Kjaer wrote:
>>> On 11/14/2012 12:38 PM, Toralf Lund wrote:
>>>> Does anyone else see this? Do you know if there is a way around it?
>>> I don't have your problem, but another one.
>>>
>>> I want my second monitor to be above the internal monitor by default.
>>>
>>> I solved that by adding
>>>
>>> Option "TwinViewOrientation" "Above"
>>>
>>> to the Device section of the xorg.conf file.
>>>
>>> Maybe you can google "xorg.conf twinview" and find the option to
>>> insert into xorg.conf that makes your external monitor the primary?
>> Hmmm. I've checked
>> ftp://download.nvidia.com/XFree86/Linux-x86_64/304.60/README/xconfigoptions.html,
>> but not really found anything that seems to be related to this. Also,
>> the problem is not really making the monitor the primary, but rather to
>> make sure it stays enabled. In a sense, it is a "disabled primary" once
>> I log in.
> does it happen with a different user account?
Good question. I was quite convinced that it did, but I can't have 
tested properly, because when I log into another account now, I find 
that everything is OK. That's a bit embarrassing...

> since it happens on login it might be something in ~/.nvidia-settings-rc ?
It's not ~/.nvidia-settings-rc, though, as I get this problem even after 
copying the file from a different user (without this problem) or when 
just removing it (and other accounts work just fine without one.) Weird...

- Toralf

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


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] One screen disabled on login with NVIDIA TwinView

2012-11-16 Thread Toralf Lund
On 16/11/12 10:59, Toralf Lund wrote:
> On 16/11/12 10:28, Nicolas Thierry-Mieg wrote:
>> Toralf Lund wrote:
>>> On 14/11/12 14:24, Mogens Kjaer wrote:
>>>> On 11/14/2012 12:38 PM, Toralf Lund wrote:
>>>>> Does anyone else see this? Do you know if there is a way around it?
>>>> I don't have your problem, but another one.
>>>>
>>>> I want my second monitor to be above the internal monitor by default.
>>>>
>>>> I solved that by adding
>>>>
>>>>Option "TwinViewOrientation" "Above"
>>>>
>>>> to the Device section of the xorg.conf file.
>>>>
>>>> Maybe you can google "xorg.conf twinview" and find the option to
>>>> insert into xorg.conf that makes your external monitor the primary?
>>> Hmmm. I've checked
>>> ftp://download.nvidia.com/XFree86/Linux-x86_64/304.60/README/xconfigoptions.html,
>>> but not really found anything that seems to be related to this. Also,
>>> the problem is not really making the monitor the primary, but rather to
>>> make sure it stays enabled. In a sense, it is a "disabled primary" once
>>> I log in.
>> does it happen with a different user account?
> Good question. I was quite convinced that it did, but I can't have
> tested properly, because when I log into another account now, I find
> that everything is OK. That's a bit embarrassing...
>
>> since it happens on login it might be something in ~/.nvidia-settings-rc ?
> It's not ~/.nvidia-settings-rc, though, as I get this problem even after
> copying the file from a different user (without this problem) or when
> just removing it (and other accounts work just fine without one.) Weird...
Found it! It turns out that it's actually the GNOME desktop resolution 
handling that's doing this, i.e. the setting stored in 
/desktop/gnome/screen/default/0 under "gconf". The problem went away 
after I simply opened Preferences->Screen Resolution, and confirmed the 
current setting of 3600x1200 by pressing Apply - after re-enabling the 
screen. Not sure what the "stored" setting originally was. I'm quite 
sure I haven't touched it in a long time, though, so *something* related 
to its handling must have changed after an upgrade. Also, all entries 
but 3600x1200 (which is the max total display area with both screens) in 
the config tool correspond to pixel counts that may be displayed on the 
laptop screen, and selecting any of them will disable the external monitor.

- Toralf

>
> - Toralf
>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>
> This e-mail, including any attachments and response string, may contain 
> proprietary information which is confidential and may be legally privileged. 
> It is for the intended recipient only. If you are not the intended recipient 
> or transmission error has misdirected this e-mail, please notify the author 
> by return e-mail and delete this message and any attachment immediately. If 
> you are not the intended recipient you must not use, disclose, distribute, 
> forward, copy, print or rely on this e-mail in any way except as permitted by 
> the author.
> ___
> 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


[CentOS] Accessing packages on DVD from rescue mode?

2013-01-22 Thread Toralf Lund
Hi,

Does anyone know a way to access rpm packages on the CentOS 6 install 
DVD after booting into "rescue mode" from the same DVD? I mean, I can't 
immediately see the Packages directory or a full DVD mount point...

TIA,


- Toralf

This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] How to configure display on CentOS 6?

2013-01-22 Thread Toralf Lund
How exactly are you supposed to configure the display (i.e. set up X11) 
on a CentOS 6 system? I mean, in the past, there was 
system-config-display, but that's not supported any more. There is 
gnome-display-properties/System->Preferences->Display, but that seems to 
rely completely on auto-detection of the graphics card and monitors. 
What if this fails? Surely there should be a way to specify everything 
by hand?

Help, anyone?


- Toralf

This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to configure display on CentOS 6?

2013-01-23 Thread Toralf Lund
> Ned Slider wrote:
>> On 22/01/13 14:32, Toralf Lund wrote:
>>> How exactly are you supposed to configure the display (i.e. set up X11)
>>> on a CentOS 6 system? I mean, in the past, there was
>>> system-config-display, but that's not supported any more. There is
>>> gnome-display-properties/System->Preferences->Display, but that seems to
>>> rely completely on auto-detection of the graphics card and monitors.
>>> What if this fails? Surely there should be a way to specify everything
>>> by hand?
>>>
>> Yes, Xorg will still use /etc/X11/xorg.conf if present so you can craft
>> a config file by hand.
>>
>*sigh*
> still miss Xfree86 and the xconfigurator, that was *NOT*
>desktop-dependant, and let you configure graphically and tune it.
Exactly. The tool mentioned above was actually post XFree86, though...

Anyhow, I guess I suspected that the program was removed completely with no 
real replacement. Bad decision, if you ask me, but I suppose Red Hat is to 
blame, and not the CentOS people. It's nice to know that you can still use the 
config file, but creating it from scratch is not always that easy. Perhaps 
especially if you have to do something like setting up a monitor the system 
somehow fails to detect automatically, but that may be listed in the config 
utilities, if you know what I'm saying...

It seems like the  system-config-display still can be built and used on the 
latest versions, though. I actually found a binary version via a little search. 
It actually turned out that I didn't need it to get my display up and running, 
as the problem was actually a missing driver package, but I still think it's 
nice to have.

- Toralf

>
>  mark

This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to configure display on CentOS 6?

2013-01-25 Thread Toralf Lund
On 23/01/13 17:04, m.r...@5-cent.us wrote:
> Toralf Lund wrote:
>>> Ned Slider wrote:
>>>> On 22/01/13 14:32, Toralf Lund wrote:
>>>>> How exactly are you supposed to configure the display (i.e. set up
>>>>> X11) on a CentOS 6 system? I mean, in the past, there was
>>>>> system-config-display, but that's not supported any more. There is
>>>>> gnome-display-properties/System->Preferences->Display, but that seems
>>>>> to rely completely on auto-detection of the graphics card and monitors.
>>>>> What if this fails? Surely there should be a way to specify everything
>>>>> by hand?
>>>>>
>>>> Yes, Xorg will still use /etc/X11/xorg.conf if present so you can craft
>>>> a config file by hand.
>>>>
>>> *sigh*
>>> still miss Xfree86 and the xconfigurator, that was *NOT*
>>> desktop-dependant, and let you configure graphically and tune it.
>> Exactly. The tool mentioned above was actually post XFree86, though...
> Right. I hate having to edit xorg.conf by hand - it's a real pain, init 3,
> edit, startx, wait for it to crap out, or
Exactly.

I have to say that I had some major headaches (mostly related to using 
KVMs) even with system-config-display with CentOS 5, though, related to 
the fact that the "auto" stuff would sometimes override the xorg.conf 
settings...


>> Anyhow, I guess I suspected that the program was removed completely with
>> no real replacement. Bad decision, if you ask me, but I suppose Red Hat is
>> to blame, and not the CentOS people. It's nice to know that you can still
> Oh, of course it was RH's. I think they've gone to "but it'll work out of
> the box, like WinDoze!!!" (not that they're alone in that).
> 
Yep. This sort of worries me. I mean, one of the main reasons for using 
Linux, is that it does not traditionally take that approach - so you're 
not completely stuck the day things don't "magically" work after all.

It worked out of the box exactly "like Windows", by the way, that's why 
I needed to fix things ;-)
>> It seems like the  system-config-display still can be built and used on
>> the latest versions, though. I actually found a binary version via a
>> little search. It actually turned out that I didn't need it to get my
>> display up and running, as the problem was actually a missing driver
>> package, but I still think it's nice to have.
> Really! Do you have a link to src?
What I found was this:

http://pkgs.org/centos-6-rhel-6/russian-fedora-free-x86_64/system-config-display-2.2-3.el6.R.x86_64.rpm.html
>
>mark
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Mail notification in panel/system tray on CentOS 6

2013-01-25 Thread Toralf Lund
Hi.

Does anyone know of a way to add a "new mail" notification icon to the 
panel/system tray under CentOS 6?
On CentOS 5, I used the "mail-notification" software package provided by 
the Fedora "EPEL" distribution, but this is gone from the version 6 
repository, and the one from version 5 won't install just like that due 
to dependency issues. Maybe it's possible to resolve those, but I'm 
wondering if that's the way to go, or if there is a better alternative 
these days.

- Toralf

This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Mail notification in panel/system tray on CentOS 6

2013-01-25 Thread Toralf Lund
Hi.

Does anyone know of a way to add a "new mail" notification icon to the 
panel/system tray under CentOS 6?
On CentOS 5, I used the "mail-notification" software package provided by 
the Fedora "EPEL" distribution, but this is gone from the version 6 
repository, and the one from version 5 won't install just like that due 
to dependency issues. Maybe it's possible to resolve those, but I'm 
wondering if that's the way to go, or if there is a better alternative 
these days.

- Toralf

This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Accessing packages on DVD from rescue mode?

2013-01-25 Thread Toralf Lund
On 22/01/13 19:33, SilverTip257 wrote:
> On Tue, Jan 22, 2013 at 3:47 AM, Toralf Lund  wrote:
>
>> Hi,
>>
>> Does anyone know a way to access rpm packages on the CentOS 6 install
>> DVD after booting into "rescue mode" from the same DVD? I mean, I can't
>> immediately see the Packages directory or a full DVD mount point...
>>
>>
> Have you mounted /dev/cdrom or /dev/sr0?
>
> mkdir /mnt/cd
> mount /dev/cdrom /mnt/cd
>
> Then look to see if you get what you're looking for.
Yep, that works. I feel quite stupid now, for not trying the obvious. I 
guess I was thinking that the DVD was mounted already like it is when 
you run the installer, so that it would be a bad idea to do it again...

Thanks,

- Toralf


>
>
>
>> TIA,
>>
>>
>> - Toralf
>>
>> This e-mail, including any attachments and response string, may contain
>> proprietary information which is confidential and may be legally
>> privileged. It is for the intended recipient only. If you are not the
>> intended recipient or transmission error has misdirected this e-mail,
>> please notify the author by return e-mail and delete this message and any
>> attachment immediately. If you are not the intended recipient you must not
>> use, disclose, distribute, forward, copy, print or rely on this e-mail in
>> any way except as permitted by the author.
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
>


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mail notification in panel/system tray on CentOS 6

2013-01-27 Thread Toralf Lund
On 25/01/13 16:10, Giles Coochey wrote:
> On 25/01/2013 15:00, Toralf Lund wrote:
>> Hi.
>>
>> Does anyone know of a way to add a "new mail" notification icon to the
>> panel/system tray under CentOS 6?
>> On CentOS 5, I used the "mail-notification" software package provided by
>> the Fedora "EPEL" distribution, but this is gone from the version 6
>> repository, and the one from version 5 won't install just like that due
>> to dependency issues. Maybe it's possible to resolve those, but I'm
>> wondering if that's the way to go, or if there is a better alternative
>> these days.
>>
>>
>
> In the old days we used biff... then xbiff came along... new fangled 
> things!
>
> Something like: http://homepages.shu.ac.uk/~cmsps/freeScripts/xbiff.py
>
> Don't some MUAs come with small panel applets for this?
>
> It isn't so common to receive email locally anymore, most people are 
> using remote mail servers.
I don't really receive locally; mail-notification and other "advanced" 
notifiers of the past support contacting remote servers via IMAP or similar.

- Toralf

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


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mail notification in panel/system tray on CentOS 6

2013-01-27 Thread Toralf Lund
On 27/01/13 07:13, SilverTip257 wrote:
> On Fri, Jan 25, 2013 at 10:10 AM, Giles Coochey  wrote:
>
>> On 25/01/2013 15:00, Toralf Lund wrote:
>>
>>> Hi.
>>>
>>> Does anyone know of a way to add a "new mail" notification icon to the
>>> panel/system tray under CentOS 6?
>>> On CentOS 5, I used the "mail-notification" software package provided by
>>> the Fedora "EPEL" distribution, but this is gone from the version 6
>>> repository, and the one from version 5 won't install just like that due
>>> to dependency issues. Maybe it's possible to resolve those, but I'm
>>> wondering if that's the way to go, or if there is a better alternative
>>> these days.
>>>
>>>
>>>
>> In the old days we used biff... then xbiff came along... new fangled
>> things!
>>
>> Something like: 
>> http://homepages.shu.ac.uk/~**cmsps/freeScripts/xbiff.py<http://homepages.shu.ac.uk/~cmsps/freeScripts/xbiff.py>
>>
>> Don't some MUAs come with small panel applets for this?
>>
>>
> @Toralf:
>
> I have Evolution Mail on my work desktop (not CentOS) set to display
> pop-ups (using libnotify).  I don't recall though if I had to do anything
> more than click a check box in Evolution's preferences.
>
> You might consider having your MUA do the notifying rather than having an
> applet go check your inbox for you.
I'm mostly using thunderbird for e-mail, and it actually also supports 
notification via pop-ups. But:

 1. I think it's nice to be able to close the application completely
when not working on e-mail.
 2. "Global" popups are generally annoying/too obtrusive. A small icon
that changes state is much better.

- Toralf



>
>
>> It isn't so common to receive email locally anymore, most people are using
>> remote mail servers.
>>
>> --
>> Regards,
>>
>> Giles Coochey, CCNA, CCNAS
>> NetSecSpec Ltd
>> +44 (0) 7983 877438
>> http://www.coochey.net
>> http://www.netsecspec.co.uk
>> gi...@coochey.net
>>
>>
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>>


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mail notification in panel/system tray on CentOS 6

2013-01-29 Thread Toralf Lund
On 28/01/13 14:18, SilverTip257 wrote:
> On Mon, Jan 28, 2013 at 2:48 AM, Toralf Lund  wrote:
>
>> On 27/01/13 07:13, SilverTip257 wrote:
>>> On Fri, Jan 25, 2013 at 10:10 AM, Giles Coochey
>>   wrote:
>>>> On 25/01/2013 15:00, Toralf Lund wrote:
>>>>
>>>>> Hi.
>>>>>
>>>>> Does anyone know of a way to add a "new mail" notification icon to the
>>>>> panel/system tray under CentOS 6?
>>>>> On CentOS 5, I used the "mail-notification" software package provided
[ ... ]
>>
>> You might consider having your MUA do the notifying rather than having an
>> applet go check your inbox for you.
>> I'm mostly using thunderbird for e-mail, and it actually also supports
>> notification via pop-ups. But:
>>
>>   1. I think it's nice to be able to close the application completely
>>  when not working on e-mail.
>>
> I hear you! ;)
>
>
>>   2. "Global" popups are generally annoying/too obtrusive. A small icon
>>  that changes state is much better.
>>
> Understandable.
>
> http://www.nongnu.org/mailnotify/
> I'm guessing this is what you've used in the past.
Actually, what I used on CentOS 5 was the below mentioned software. 
Before that, i.e. on EL 4, I believe something else was included in the 
main distro, but I don't remember what.

>
> https://admin.fedoraproject.org/pkgdb/acls/name/mail-notification
> Even though the package is listed it appears nobody has packaged it in EPEL
> (for example).
> http://dl.fedoraproject.org/pub/epel/6/i386/repoview/letter_m.group.html
Well, it is actually included in EPEL 5, but not 6.

>
> Not as simple, but you might consider building it on your system.
I tried both binary and source rpms from EPEL5, but it didn't work too 
well. Actually, the problem wasn't mail-notification itself, but rather 
eel2, which it requires. This used to be part of the main distribution, 
but isn't any more. Binaries from past versions have dependencies that 
are hard to resolve, and an attempt to rebuild from source rpm failed 
with the below error messages. Maybe I can find away around this, but I 
don't have time to try right now...

test-eel-image-table.c: In function 'image_table_child_pressed_callback':
test-eel-image-table.c:126: error: 'G_GNUC_FUNCTION' undeclared (first 
use in this function)
test-eel-image-table.c:126: error: (Each undeclared identifier is 
reported only once
test-eel-image-table.c:126: error: for each function it appears in.)
test-eel-image-table.c: In function 'image_table_child_released_callback':
test-eel-image-table.c:141: error: 'G_GNUC_FUNCTION' undeclared (first 
use in this function)
test-eel-image-table.c: In function 'image_table_child_clicked_callback':
test-eel-image-table.c:156: error: 'G_GNUC_FUNCTION' undeclared (first 
use in this function)
test-eel-image-table.c: In function 'foo_timeout':
test-eel-image-table.c:167: error: 'G_GNUC_FUNCTION' undeclared (first 
use in this function)
test-eel-image-table.c: In function 'image_table_size_allocate':
test-eel-image-table.c:195: error: 'G_GNUC_FUNCTION' undeclared (first 
use in this function)

- Toralf


>
>> - Toralf
>>
>>
>>
>>>
>>>> It isn't so common to receive email locally anymore, most people are
>> using
>>>> remote mail servers.
>>>>
>>>> --
>>>> Regards,
>>>>
>>>> Giles Coochey, CCNA, CCNAS
>>>> NetSecSpec Ltd
>>>> +44 (0) 7983 877438
>>>> http://www.coochey.net
>>>> http://www.netsecspec.co.uk
>>>> gi...@coochey.net
>>>>
>>>>
>>>>
>>>> ___
>>>> CentOS mailing list
>>>> CentOS@centos.org
>>>> http://lists.centos.org/mailman/listinfo/centos
>>>>
>>>>
>>
>> This e-mail, including any attachments and response string, may contain
>> proprietary information which is confidential and may be legally
>> privileged. It is for the intended recipient only. If you are not the
>> intended recipient or transmission error has misdirected this e-mail,
>> please notify the author by return e-mail and delete this message and any
>> attachment immediately. If you are not the intended recipient you must not
>> use, disclose, distribute, forward, copy, print or rely on this e-mail in
>> any way except as permitted by the author.
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
>


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mail notification in panel/system tray on CentOS 6

2013-01-30 Thread Toralf Lund

On 29/01/13 16:22, Toralf Lund wrote:

On 28/01/13 14:18, SilverTip257 wrote:

On Mon, Jan 28, 2013 at 2:48 AM, Toralf Lund   wrote:


On 27/01/13 07:13, SilverTip257 wrote:

On Fri, Jan 25, 2013 at 10:10 AM, Giles Coochey

   wrote:

On 25/01/2013 15:00, Toralf Lund wrote:


Hi.

Does anyone know of a way to add a "new mail" notification icon to the
panel/system tray under CentOS 6?
On CentOS 5, I used the "mail-notification" software package provided

[ ... ]

You might consider having your MUA do the notifying rather than having an
applet go check your inbox for you.
I'm mostly using thunderbird for e-mail, and it actually also supports
notification via pop-ups. But:

   1. I think it's nice to be able to close the application completely
  when not working on e-mail.


I hear you! ;)



   2. "Global" popups are generally annoying/too obtrusive. A small icon
  that changes state is much better.


Understandable.

http://www.nongnu.org/mailnotify/
I'm guessing this is what you've used in the past.

Actually, what I used on CentOS 5 was the below mentioned software.

Which is really the same as the one referenced above, I now notice ;-)

I've now managed to build my own rpm for this, by combining the last 
source code release from the above, the spec file from the EPEL 5 source 
rpm, a bit of trial, and let's not forget, a fair amount of error, too. 
I'll try to attach the spec file...


- Toralf





Before that, i.e. on EL 4, I believe something else was included in the
main distro, but I don't remember what.


https://admin.fedoraproject.org/pkgdb/acls/name/mail-notification
Even though the package is listed it appears nobody has packaged it in EPEL
(for example).
http://dl.fedoraproject.org/pub/epel/6/i386/repoview/letter_m.group.html

Well, it is actually included in EPEL 5, but not 6.


Not as simple, but you might consider building it on your system.

I tried both binary and source rpms from EPEL5, but it didn't work too
well. Actually, the problem wasn't mail-notification itself, but rather
eel2, which it requires. This used to be part of the main distribution,
but isn't any more. Binaries from past versions have dependencies that
are hard to resolve, and an attempt to rebuild from source rpm failed
with the below error messages. Maybe I can find away around this, but I
don't have time to try right now...

test-eel-image-table.c: In function 'image_table_child_pressed_callback':
test-eel-image-table.c:126: error: 'G_GNUC_FUNCTION' undeclared (first
use in this function)
test-eel-image-table.c:126: error: (Each undeclared identifier is
reported only once
test-eel-image-table.c:126: error: for each function it appears in.)
test-eel-image-table.c: In function 'image_table_child_released_callback':
test-eel-image-table.c:141: error: 'G_GNUC_FUNCTION' undeclared (first
use in this function)
test-eel-image-table.c: In function 'image_table_child_clicked_callback':
test-eel-image-table.c:156: error: 'G_GNUC_FUNCTION' undeclared (first
use in this function)
test-eel-image-table.c: In function 'foo_timeout':
test-eel-image-table.c:167: error: 'G_GNUC_FUNCTION' undeclared (first
use in this function)
test-eel-image-table.c: In function 'image_table_size_allocate':
test-eel-image-table.c:195: error: 'G_GNUC_FUNCTION' undeclared (first
use in this function)

- Toralf



- Toralf




It isn't so common to receive email locally anymore, most people are

using

remote mail servers.

--
Regards,

Giles Coochey, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 7983 877438
http://www.coochey.net
http://www.netsecspec.co.uk
gi...@coochey.net



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



This e-mail, including any attachments and response string, may contain
proprietary information which is confidential and may be legally
privileged. It is for the intended recipient only. If you are not the
intended recipient or transmission error has misdirected this e-mail,
please notify the author by return e-mail and delete this message and any
attachment immediately. If you are not the intended recipient you must not
use, disclose, distribute, forward, copy, print or rely on this e-mail in
any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos





This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and a

[CentOS] "Can't install ... as no transaction" from PackageKit (CentOS 6)

2013-01-30 Thread Toralf Lund
Hello again,

Does anyone have any idea what the following message in the package 
installer - gpk-install-local-file - is supposed to mean?

Can't install /tmp/mail-notification-4.0-3.el5.x86_64.rpm as no transaction

(Under "More details" in the "Local install failed" popup.)

This is something I got while trying to set up a "mail notification" 
icon - refer to my other recent post. I happen to know what (part of) 
the problem is - the package has dependencies that can't be resolved, 
but why doesn't the message just say so? And what's the meaning of a 
"transaction" anyway? Mind you, I believe I understand the word 
perfectly well, but in the above sentence it still makes no sense to me...

To reproduce this, you may try (on a CentOS 6) system:

 1. In a web browser, go to

http://dl.fedoraproject.org/pub/epel/5/x86_64/repoview/mail-notification.html
or
http://dl.fedoraproject.org/pub/epel/5/i386/repoview/mail-notification.html
depending on your architecture.
 2. Click on the rpm link.
 3. Select "Open with"->"Package Installer (default)".
 4. Answer "Install" when asked if you want to install the file (after
it's downloaded.)
 5. Click "More details" when the error popup appears.

I suspect, though, that you may actually see a sensible "dependency" 
message, i.e. that this is sometimes correctly displayed, sometimes not.

- Toralf


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Eclipse CDT not working properly

2013-02-07 Thread Toralf Lund
Hello again,

Another problem with my new CentOS 6 installation:
The C/C++ support in Eclipse seems to be partial or missing - even 
though eclipse-cdt is installed. Eclipse starts all right, and I get a 
C/C++ perspective, but:

 1. If I open a C++ file, it's sent to an external editor.
 2. C or C++ is not mentioned in Preferences.
 3. I can't find a reference to CDT under Help->About Eclipse
Platform->Installation Details

I've tried reinstalling all the eclipse packages, and also resetting the 
workspace as well as the settings in ~/.eclipse, but it made no 
difference. On startup I get the following messages:
CompilerOracle: exclude 
org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith
CompilerOracle: exclude 
org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding.
CompilerOracle: exclude 
org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates.instantiateTemplate
CompilerOracle: exclude 
org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage.addBinding
CompilerOracle: exclude 
org/python/pydev/editor/codecompletion/revisited/PythonPathHelper.isValidSourceFile
CompilerOracle: exclude 
org/python/pydev/ui/filetypes/FileTypesPreferencesPage.getDottedValidSourceFiles

Has anyone else seen this? Any idea what's wrong? Is anyone here are 
using Eclipse for C++ development, anyway?

Eclipse platform version is 3.6.1-6.13.el6.x86_64, CDT 
7.0.1-4.el6.x86_64 (those are the latest from updates.)

- Toralf


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Eclipse CDT not working properly

2013-02-14 Thread Toralf Lund
On 07/02/13 18:40, Paul Norton wrote:
> Hello Toralf
>
> Removed the 32bit JRE and set the default to 64bit
>
> which java
>
> Check here https://bugzilla.redhat.com/show_bug.cgi?id=477766
>
> Or set the vm from the shell as mentioned here
> http://wiki.eclipse.org/IRC_FAQ#I_just_installed_Eclipse_on_Linux.2C_but_it_does_not_start._What_is_the_problem.3F
I have only a 64-bit (OpenJDK) JRE, as far as I can tell, and specifying 
the path on the command line makes no difference, unfortunately.

>
> > From here.
>
> http://www.eclipse.org/downloads/
>
> Download Eclipse ide for c/c++ developers
This is essentially what I did on CentOS 5, but I was hoping that this 
wouldn't be necessary on release 6, but that the bundled version would 
be sufficiently up-to-date and usable. But perhaps this isn't really the 
case :-(

- Toralf

>
> I have run eclipse(C/C++) on xfce with OpenJDK. No problems.
>
> It works fine for C.
> All the best Paul
>
>
>
>
> On Thu, Feb 7, 2013 at 1:06 PM, Toralf Lund  wrote:
>
>> Hello again,
>>
>> Another problem with my new CentOS 6 installation:
>> The C/C++ support in Eclipse seems to be partial or missing - even
>> though eclipse-cdt is installed. Eclipse starts all right, and I get a
>> C/C++ perspective, but:
>>
>>   1. If I open a C++ file, it's sent to an external editor.
>>   2. C or C++ is not mentioned in Preferences.
>>   3. I can't find a reference to CDT under Help->About Eclipse
>>  Platform->Installation Details
>>
>> I've tried reinstalling all the eclipse packages, and also resetting the
>> workspace as well as the settings in ~/.eclipse, but it made no
>> difference. On startup I get the following messages:
>> CompilerOracle: exclude
>> org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith
>> CompilerOracle: exclude
>> org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding.
>> CompilerOracle: exclude
>>
>> org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates.instantiateTemplate
>> CompilerOracle: exclude
>> org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage.addBinding
>> CompilerOracle: exclude
>>
>> org/python/pydev/editor/codecompletion/revisited/PythonPathHelper.isValidSourceFile
>> CompilerOracle: exclude
>>
>> org/python/pydev/ui/filetypes/FileTypesPreferencesPage.getDottedValidSourceFiles
>>
>> Has anyone else seen this? Any idea what's wrong? Is anyone here are
>> using Eclipse for C++ development, anyway?
>>
>> Eclipse platform version is 3.6.1-6.13.el6.x86_64, CDT
>> 7.0.1-4.el6.x86_64 (those are the latest from updates.)
>>
>> - Toralf
>>
>>
>> This e-mail, including any attachments and response string, may contain
>> proprietary information which is confidential and may be legally
>> privileged. It is for the intended recipient only. If you are not the
>> intended recipient or transmission error has misdirected this e-mail,
>> please notify the author by return e-mail and delete this message and any
>> attachment immediately. If you are not the intended recipient you must not
>> use, disclose, distribute, forward, copy, print or rely on this e-mail in
>> any way except as permitted by the author.
>> ___
>> 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


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Eclipse (again)...

2013-02-18 Thread Toralf Lund
Hi

Just thought I might ask my recent question about Eclipse again, only in 
a slightly different way:

Is anyone here using the Eclipse version supplied with the CentOS 6 
distro (as opposed to a build downloaded from www.eclipse.org)? Does it 
work for you? Are you able to install additional components via the 
built-in software setup mechanism?

Thanks,

- Toralf

This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Eclipse (again)...

2013-02-19 Thread Toralf Lund
>> Hi
>>
>> Just thought I might ask my recent question about Eclipse again, only in
>> a slightly different way:
>>
>> Is anyone here using the Eclipse version supplied with the CentOS 6
>> distro (as opposed to a build downloaded from www.eclipse.org)? Does it
>> work for you? Are you able to install additional components via the
>> built-in software setup mechanism?
>>
>> Thanks,
>>
>> - Toralf
>>

>> I added additional components to edit perl scripts.  It works great for me.
OK. I'm struggling a bit with something entirely different (UML diagram 
support), but the reason could be that I haven't managed to find the right 
installation source locations (which is never easy), rather than an issue with 
the Eclipse base. One thing I've noticed, though, is that there aren't a lot of 
sources listed by default. Was that the same for you?

> [mlapier@mushroom ~]$ rpm -qa | grep eclipse
> [ ... ]
OK. Looks a lot like what I have, except I'm using the x86_64 versions. Maybe 
that's a bit of an issue. Then there is a question of the java platform. I'm 
using the bundled openjdt release...

Thanks,

- Toralf

This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Eclipse (again)...

2013-02-19 Thread Toralf Lund

On 02/18/2013 06:58 AM, Toralf Lund wrote:
>> Hi
>>
>> Just thought I might ask my recent question about Eclipse again, only in
>> a slightly different way:
>>
>> Is anyone here using the Eclipse version supplied with the CentOS 6
>> distro (as opposed to a build downloaded from www.eclipse.org)? Does it
>> work for you? Are you able to install additional components via the
>> built-in software setup mechanism?
>>
>> Thanks,
>>
>> - Toralf

> I am using Eclipse for a C project on CentOS 6.  Eclipse was installed using 
> YUM and only from the CentOS repositories.
OK. One problem I have, is that the C/C++ support seems incomplete, even though 
I have installed the cdt rpm. Just wondering, what do you see when you press 
"what's already installed", or whatever it's called (I forget, and I don't have 
my installation right here), in the "Add software" dialog within Eclipse.

Thanks,

- Toralf  

> Except that I cannot seem to enable global variables in debug mode all is 
> working well.

> I haven't added  any plugins or components except via YUM.

> Emmett


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Eclipse (again)...

2013-02-19 Thread Toralf Lund
On 19/02/13 09:41, Toralf Lund wrote:
> On 02/18/2013 06:58 AM, Toralf Lund wrote:
>>> Hi
>>>
>>> Just thought I might ask my recent question about Eclipse again, only in
>>> a slightly different way:
>>>
>>> Is anyone here using the Eclipse version supplied with the CentOS 6
>>> distro (as opposed to a build downloaded from www.eclipse.org)? Does it
>>> work for you? Are you able to install additional components via the
>>> built-in software setup mechanism?
>>>
>>> Thanks,
>>>
>>> - Toralf
>> I am using Eclipse for a C project on CentOS 6.  Eclipse was installed using 
>> YUM and only from the CentOS repositories.
> OK. One problem I have, is that the C/C++ support seems incomplete, even 
> though I have installed the cdt rpm. Just wondering, what do you see when you 
> press "what's already installed", or whatever it's called (I forget, and I 
> don't have my installation right here), in the "Add software" dialog within 
> Eclipse.
I've got it to work, now. Not sure what exactly did the trick, but the 
following helped:

# yum install eclipse-\*
# yum remove eclipse-nls htmlparser

After this, various C++ components and *a lot* of other pieces, too, 
were added to the Installed Software list. I very much doubt that the 
installation actually added all the modules. Instead I suspect that in 
the past, there was some kind of problem that caused the system to stop 
loading components that were actually installed at a certain stage - and 
that this issue was resolved by the install command. If you know what I 
mean...

- Toralf

>
> Thanks,
>
> - Toralf
>
>> Except that I cannot seem to enable global variables in debug mode all is 
>> working well.
>> I haven't added  any plugins or components except via YUM.
>> Emmett
>
> This e-mail, including any attachments and response string, may contain 
> proprietary information which is confidential and may be legally privileged. 
> It is for the intended recipient only. If you are not the intended recipient 
> or transmission error has misdirected this e-mail, please notify the author 
> by return e-mail and delete this message and any attachment immediately. If 
> you are not the intended recipient you must not use, disclose, distribute, 
> forward, copy, print or rely on this e-mail in any way except as permitted by 
> the author.
> ___
> 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] Eclipse (again)...

2013-02-19 Thread Toralf Lund
On 20/02/13 07:59, Rob Townley wrote:
> On Tue, Feb 19, 2013 at 6:45 PM, Mark LaPierre  wrote:
>>> # yum install eclipse-\*
>>> # yum remove eclipse-nls htmlparser
>>>
>>> After this, various C++ components and *a lot* of other pieces, too,
>>> were added to the Installed Software list. I very much doubt that the
>>> installation actually added all the modules. Instead I suspect that in
>>> the past, there was some kind of problem that caused the system to stop
>>> loading components that were actually installed at a certain stage - and
>>> that this issue was resolved by the install command. If you know what I
>>> mean...
>>>
>>> - Toralf
>>>
>> I'm glad you got it to work.  I remember having to spend some google
>> time trying to figure out how to add syntax highlighting for perl.
>>
>> --
>>   _
>>  °v°
>> /(_)\
>>  ^ ^  Mark LaPierre
>> Registered Linux user No #267004
>> https://linuxcounter.net/
>> 
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>
> Finding and installing .i686 packages to make things work on x86_64
> platform could be better.
Well, yes, based on some of the feedback here it's tempting to assume 
that the i686 builds are better tested...

>
> i managed to get updates from within eclipse to work, but it was not
> as straightforward as i would have thought.
>
> i needed those updates to get android-sdk stuff to work at all.
>
> i followed your instructions for getting C/C++ projects to work as
> expected and that seems to have worked!   but android stuff is no
> longer working.  i want to say android requires htmlparser, but that
> will have to wait till morning for verification.
Note that the htmlparser remove mentioned above was not strictly 
necessary - it was just that I noticed this package being auto-installed 
when I added all the other stuff, and found that it could be safely 
removed (along with whatever used it) without breaking the C/C++ support.

- Toralf


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


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Google Earth on EL6.x x86_64

2013-03-05 Thread Toralf Lund
On 04/03/13 04:35, Fred Smith wrote:
> On Mon, Mar 04, 2013 at 10:56:26AM +0800, Earl Ramirez wrote:
>> On Sun, 2013-03-03 at 21:49 -0500, Fred Smith wrote:
>>> Has anyone gotten 64-bit google earth to run on el6 x86_64?
>>>
>>> It dies almost immediately, complaining for lack of ld-lsb.so.3.
>>> Perusing user forums at google I see a few others with the problem,
>>> but no (working) solutions.
>>>
>>> Thanks in advance!
>>>
>> Fred,
>>
>> You will need to install the following 32 bit packages
>>
>> 1. redhat-lsb.i686
>> 2. mesa-libGL.i686
>> 3. mesa-libGLU.i686
>>
>> I get this to work on my laptop a few days ago.
> thanks Earl, I'll give it a whirl.
>
> I did "ldd /opt/google/earth/free/googleearth-bin" and got back a list
> of a dozen or so "not found" items,
>   would you be willing to check on
> your system and see what you get back? (that might be because it has
> not been thru the preceding shellscript that might set up some ENV
> to point to the right places, I suppose.)
I think it should be able to resolve all "external" libs via standard path.

You probably need to install 32-bit versions of a lot more libs, like Qt 
and the basic X11 stuff. The real problem here is that libraries used is 
not listed in the package requirements. Not to mention the fact that the 
so-called 64-bit package actually contains 32-bit binaries. Or at least, 
that's the case for the one I have - 
google-earth-stable-7.0.2.8415-0.x86_64.

- Toralf

>
> thanks!
>
> Fred
>


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Weird mouse behaviour (after upgrade to CentOS 6.4?)

2013-03-13 Thread Toralf Lund
Hi.

For a few days now I've had some pretty annoying mouse-related problems 
on my CentOS setup. I'm not sure if I get "false" mouse events or what 
it is, but quite frequently I find that the system has somehow got into 
a state where mouse clicks are not properly received - although I can 
move the pointer all right, and they keyboard also works just fine. The 
only way I've been able to get back to a sane state, is to switch to a 
different virtual console via Ctrl+Alt+F-key, then back in a similar manner.

This seemed to start after the last round of automatic updates, which 
took me to CentOS 6.4, although I suppose this might be coincidence.

Has anyone else seen this kind of behaviour? Any idea at all what's 
going on?

- Toralf

This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS source rpm repository setup

2013-05-21 Thread Toralf Lund
Hi.

I thought I might set up my CentOS 6 system with a source rpm repository 
config, so that I'll be able to download srpm files via "yumdownloader 
--source" or similar. I'm thinking that in order to this, I have to add 
something like the following to the yum repos config:

[base-source]
name=CentOS-$releasever - Base (SRPMS)
baseurl=http://mirror.centos.org/centos/$releasever/os/SRPMS
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#released updates
[updates-source]
name=CentOS-$releasever - Updates (SRPMS)
baseurl=http://mirror.centos.org/centos/$releasever/updates/SRPMS
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6


The question is, what I specify as "baseurl"? The above does not 
actually work, as http://mirror.centos.org/ does not have SRPMS 
subdirectories, although I believe it did in the past for earlier 
versions. So, does anyone know of URLs I can use instead?

Thanks,


- Toralf

This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS source rpm repository setup

2013-05-22 Thread Toralf Lund
On 22/05/13 01:49, Karanbir Singh wrote:
> On 05/21/2013 10:38 PM, Greg Bailey wrote:
>> I opened bug #6462 ( http://bugs.centos.org/view.php?id=6462 )
>>
>> to request this... I think this would be a useful feature to have
>> available by default.
> Thanks, we can perhaps roll that in as is, but with sources being repo
> specific it can get quite noisy. Overall better goal might be to have a
> single source repo that then covers the point release and splits as well.
Yep. I agree.

I was just going to say that a problem with vault is that you have to 
update the repository location every time the "minor" version number 
changes. We really want repositories like vault.centos.org/6/os/Source 
and vault.centos.org/6/updates/Source. Unless, that is, we can somehow 
get yum to set up a variable containing a "full" version number like 6.4.

- Toralf


>
> - KB
>


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Filesystem missing from computer:///

2013-07-18 Thread Toralf Lund
Hi

Does anyone know what exactly controls which filesystems are listed when 
opening Computer (URL computer:///) in the File Browser?

I have a system disk with 4 different data partitions, but only 3 of 
them show up in the list. The "missing" one can, however, be mounted 
just fine from the command line, and it's also included in 
/dev/disk/by-label. It has an NTFS file system, but so do two of three 
that do get listed. (I've installed "ntfs-3g" to be able to access 
them.) Any idea what's going on?

CentOS version is 6.4, x86_64.

- Toralf


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 6.5 VirtualBox

2013-12-04 Thread Toralf Lund
Hi

Is anyone here using VirtualBox? I've had it working rather well for 
some time, but after some recent upgrade or the other it's started 
exiting with a Segmentation fault just after startup, before windows are 
opened or anything. I've tried a few different versions, all with the 
same result. I'm using binary packages 
http://download.virtualbox.org/virtualbox/rpm/el.

So, have any of you lot seen this? Is there a way to make things work?

- Toralf

This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.5 VirtualBox

2013-12-05 Thread Toralf Lund
On 04/12/13 18:12, Rainer Traut wrote:
> Am 04.12.2013 13:39, schrieb Lars Hecking:
>> Toralf Lund writes:
>>> So, have any of you lot seen this? Is there a way to make things work?
>>
>> http://wiki.centos.org/Manuals/ReleaseNotes/CentOS6.5#head-eb6bb9abad0158d054915e0090560f6d1ff8f1ed
> I guess the threadstarter meant VB on the host.
Precisely! An the host being the CentOS 6.5 system. Perhaps I wasn't 
clear enough about this, although it seemed obvious when I wrote the post.

The guest OS really doesn't come into the picture at all, in that 
VirtualBox seems to crash long before it starts thinking about loading it.


- Toralf

>
> This release note is about C6.5 as guest under VB.
> There is again breakage in VB 4.3.4 guest additions, see this link for a
> workaround:
> https://forums.oracle.com/message/11282251
>
> Rainer
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.5 VirtualBox

2013-12-05 Thread Toralf Lund
On 04/12/13 14:18, Giles Coochey wrote:
> On 04/12/2013 13:16, Giles Coochey wrote:
>> On 04/12/2013 12:39, Lars Hecking wrote:
>>> Toralf Lund writes:
>>>> Hi
>>>>
>>>> Is anyone here using VirtualBox? I've had it working rather well for
>>>> some time, but after some recent upgrade or the other it's started
>>>> exiting with a Segmentation fault just after startup, before 
>>>> windows are
>>>> opened or anything. I've tried a few different versions, all with the
>>>> same result. I'm using binary packages
>>>> http://download.virtualbox.org/virtualbox/rpm/el.
>>>>
>>>> So, have any of you lot seen this? Is there a way to make things work?
>>>
>> I'm using Virtualbox 4.2 from the repository at virtualbox.org, 
>> currently on 4.2.20 I think.
>>
>> Upgraded both Host and 15 or so guests to Centos 6.5 recently. No 
>> obvious issues, all my guests are console only.
> Forgot to mention my host is headless too...
OK.

32-bit or 64-bit?

- Toralf

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


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.5 VirtualBox

2013-12-05 Thread Toralf Lund
On 05/12/13 15:01, Giles Coochey wrote:
>
>>>>> Toralf Lund writes:
>>>>>> Hi
>>>>>>
>>>>>> Is anyone here using VirtualBox? I've had it working rather well for
>>>>>> some time, but after some recent upgrade or the other it's started
>>>>>> exiting with a Segmentation fault just after startup, before
>>>>>> windows are
>>>>>> opened or anything. I've tried a few different versions, all with 
>>>>>> the
>>>>>> same result. I'm using binary packages
>>>>>> http://download.virtualbox.org/virtualbox/rpm/el.
>>>>>>
>>>>>> So, have any of you lot seen this? Is there a way to make things 
>>>>>> work?
>>>> I'm using Virtualbox 4.2 from the repository at virtualbox.org,
>>>> currently on 4.2.20 I think.
>>>>
>>>> Upgraded both Host and 15 or so guests to Centos 6.5 recently. No
>>>> obvious issues, all my guests are console only.
>>> Forgot to mention my host is headless too...
>> OK.
>>
>> 32-bit or 64-bit?
>>
> All are 64-bit.
OK. So it's my system.

- Toralf

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


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.5 VirtualBox

2013-12-06 Thread Toralf Lund
On 06/12/13 04:15, Anthony K wrote:
> On 06/12/13 01:08, Toralf Lund wrote:
>> OK. So it's my system.
>>
>> - Toralf
>>
> Not necessarily!  I wouldn't worry too much about VirtualBox 4.3 - it is
> terribly hosed; I suggest you downgrade back to 4.2.20 which,
Problem is, I also tried a couple of different releases of 4.2.20, with 
the same result...

>   like
> Giles, I've been using without any adverse effects for a while.  I too
> run a headless server but make use of VRDE where I need to access a
> Windows host!

Maybe headless works, and the normal GUI startup doesn't? Actually, I 
VBoxHeadless does seem to start, but I'm not quite sure how to verify 
that it works the way it should.

(

[toralf@osl-71465 ~]$ VirtualBox -startvm Win7partition
Segmentation fault
[toralf@osl-71465 ~]$  VirtualBox
Segmentation fault
[toralf@osl-71465 ~]$ VBoxHeadless -startvm Win7partition
Oracle VM VirtualBox Headless Interface 4.3.4
(C) 2008-2013 Oracle Corporation
All rights reserved.

)


- Toralf


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


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.5 VirtualBox

2013-12-06 Thread Toralf Lund
On 05/12/13 18:50, John R Pierce wrote:
> On 12/5/2013 5:35 AM, Toralf Lund wrote:
>> Precisely! An the host being the CentOS 6.5 system. Perhaps I wasn't
>> clear enough about this, although it seemed obvious when I wrote the post.
>>
>> The guest OS really doesn't come into the picture at all, in that
>> VirtualBox seems to crash long before it starts thinking about loading it.
> have you considered using KVM rather than VirtualBox for this?
> Configured properly, its much higher performance.
KVM? I must admit I haven't even heard of it, except if you are talking 
about switchboxes ;-)

Can it be configured to run an actual Windows partition? (This is how I 
use VirtualBox today.)

- Toralf


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.5 VirtualBox

2013-12-06 Thread Toralf Lund
On 05/12/13 19:08, Fernando Cassia wrote:
> On Wed, Dec 4, 2013 at 9:33 AM, Toralf Lund  wrote:
>> Is anyone here using VirtualBox? I've had it working rather well for
>> some time, but after some recent upgrade or the other it's started
>> exiting with a Segmentation fault just after startup, before windows are
>> opened or anything. I've tried a few different versions, all with the
>> same result. I'm using binary packages
>> http://download.virtualbox.org/virtualbox/rpm/el.
> You should really post this on the Virtualbox forums or the VBox mailing list.
I might. I just thought I would check here first if this was a general 
CentOS issue. Since it looks like some change or upgrade to the CentOS 
installation broke it, I mean.


- Toralf


>
> https://forums.virtualbox.org/viewforum.php?f=7&sid=4db5599066c5c0167e2845e8f1ffddab
> https://www.virtualbox.org/wiki/Mailing_lists
>
> And file a bug report
> https://www.virtualbox.org/wiki/Bugtracker
>
> FC


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.5 VirtualBox

2013-12-06 Thread Toralf Lund
On 06/12/13 12:26, Scott Robbins wrote:
> On Fri, Dec 06, 2013 at 01:08:05AM -0800, John R Pierce wrote:
>
>> On 12/6/2013 12:22 AM, Toralf Lund wrote:
>>> KVM? I must admit I haven't even heard of it, except if you are talking
>>> about switchboxes;-)
>>>
>>> Can it be configured to run an actual Windows partition? (This is how I
>>> use VirtualBox today.)
>> http://wiki.centos.org/HowTos/KVM
> Note that the article there is very out of date, but there is a link at the
> top to a more current article.
>
>> yes, you can run a windows VM rather nicely.
> It can run a Windows VM,
The question wasn't whether it can run Windows, but whether it can be 
set up to use a Windows *partition*. As in a system originally set up to 
run natively, and not through a virtual machine.

>   but, at least in my experience, a Windows, or
> actually, even a Linux with GUI, doesn't run as well as it does with
> VirtualBox.

OK.

I sort of got the impression from other posters that it would actually 
work better than VirtualBox...
>In addition, bridged networking takes a bit of work to set
> up--not very difficult once you're familiar with it, but it's done with a
> mouse click as it is in VirtualBox.
>
> On the plus side, it seems (not thoroughly tested on my part) to be less
> resource intensive than VBox, and better at sharing resources.

I see...

- Toralf
>
>


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Disk space warning ("gdu-notification-daemon" type) for remote systems

2014-03-11 Thread Toralf Lund
//Hi,/

/I need to implement a system of disk space checks and warnings for a 
client-server setup running CentOS 6. Simply put, I just want a warning 
popup rather like the ones given by gdu-notification-daemon when server 
file system is full or nearly full, but they should appear on the client 
display(s) rather than locally, and must also work when nobody is logged 
directly in to the (server) system.

What do you reckon is the best way of achieving this? I can think of 
ways to get what I want via scripts/custom programs/cron jobs, but 
perhaps there are "standard" solutions already? I'd like to avoid 
re-inventing the wheel... I also know that there are various advanced 
solutions for system resource monitoring out there - I've used Nagios in 
the past - but it may seem like setting up something like that will be 
an overkill in this case.

So what's everyone's thoughts on this?


- Toralf



This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Disk space warning ("gdu-notification-daemon" type) for remote systems

2014-03-11 Thread Toralf Lund
On 11/03/14 14:17, zGreenfelder wrote:
> On Tue, Mar 11, 2014 at 8:38 AM, Toralf Lund  wrote:
>> //Hi,/
>>
>> /I need to implement a system of disk space checks and warnings for a
>> client-server setup running CentOS 6. Simply put, I just want a warning
>> popup rather like the ones given by gdu-notification-daemon when server
>> file system is full or nearly full, but they should appear on the client
>> display(s) rather than locally, and must also work when nobody is logged
>> directly in to the (server) system.
> it sounds like you think you want to send popup windows across from
> one system to many remote machines.   this seems like a path of
> madness to me; full of potential problems like x windows security, or
> if you write your own little daemon to accept messages and display a
> box, misuse/abuse from playful users.
Not really worried by those things in this context.

The setup is only physically accessible to a very limited group of 
trusted users, and access to or from the outside world is restricted by 
all sorts of firewalls etc, and also only available via a very slow and 
unreliable link...

>  I think you should build a
> monitoring system (nagios, xymon, opennms, several others or perhaps
> your own if you're feeling far too adventurous) instead.  right now
> all you care about is disk space, but eventually someone will want to
> also check for certain processes, open ports, logfile entries,
> something and you could spend the time now to put in the hooks for
> more advanced things and get people in the habit of checking a
> monitoring system on a regular basis.
In general, that might make sense, but please consider the fact that I'm 
not talking about a "general" server system. It's a machine dedicated to 
running a "server" component on one specific software package, and will 
only ever be contacted by a handful of "display" machines running a GUI 
component of the same piece of software.

- Toralf

>
>> What do you reckon is the best way of achieving this? I can think of
>> ways to get what I want via scripts/custom programs/cron jobs, but
>> perhaps there are "standard" solutions already? I'd like to avoid
>> re-inventing the wheel... I also know that there are various advanced
>> solutions for system resource monitoring out there - I've used Nagios in
>> the past - but it may seem like setting up something like that will be
>> an overkill in this case.
>>
>> So what's everyone's thoughts on this?
>>
> I would go with nagios, but I'm a bit biased that way.   if you decide
> to go that route and want more input, send me an offlist email (unless
> others feel this is on topic for the list?  it seems like it wanders
> out of scope to me, but I'm not trying to exclude people); I've got a
> nagios plugin script that I use for monitoring disk space use you can
> have if you'd like.   or at least you can have it once I bring my
> machine back back online.
>


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Disk space warning ("gdu-notification-daemon" type) for remote systems

2014-03-12 Thread Toralf Lund
On 11/03/14 16:16, Les Mikesell wrote:
> On Tue, Mar 11, 2014 at 9:49 AM, Toralf Lund  wrote:
>>>   I think you should build a
>>> monitoring system (nagios, xymon, opennms, several others or perhaps
>>> your own if you're feeling far too adventurous) instead.  right now
>>> all you care about is disk space, but eventually someone will want to
>>> also check for certain processes, open ports, logfile entries,
>>> something and you could spend the time now to put in the hooks for
>>> more advanced things and get people in the habit of checking a
>>> monitoring system on a regular basis.
>> In general, that might make sense, but please consider the fact that I'm
>> not talking about a "general" server system. It's a machine dedicated to
>> running a "server" component on one specific software package, and will
>> only ever be contacted by a handful of "display" machines running a GUI
>> component of the same piece of software.
> Then you need to look at the features of the specific GUI and its
> transport to the server to see what options it provides for popup
> messages.
I can easily add a check to software itself. But like I said, I want to 
avoid re-inventing the wheel. So if there is something built into the 
system that will do the job for me...

>  Personally, I'd still recommend something more general
> that would generate email or text message alerts to the right set of
> people.  It is fairly rare for 'users' to be interested in fixing
> system problems and even if that happens to be the case now for this
> particular box it may not always be.
Trust me, this is a highly customised setup with very special users, and 
this won't change just like that.

A more general system is not an entirely bad idea, but I think it would 
only make sense if implemented at a larger scale based on a system-wide 
policy (there is much else going on in the same network.) Which I'm not 
sure will happen right now...

- Toralf


>


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Disk space warning ("gdu-notification-daemon" type) for remote systems

2014-03-12 Thread Toralf Lund
On 12/03/14 13:56, Les Mikesell wrote:
> On Wed, Mar 12, 2014 at 4:07 AM, Toralf Lund  wrote:
>>>> In general, that might make sense, but please consider the fact that I'm
>>>> not talking about a "general" server system. It's a machine dedicated to
>>>> running a "server" component on one specific software package, and will
>>>> only ever be contacted by a handful of "display" machines running a GUI
>>>> component of the same piece of software.
>>> Then you need to look at the features of the specific GUI and its
>>> transport to the server to see what options it provides for popup
>>> messages.
>> I can easily add a check to software itself. But like I said, I want to
>> avoid re-inventing the wheel. So if there is something built into the
>> system that will do the job for me...
> I don't think you provided enough information for anyone to help.
> What kind of remote gui are you using?

I wouldn't actually call it a "remote gui" - there is just an 
application that communicates with a server process on a remote host, 
via a custom protocol. This application has a "local" GUI. The remote 
host is headless, although the machine typically has X, so you could run 
processes on it with remote display.

I actually thought most if this would be clear from how I described the 
system initially.

> If it is a full remote X
> desktop session (freenx/x2go or native network) you could run anything
> you could run locally at the console because it is in fact running on
> the server side.  If you are running X locally on the display machine,
> you can still run anything you want on the server machine with its
> window open on the display desktop.
Obviously. But like I said, I was wondering if there was a "more 
automatic" way directly supported by the distro. Like, maybe you could 
somehow configure "gdu-notification-daemon" so that it would

 1. Start automatically independently of logins.
 2. Redirect notifications to a different system.

>>>   Personally, I'd still recommend something more general
>>> that would generate email or text message alerts to the right set of
>>> people.  It is fairly rare for 'users' to be interested in fixing
>>> system problems and even if that happens to be the case now for this
>>> particular box it may not always be.
>> Trust me, this is a highly customised setup with very special users, and
>> this won't change just like that.
>>
>> A more general system is not an entirely bad idea, but I think it would
>> only make sense if implemented at a larger scale based on a system-wide
>> policy (there is much else going on in the same network.) Which I'm not
>> sure will happen right now...
> I think it makes sense because there are already frameworks that are
> relatively easy to install and set up even if you initially only
> target one host and test - and you can get things like CPU and network
> bandwidth tracking for free.
Maybe.

However, I should perhaps also add that anything based on notification 
based on e-mail or similar services might lead to problems in that the 
systems don't normally deliver or receive e-mails.

>Then if you want, you can expand the
> monitoring to other things you are likely to need, but even if you
> don't it is probably easier than building your own notification
> system.It's probably not the easiest thing to start with, but
> OpenNMS is pretty flexible.  For example if you have an xmpp system
> with clients for instant messaging, it can send alerts to a group
> conference so the interested people see it without cluttering email.
Hmm... Not sure if xmpp would be any better than email...

- Toralf


>


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Disk space warning ("gdu-notification-daemon" type) for remote systems

2014-03-17 Thread Toralf Lund
On 12/03/14 18:41, m.r...@5-cent.us wrote:
> Les Mikesell wrote:
>> On Wed, Mar 12, 2014 at 9:46 AM,   wrote:
>>> Toralf Lund wrote:
>>> 
>>>> Obviously. But like I said, I was wondering if there was a "more
>>>> automatic" way directly supported by the distro. Like, maybe you could
>>>> somehow configure "gdu-notification-daemon" so that it would
>>>>
>>>>   1. Start automatically independently of logins.
>>>>   2. Redirect notifications to a different system.
>>>>
>>> 
>>> Perhaps a milter to forward a logwatch email (which goes to root) if
>>> there's a line that has on it "Warning. Disk Filling up"?
>> I think logwatch only runs once a day.   If something is being logged
>> you can catch it immediately with swatch.  And you can send a pop-up
>> to an X session with 'send-notify' - with the usual assortment of ways
>> to connect to remote sessions (along with the usual issues of having
>> permission to connect to sessions that aren't yours.).
That's something that we may be able to sort out, so, yes, perhaps this 
is an option that might work...

> It does only run once a day. I wasn't sure just how frequently a user
> fills the filesystem, or how much might happen in one day. I am, please
> note, strongly prefer fire prevention to fire-fighting.
A lot of data may be written every day, but a daily check should still 
find the disk close to being full, relatively speaking, if there is a 
risk of filling up the disk. As in, one issue on the system in question 
is that it has log files that can grow by a few gigabytes every day, but 
that's still not a lot compared to the total disk space. (The logs are 
subject to rotation, but problems may occur because new logs file are 
larger than the ones "rotated out". And we want to keep log data for as 
log as we can.)

So, yeah, maybe we can work with logwatch. Looking at an old root 
mailbox file, I don't see any "direct" warnings related to disk space, 
but I do find a number of lines like

Warning: Audit daemon is low on disk space for logging: 1 times

Do you expect something in the "Disk Space Begin" ... "Disk Space End" 
section, too?

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


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


  1   2   >