Re: [CentOS] Open Letter to Lance Davis

2009-07-30 Thread Alex White
On Thu, 30 Jul 2009 22:31:21 +0200
Kai Schaetzl  took out a #2 pencil and
scribbled:

> applause and kudos to the team! I won't say more, a lot has been
> said already. I just hope that everything can be sorted out in a
> manner that doesn't crash too many porcelain and makes all
> involved parties comfortable in the end.
> 
> Kai
> 

All of that up there.

-- 
etherical...@gmail.com
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] md5sum from nautilus

2009-02-23 Thread Alex White
On Mon, 23 Feb 2009 15:41:46 +0800
Fajar Priyanto  took out a #2 pencil and
scribbled:

> Hi,
> Is there any nautilus extension that allow us to do md5sum?
> It would be nice to be able to do that from nautilus.
> Thank you.

You may want to look here:
http://g-scripts.sourceforge.net/cat-fileproc.php

If you scroll down a bit you will see, Check_md5. It's in a section
labeled "Handle md5".

Is this what you're looking for?

-- 
etherical...@gmail.com
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Skype vs. CentOS: no outgoing sound

2008-11-24 Thread Alex White
On Mon, 24 Nov 2008 00:02:21 +0100
Niki Kovacs <[EMAIL PROTECTED]> took out a #2 pencil and
scribbled:

> Rob Townley a écrit :
> >>
> > 
> > Don't use skype, but r u sure your firewall is not blocking
> > outgoing sound?
> 
> Funny, I never gave that a thought. Any idea which port I would
> have to open?
> 
> Niki

Have you made sure that your mic is set to capture sound via
alsamixer?

Run alsamixer in a terminal and hit tab to get to capture devices.
Then have a gander at what is selected. You need to make sure your
mic is selected as the capture device. Otherwise, it may have
defaulted to something other than your mic. On my system it chooses
the first CD-ROM for the capture device for some reason.

Also, make sure that you have mic boost on as well. You can mute
the mic in the Playback section as well so you don't hear your own
voice as well. When you run the skype test call you should bear
better results.

HTH

Alex White

-- 
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] command line configuration of DSL access

2008-07-12 Thread Alex White

Gergely Buday wrote:

Michel van Deventer wrote:


how can I configure a DSL access using the command line? The Red Hat
Certified Engineer Linux Study Guide does not describe this and I
could not find any description on the internet.

Maybe you can provide us with some more information, as like which
provider are you using in which country, what kind of hardware are you
using to connect to DSL (router/pci card?), which version of CentOS are
you using and maybe other info that might be of use ?


The case is that I used the GUI for my fedora box and now would like
to set the same to my centos server that would be the firewall. I use
eth0 to connect to my service provider's network. When I set up on
fedora I choose DSL and gave login name and password and worked out of
the box. I use CentOs 5.1 on my server.

I would like to use an editor better than the GUI to configure this.
My provider is Digi Tv in Hungary.

I wonder why do you need all this, isn't there a good description of
the config scripts somewhere?

- Gergely


We need all of that because how you set up your dsl depends upon how 
your provider provides you with access. pppoe or pppoa etc. etc.


At any rate, as mentioned by others you can use adsl-setup to configure 
your connection, or if you want to edit some text files manually you can 
have a peek in /etc/ppp/


The files of particular interest would be, pap-secrets, chap-secrets, 
and pppoe-server-options.


You may want to man adsl-setup and make note of the various references 
it makes.


HTH

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


Re: [CentOS] Acer 5920 audio chip does not work in CentOS 5.2?

2008-07-03 Thread Alex White

William L. Maltby wrote:

Thank you both Bill and Alex.


NP.


We're happy to try to help. I have a friend with your model of 
laptop, I'll see if I can sucker him into letting me futz around 
with it for a day or two. I'll report back!



I'm thinking now, we have garnered enough new information that an
assault on google might yield results. I suggest you give it a try.

I decided to investigate proc. I don't know if that might be
fruitful, ... BRB

Well, all directories or empty files all the way down the tree. No joy
in mudville.


Not entirely sure what one would glean from /proc other than that 
the card is present and drivers are loaded for it. There's lengthy 
output for my sound device. I won't paste all of it, but everything 
is located in /proc/asound. My device is also listed under 
/proc/devices as one would expect.


I don't muck in /proc very often other than for testing network 
setups and obtaining cpu and memory information, so the output for 
my soundcard means next to nothing to me other than I know the 
correct driver is loaded.


[EMAIL PROTECTED] asound]$ ls
card0  cards  devices  modules  oss  pcm  seq  timers  V8237  version

[EMAIL PROTECTED] asound]$ pwd && cat modules && cat cards
/proc/asound
 0 snd_via82xx
 0 [V8237  ]: VIA8237 - VIA 8237
  VIA 8237 with ALC850 at 0xe800, irq 209

Given that your machine is reporting the device as present (despite 
not getting any sound) I am under the impression anything you get 
out of proc would be correct as well. Just to through more confusion 
on the issue. ^_^



Last idea, if no one else from here chimes in. Do a google (again) and
try the alsa or other Linux lists.


I don't know why I never googled around on the Alsa lists. That was 
stupid of me. Opensuse has some forums with this problem as well. I 
didn't see a fix, but I didn't spend too much time looking there. If 
there is a fix, maybe they have an srpm that could be massaged into 
working in CentOS?


If you do find a solution elsewhere I'd really appreciate a link or 
something just for my own knowledge down the road.


Sincerely,

Alex White

--
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Acer 5920 audio chip does not work in CentOS 5.2?

2008-07-02 Thread Alex White

hce wrote:


I'm certainly not expert on this, but I can think of a few things to
examine that might give a clue.



That makes you and me both.


First, under 5.1, do an lsmod and note the driver(s) loaded for the
audio. Might want to examine the modprobe.conf file too.


Please see following results from modproble.conf and lsmod. I can see
that the soundcore was loaded, I guess the audio module was loaded,
right?

$ cat /etc/modprobe.conf
alias eth0 tg3
alias scsi_hostadapter ata_piix
alias scsi_hostadapter1 ahci
alias snd-card-0 snd-hda-intel
options snd-card-0 index=0
options snd-hda-intel index=0
remove snd-hda-intel { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || :
; }; /sbin/modprobe -r --ignore-remove snd-hda-intel





snd_hda_intel  24793  1
snd_hda_codec 210881  1 snd_hda_intel
snd_seq_dummy   7877  0
snd_seq_oss32577  0
snd_seq_midi_event 11073  1 snd_seq_oss
snd_seq49585  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 11725  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss42945  0
snd_mixer_oss  19009  1 snd_pcm_oss
snd_pcm72005  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer  24517  2 snd_seq,snd_pcm
snd52421  11
snd_hda_intel,snd_hda_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore  11553  1 snd
sg 36189  0
ide_cd 40033  0
snd_page_alloc 14281  2 snd_hda_intel,snd_pcm




The 5.2 was installed from scratch, it was not updated from an old version.






I've checked dmesg and messages, but could not find any word to Audio,
or audio, or sound. But again, I checked dmesg and messages from my
desktop which installed FC7 and I could not find anything to audio and
sound as well.

The only suspecious I could find was following boot message, but I am
not sure it was related or not, and not sure how could fix following.

PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
PCI: Cannot allocate resource region 7 of bridge :00:1c.0
PCI: Cannot allocate resource region 8 of bridge :00:1c.0
PCI: Cannot allocate resource region 9 of bridge :00:1c.0
PCI: Cannot allocate resource region 7 of bridge :00:1c.3
PCI: Cannot allocate resource region 8 of bridge :00:1c.3
PCI: Cannot allocate resource region 9 of bridge :00:1c.3
PCI: Cannot allocate resource region 7 of bridge :00:1c.5
PCI: Cannot allocate resource region 8 of bridge :00:1c.5
PCI: Cannot allocate resource region 9 of bridge :00:1c.5


I can't speak to this, I'm not familiar with the above output. I'll 
look into it this evening.



Under 5.2, do an lsmod and see if the drivers were loaded. Also, after
the updatedb, use locate and see if the module is found.


What is the name of the audio module and driver from lsmod? I can only
found soundcore as above.


The module's name is snd-hda-intel. It's listed in your output from 
lsmod. I see it up there, I removed most of the irrelevant (to me at 
least) modules that were in there so you could more easily see it.



Thank you so much.

Kind Regards,

Jim


What's interesting about your problem is that it was mentioned in 
several Ubuntu forums while I was googling. The solutions I've seen 
mentioned both in Suse and Ubuntu forums is to use the latest 
version of Alsa. That may require some 'by hand' installation, and I 
am not sure you want to do that.


Here are a couple of links that mention the card "just working" and 
issues similar to yours.


http://bluegargoyle.com/Lenovo-ThinkPad-R61i-CentOS5-MAJ20080428.html
Mind the wrapping, but this link shows the controller just working.

http://ubuntuforums.org/archive/index.php/t-511058.html
Someone having the no sound problem on a different laptop make and 
model, but same sound controller as yours.


I looked around for some devices with that chipset, but I don't have 
any, so I can't experiment. I'll keep scouring the net.


--
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Want to _prevent_ upgrade to centos 5.2

2008-07-01 Thread Alex White

Ben Marsh wrote:

Hi,

With the release of 5.2  "yum update" seems to be upgrading our 
computers from CentOS 5.1 to CentOS 5.2.  I note from release notes for 
5.2 that you are only supposed to get 5.2 if you type in "yum upgrade".  
On two  seperate machines entering "yum update" has resulted in yum 
geting repo information for packages with versions that only exist in 
the base repository of centos 5.2.




yum update will update your machine to the most current packages 
just like yum upgrade unless you've modified your /etc/yum.conf to 
remove obsoletes=1.


Per the man page yum update with obsoletes enabled is the same as 
yum upgrade. I believe that if you want to remain at 5.1 you'll have 
to stop updating. It is expected that running yum update will bring 
you forward to 5.2.


Can I stop this from happening?  Ideally I would like to stay on a 
particulare version of CentOS eg 5.2 until we can do a controlled 
upgrade.  Maybe we have the same problem as having stable specified in a 
debian sources.list where what is meant by stable changes when a new 
version of debian is released.


You're going to be missing security updates. This has been discussed 
here before. The minor number could be compared to a service pack 
from the Windows world. Depending on one's environment, one may not 
want to necessarily throw the latest service packs into production 
right away either.


HTH

Alex White

--
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Rebuild of kernel 2.6.9-67.0.20.EL failure

2008-07-01 Thread Alex White

Jim Perrin wrote:

I don't think he did it intentionally, so how's about we all forgive
and forget, or turn the other cheek, or whatever else you wish to do
just this once.

 YES I realize the humor involved in me being the voice of compassion
and reason here, so stuff it. :-P


Oh and I was totally ready to hop on the now stuffed bandwagon to be 
surprised. Totally not fair. You're an evil man, Jim. ^_^


--
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Acer 5920 audio chip does not work in CentOS 5.2?

2008-06-30 Thread Alex White

hce wrote:

Hi,

I've installed CentOS 5.2 to a laptop Acer 5920 for dual boot, the
audio works in Window Vista, but does not work in CentOS 5.2. Does
CentOS 5.2 support following audio chip or not?

Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio
Controller (rev 03)

Thank you.

Kind Regards,

Jim


When you say it doesn't work, are you getting an error message 
saying that there's no sound device?


Does lspci list your soundcard? If you have a super long list and 
can't locate it easily, you can try (but I can't promise this will 
work for you, it does for me however) lspci | grep audio


If I recall you're using gnome. You should (but may not) have a 
volume icon on your panel. Right click that icon and ensure that the 
mute box is not checked. If it's not checked, select "Open Volume 
Control" and make sure your volume is turned up. If you still do not 
have sound try right clicking the volume speaker icon again and 
selecting "Preferences". Make sure that the correct device is selected.


I googled around and found various issues with the model of Acer you 
have listed, but sound didn't seem to be a problem save for one user 
using Ubuntu (I didn't spend that much time looking, sorry) who only 
got sound out of one speaker. A Fedora review of sorts listed the 
chipset as just working, but I believe that was for Fedora 8.


HTH

Alex White

--
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Minimized Firefox is not visible on panel in CentOS 5.2

2008-06-29 Thread Alex White

hce wrote:

Hi,

I opened a Firefox on Desktop, but when I clicked Minimize Window
button, the Firefox disappeared and there was no icon on the panel, I
simply could not find it any more (it did not close), this was the
same for the terminal as well . How can I make the Firefox icon
visible on panel (or workplaces) even it was minimized?

Thank you.

Jim


Have you tried (re)adding the window list to the panel? Perhaps it 
was deleted (accidentally or through some setting hiccup)?


I've deleted the application window list before and had to re-add 
it. Simply right click the panel you want the list on and then 
choose Add to panel. You'll get a list of items to add the one 
you're looking for is Window List. You can also try Window Selector 
I think it is. It's slightly different but same principle.


Sincerely,

Alex White
--
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PPPoE client help

2008-05-28 Thread Alex White

Robert Moskowitz wrote:

Please point me in the right direction

My ISP is giving me an IPv6 prefix, but to get that I have to:

The current Speedstream ADSL router will be configured as a bridge.  I 
will have to set up a Linux (read Centos, I hope) router that will 
connect ethernet to the Speedstream but run PPPoE to his network and get 
both the IPv4 and IPv6 route delegations.


There is no easy way that I know of to test this ahead of time.  I 
basically have to get the box configed, have my ISP switch the 
Speedstream to briding mode, and GO!  So I need to do some reading


This link may help you, I'm not sure, there is no ipv6 coming from 
my ISP yet. So I've not had the experience of messing with it yet.


http://www.olympus-zone.net/page_1075_en_Blue.html


Also, I believe there is some information concerning rp-ppoe and 
ipv6 mentioned in the man page, one of the options is listed in the 
pppd man page is pppd=ipv6 or ipv4. Would this be what you're 
looking for?


--
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re:Re:Can't get past the splash screen

2008-05-22 Thread Alex White

Eon Strife wrote:

Hi,
Thanks, it's Gnome, and I'm stuck when I login as root.
By using Putty, I managed to create a new user, and then I tried to login to 
desktop(using nomachine) as that user, and yes, it works. The problem now is 
that I stuck when I login as the root.




NX> 596 Session startup failed.<- 
The additional line in the sshlog of the root
NX> 1004 Error: NX Agent exited with exit status 1.
Can't open 
/var/lib/nxserver/db/running/sessionId{0C2C8B077AB56ED37F7A5A72FE8FA7BF}: No 
such file or directory.
mv: cannot stat 
`/var/lib/nxserver/db/running/sessionId{0C2C8B077AB56ED37F7A5A72FE8FA7BF}': No 
such file or directory
NX> 1006 Session status: closed
Exited with status 0. User pressed Ok.


As a regular user you shouldn't be able to look into that directory, 
so that's normal. Only root and nx can do that.


Interesting (at least to me) is that you get an error concerning a 
session that I do not believe it should be looking for. It's like 
it's attempting to reattach to a session that doesn't exist and then 
it fails. I could be incorrect, but at this point it's simply a data 
point.


On the client machine (assuming it is linux), have you removed all 
session data from the user's home directory? By default this is 
~/.nx/cache-unix-windowmanagername (for you that is likely gnome) 
and ~/.nx/letter-hostname-screen-somerandomhashIthink/


Don't remove the config directory or else you'll have to set up the 
nx information again. See if that doesn't fix the issue. It may not, 
and I'm sorry if it doesn't, but I am not entirely sure about this 
particular issue.


If the client machine is a windows machine there is a .nx directory, 
but I am not sure where it's kept. C:\documents and 
settings\user\.nx maybe. That is where it resides on my windows 
install at work on XP. I may or may not have changed the directory 
so you might have to look around a bit.



HTH

Alex White
--
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re:Can't get past the splash screen

2008-05-20 Thread Alex White

Eon Strife wrote:

Hi,
Thanks for the reply. 
I already checked the the current user logged in the freenx by using "nxserver --list", it's only the root (the one I currently using).

And yeah, I'm stuck in this screen : 
http://img.photobucket.com/albums/v708/EonStrife/stuck.jpg
I wonder, just say if we don't use the remote desktop, but we access or use the 
computer directly/physically as usual, what do we do if we're stuck on that 
screen ?

About the log of the nomachine, I think the most interesting part is the bottomost part. 
Note, there are many occurences of "NXFileMonitor::readData", and some 'stop' 
and 'destructor' words in the end, even though the nomachine is still running.





[Wed 21. May 09:48:21 2008]: LoginDialog: Agent found closing windows...
[Wed 21. May 09:48:21 2008]: LoginDialog: Slotsingleapplication: setting 
automatic reconnect to true.
[Wed 21. May 09:48:21 2008]: Settings::flush
[Wed 21. May 09:48:21 2008]: Settings::flush
[Wed 21. May 09:48:21 2008]: LoginDialog: closeEvent received!
[Wed 21. May 09:48:21 2008]: LoginDialog::destructor called begin




I am not in front of a machine with the nxclient on it, I will be in the 
morning and can see what some of the logs look like there; however, the 
ling concerning automatic reconnect to true makes me think the device is 
attempting to start up a session that doesn't exist. I can't prove that, 
but I will have more information tomorrow.


Concerning your screen shot, I've only ever been stuck at that screen 
once and simply hitting enter at the keyboard made it vanish. The splash 
screen should time out anyhow once the start up stuff times out if 
gnome/kde/xfce's initialization routine takes too long.


What desktop (window manager?) are you using? Is it Gnome, KDE or 
something else? I've not seen selinux create an issue, but for posterity 
is it running? Does it log anything on the system you're attempting to 
connect with? Oh, what about permissions for the user? Does the user 
have the ability to write to his/her home directory properly? You could 
be getting stuck on the splash screen because the user can't write any 
data for the initialization.


Sincerely,

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


Re: [CentOS] Can't get past the splash screen

2008-05-20 Thread Alex White

Eon Strife wrote:


 Hi,
I have a remote frontend (it's kept in the room which I don't have access) which is 
installed with CentOS 4 and Rocks . So, to use the desktop(Gnome) of the frontend I use 
the freenx + nomachine following the guide in 
http://www.centos.org/modules/newbb/viewtopic.php?forum=20&topic_id=1640&viewmode=threaded.
 It worked. Then, I intended to add user, but I couldn't create the home folder in 
/home/ for the new user. After browsing, I found that somebody mentioned it's because 
of the automounter/autofs. So, I played around, enabled and disabled the autofs, and 
yes, I could create the home folder for the new user. The problem is that, when I tried 
to log-in to the front end using nomachine (using root) again, I could only get as far 
as the splash screen of the CentOS. I tried to connect using the putty (terminal), and 
I could interact (issuing command to the terminal), but I couldn't use the Gnome 
anymore. So, why in the nomachine I could not pass the splash
 screen anymore ? Any solution ? Thanks.


Although I can not answer your question directly, did you see 
anything logged on the system that you are connecting to via the 
nomachine client?


Also, the Nomachine client provides some logging of its own as well. 
You may want to check for any error or permissions related 
information in the client's directory. That may point you in the 
right direction.


Sincerely,

Alex White

--
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Open extra ports on firewall?

2008-03-14 Thread Alex White
On Fri, 14 Mar 2008 17:32:08 +0100
Niki Kovacs <[EMAIL PROTECTED]> took out a #2 pencil and
scribbled:

> Hi,
> 
> I'm using the preconfigured firewall that comes with CentOS 5. I 
> configure it with system-config-securitylevel-tui, close all
> ports except SSH, and then open only the ones I need.
> 
> Right now, on one of my desktops, I've installed AMSN, which
> requires opening a series of ports. I've configured the app to
> use ports 7000 to 7010 (TCP and UDP). When running
> system-config-securitylevel-tui, the last line enables to define
> custom ports, not mentioned elsewhere in the menu. So, for
> example, when I want to add port 6891 for tcp and udp, I write an
> entry like this:
> 
> 6891:tcp 6891:udp
> 
> But what's the syntax for several ports? I tried this:
> 
> 7000-7010:tcp 7000-7010:udp
> 
> And then, 'service iptables status' gives me this:
> 
> 
> 10   ACCEPT tcp  --  0.0.0.0/0   0.0.0.0/0   state NEW tcp
> dpt:4662 11   ACCEPT udp  --  0.0.0.0/0   0.0.0.0/0   state NEW
> udp dpt:4672 12   ACCEPT tcp  --  0.0.0.0/0   0.0.0.0/0   state
> NEW tcp pts:7000:7010 13   ACCEPT udp  --  0.0.0.0/0
> 0.0.0.0/0   state NEW udp pts:7000:7010 14   ACCEPT tcp  --
> 0.0.0.0/0   0.0.0.0/0   state NEW tcp dpt:22 15   REJECT all  --
> 0.0.0.0/0   0.0.0.0/0   reject-with icmp-host-prohibited
> 
> Does that mean that I have opened ports 7000 to 7010? Or only
> ports 7000 and 7010? I'm not quite sure how to read this.
> 
> Cheers,
> 
> Niki

It means you've opened 7000 through to 7010 for udp and tcp.

-- 
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OpenOffice now automagically works: One last question...

2008-03-07 Thread Alex White
On Fri, 7 Mar 2008 12:05:22 -0500
Therese Trudeau <[EMAIL PROTECTED]> took out a #2 pencil and
scribbled:

> 
> >> I tried re enabling SELinux and OO won't start, so I assume
> >> that I must have SE Linux disabled in order for OpenOffice to
> >> run - is this correct?
> >> 
> >> if correct, is there a way I can still keep my system secure
> >> and run OpenOffice 2.3?
> > 
> > You do not have to keep selinux disabled. You can re-enable it;
> > however, you may get a couple selinux failures. This is what
> > happens on my system when running in Enforcing mode.
> > 
> > 1. Selinux complains about a memory access
> > by /opt/openoffice.org2.3/program/libvclplug_gen680li.so.1.1
> > 
> > 2. Selinux complains about openoffice attempting to change the
> > memory access protection on the heap.
> > 
> > To solve number 1. on my system:
> > sudo chcon -t
> > textrel_shlib_t /opt/openoffice.org2.3/program/libvclplug_gen680li.so.1.1
> > 
> > Please mind the line wrapping. To solve issue 2. on my system:
> > sudo setsebool -P allow_execheap=1
> > 
> > I am not entirely sure that it is wise to perform the second
> > step, as it affects all applications that run on the system. So
> > it seems a bit of a sledgehammer.
> > 
> > To view what selinux is complaining about you may want to
> > install the setroubleshoot package from yum and view what it is
> > complaining about exactly. It will also give you suggestions on
> > how to fix the selinux complaints.
> 
> OK Thanks. I'm wondering if a secure alternative would be to run
> SELinux in permissive mode instead of disabled? 

I would highly suggest running it in permissive mode, and then
taking care of little problems that arise when you start
applications up. I ran into this same issue that you have been
having with OpenOffice, as I run selinux in Enforcing mode.

Selinux doesn't complain too terribly much about my normal
behaviors on my system. YMMV of course.

HTH

Alex White

-- 
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OpenOffice now automagically works: One last question...

2008-03-07 Thread Alex White
On Fri, 7 Mar 2008 09:46:56 -0500
Therese Trudeau <[EMAIL PROTECTED]> took out a #2 pencil and
scribbled:

> I tried re enabling SELinux and OO won't start, so I assume that
> I must have SE Linux disabled in order for OpenOffice to run - is
> this correct?
> 
> if correct, is there a way I can still keep my system secure and
> run OpenOffice 2.3?

You do not have to keep selinux disabled. You can re-enable it;
however, you may get a couple selinux failures. This is what
happens on my system when running in Enforcing mode.

1. Selinux complains about a memory access
by /opt/openoffice.org2.3/program/libvclplug_gen680li.so.1.1

2. Selinux complains about openoffice attempting to change the
memory access protection on the heap.

To solve number 1. on my system:
sudo chcon -t
textrel_shlib_t /opt/openoffice.org2.3/program/libvclplug_gen680li.so.1.1

Please mind the line wrapping. To solve issue 2. on my system:
sudo setsebool -P allow_execheap=1

I am not entirely sure that it is wise to perform the second step,
as it affects all applications that run on the system. So it seems
a bit of a sledgehammer.

To view what selinux is complaining about you may want to install
the setroubleshoot package from yum and view what it is complaining
about exactly. It will also give you suggestions on how to fix the
selinux complaints.

HTH

Alex White

-- 
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] /var/www/html group & owner

2008-03-04 Thread Alex White
On Tue, 4 Mar 2008 12:18:56 -0800 (PST)
Hiep Nguyen <[EMAIL PROTECTED]> took out a #2 pencil and scribbled:

> hi again,
> 
> [EMAIL PROTECTED] ~]# ls -all /var/www/
> total 64
> drwxr-xr-x  8 root  root 4096 Mar  3 11:44 .
> drwxr-xr-x 21 root  root 4096 Mar  3 11:44 ..
> drwxr-xr-x  2 root  root 4096 Jan 15 20:36 cgi-bin
> drwxr-xr-x  3 root  root 4096 Mar  3 11:43 error
> drwxr-xr-x  2 root  root 4096 Jan 15 20:36 html
> drwxr-xr-x  3 root  root 4096 Mar  3 11:44 icons
> drwxr-xr-x 14 root  root 4096 Mar  3 11:44 manual
> drwxr-xr-x  2 webalizer root 4096 Mar  3 11:44 usage
> 
> currently, html is belonging to root group/owner and httpd is
> running under apache user/group.
> 
> what should i change html to, so that httpd can run safely under
> apache user/group???
> 
> or should i change httpd to run under a different user/group???
> 
> if i keep httpd running on apache user/group, should i change
> html to apache group/owner???
> 
> thank you for all your help.
> t. hiep

You do not need to change the user and group. The default groups
are fine, apache should be able to traverse the directories and
read them; thus, serve them up without a problem. 

So long as apache has permission to read the contents (correct
permissions) you do not have to change the user/group to be
specific to apache.

I would refrain from making anything writable (unless necessar) by
apache anyhow. Just for the sake of security.

Sincerely,

Alex White
-- 
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] disable SELinux

2008-03-04 Thread Alex White
On Tue, 4 Mar 2008 11:11:22 -0800 (PST)
Hiep Nguyen <[EMAIL PROTECTED]> took out a #2 pencil and scribbled:

> On Tue, 4 Mar 2008, Dan Carl wrote:
> 
> >
> > 
> >>
> >> for testing, i need to disable selinux, but something still
> >> not working right.
> >>
> >> i'm trying to figure out why i can't access http://10.0.0.160
> >> from the same network (10.0.0.x).
> >>
> >> on 10.0.0.160 box, i can access http://localhost, or
> >> http://10.0.0.160, but from any other computer, i can't.
> >>
> >> any advice how to troubleshoot this? thanks.
> >
> > The port could be being blocked by iptables.
> > Try
> > #service iptables stop
> >
> you're exactly right, but i thought minimal installation doesn't
> include such.  anyway, if i restart iptables service, what need
> to be done to iptables?
> 
> thanks,
> t. hiep

Also, are you simply getting a time out or a connection refused
error? It sounds, as has been stated before, like an iptables
issue.

If you're getting some other error it would be excellent to know
what that error is. Are you seeing any errors in
the /var/log/httpd/error_log or in /var/log/messages?

I'd think though that it's just iptables blocking the port.

Sincerely,

Alex White
-- 
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] disable SELinux

2008-03-04 Thread Alex White
On Tue, 4 Mar 2008 09:29:34 -0800 (PST)
Hiep Nguyen <[EMAIL PROTECTED]> took out a #2 pencil and scribbled:

> On Tue, 4 Mar 2008, Tom Brown wrote:
> 
> >
> >> 
> >> 
> >> with minimal installation on centos 5, selinux also included.
> >> how do i remove selinux or disable it at least?
> >> 
> >
> >
> > cat /etc/sysconfig/selinux
> >
> > you'll figure it out from there!
> >
> 
> what command i can issue to enforce the change w/o reboot the box.
> 
> thanks.
> t. hiep

man setenforce

Are you sure you really want to turn off selinux?

If you reboot, unless you change /etc/sysconfig/selinux, your
machine will have selinux re-enabled.

Sincerely,

Alex White
-- 
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: tail command

2008-02-04 Thread Alex White
On Mon, 4 Feb 2008 14:58:27 -0800
MHR <[EMAIL PROTECTED]> took out a #2 pencil and scribbled:

> On Feb 4, 2008 2:31 PM, Scott Silva <[EMAIL PROTECTED]> wrote:
> > on 2/4/2008 2:23 PM Bill Campbell spake the following:
> >
> > > On Mon, Feb 04, 2008, Scott McClanahan wrote:
> > >
> > > The default syntax for tail for the last 20 years or so would
> > > be ``tail -83 filename''.
> > >
> > That would be for the LAST 83 lines. The poster wanted to start
> > the tail FROM line 83 to the end.
> >
> 
> The 'tail -#' syntax has been deprecated for years.  The correct
> syntax, per the man page, is 'tail -n #' for the last # lines of
> the file, default 10, and if the # begins with a '+' it means
> from the #'th line from the front of the file.
> 
> There is no mention of the 'tail -#' syntax in the man page.
> 
> mhr

It's in the info page.

info tail

HTH

-- 
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 4.6 and openssl

2008-02-01 Thread Alex White
On Fri, 1 Feb 2008 13:40:32 -0500
"Paul A" <[EMAIL PROTECTED]> took out a #2 pencil and scribbled:

> Thanks Alex.
> 
> I'm assuming that if another security exploit is found that the
> openssl version number who change on the repo correct, if not how
> would yum know to update?
> 
> Thanks, Paul

Typically if such a thing is to happen you'll see a release
bump, similar to 0.9.8b-8.3.2 to 0.9.8b-8.3.3

HTH 
-- 
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 4.6 and openssl

2008-02-01 Thread Alex White
On Fri, 1 Feb 2008 12:49:10 -0500
"Paul A" <[EMAIL PROTECTED]> took out a #2 pencil and scribbled:

> Hi, 
> 
> I was compiling a new version of bind on my centos 4.6 server and
> I discovered that the openssl version
> (openssl-0.9.7a-43.17.el4_6.1) has several exploits associated
> with it. I was wondering aside from removing the RPM and
> compiling a new version of openssl how can I upgrade my current
> openssl-0.9.7a-43.17.el4_6.1 to a newer version that is affected
> by the exploits. I know I can yum update openssl as that's is the
> last version for openssl for version 4. 
> 
> What can I do upgrade openssl? 
> Is it possible to update the server from 4.6 to 5?, is this
> something that I want to do or is there a better way?
> 
> 
> TIA, Paul

Security fixes are backported, so the version number is not a good
indicator of security vulnerabilities. You may wish to look at the
change log associated with the rpm.

rpm -q --changelog openssl

HTH

-- 
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NoMachine NX Server

2008-01-30 Thread Alex White
On Thu, 31 Jan 2008 11:15:04 +0700
Sobari Tanuwijaya <[EMAIL PROTECTED]> took out a #2 pencil and
scribbled:

> Hi,
> Is there anybody ever have an experience install NoMachine NX
> Server on centos? Is there anything need to get special attention?
> Thanks in advance
> 
> -- Tanu --

I've seen no issues running NoMachine NX on two machines in my
custody. You can also yum install freenx if that suits your
purposes.

HTH

-- 
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: question on "cp -f" on centos 5.1

2008-01-28 Thread Alex White
On Mon, 28 Jan 2008 15:57:44 -0600
Robert Nichols <[EMAIL PROTECTED]> took out a #2 pencil
and scribbled:

> The shell does not apply aliases to commands executed from
> scripts.

I knew that...after testing it an hour ago. In the corner of my
mind somewhere I knew that as I have scripted in a limited fashion
in the past.

Thanks for that tidbit of reminder though.

-- 
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] question on "cp -f" on centos 5.1

2008-01-28 Thread Alex White
On Mon, 28 Jan 2008 14:25:27 -0500
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]> took out a #2 pencil
and scribbled:

> [EMAIL PROTECTED] ~]$ alias foo=bar
> [EMAIL PROTECTED] ~]$ foo
> bash: bar: command not found
> [EMAIL PROTECTED] ~]$ "foo"
> bash: foo: command not found
> [EMAIL PROTECTED] ~]$ \foo
> bash: foo: command not found

Interesting. Here's an example of what I see on my system with cp
aliased to cp -i

[EMAIL PROTECTED] ~]$ which cp
alias cp='cp -i'
/bin/cp
[EMAIL PROTECTED] ~]$ touch test.tst
[EMAIL PROTECTED] ~]$ "cp" -rf test.tst  test.keytest

Thanks for that information, I need to read the howto on bash
scripting again! *blinks*

Thanks!
-- 
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] question on "cp -f" on centos 5.1

2008-01-28 Thread Alex White
On Mon, 28 Jan 2008 11:12:41 -0800 (PST)
"nate" <[EMAIL PROTECTED]> took out a #2 pencil and scribbled:

Curious question that is directly related to this. This did work
on my system; however, I'm not sure if this is something one wants
to be doing. If one were to type literally:

"cp" -fr somedir somefile ~/ 

Would this defeat the alias (in bash)?

-- 
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Possibly OT: FreeNX and Gnome Language

2008-01-19 Thread Alex White
If this is too far off topic please let me know and I'll send this
to the Gnome list or something.

Today I recently had a thai friend want to experience linux. Their
limitation is language of course. I set up an account for my friend
and had them log in after changing through GDM their language
preferences to Thai. The Thai language shows up for me when I log
in as the user on the machine.

I read several posts notably the following: 
http://mail.kde.org/pipermail/freenx-knx/2006-August/003967.html

I attempted to accomplish this with those instructions and end up
with a whole lot of fail. I assume I am misunderstanding something
very basic because the user still is presented with an English
desktop when they login through nx.

I also tried the following trick of editing their ~/.dmrc to
provide the language environment, but unless you login through gdm
(as I read from google searches) this file is skipped. 

Has anyone encountered this and come up with a solution? Or is
there a way to refine my google search in some way to provide
better information for me? I appreciate any help anyone can provide.

Sincerely

-- 
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Openoffice.org Gimp

2008-01-17 Thread Alex White
On Thu, 17 Jan 2008 17:55:41 +0200
jarmo <[EMAIL PROTECTED]> took out a #2 pencil and scribbled:

> Just wondering, what's the roadmap for OO to be upgraded.
> I have version 2.0.4 and official is already in 2.3.x and suppose
> in march there's going to be 2.4 version.
> 
> As well as Gimp, we using 2.2 and there is 2.4.x 
> 
> Anyone heard upstream roadmap for upgrading?
> 
> Jarmo

Generally speaking, I believe there will be upgrades to those apps
when upstream upgrades those apps. Someone will correct me if I'm
wrong. If you really really want the updated versions, you can yum
remove openoffice and install the rpms from OpenOffice.Org with
minimal hassle if any at all. I did not have problems with the
packages from OO.O; YMMV of course.

I am not sure for GIMP; however, sorry. I don't use it very often.

HTH

Alex White

-- 
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] build rpm from source code

2008-01-17 Thread Alex White
On Thu, 17 Jan 2008 11:40:51 -0400
Centos <[EMAIL PROTECTED]> took out a #2 pencil and scribbled:

> Hello
> 
> Is there any good and quick document on building spec file.
> there is source file that has no rpm and we need to build the
> spec file and srpm.
> 
> 
> Thanks

http://www.rpm.org/RPM-HOWTO/build.html

A quick google should give you some nice places to find such
information; however, Fedora Packaging Guidelines might be what
you're looking for. also, you can have a gander at some simple spec
files for some packages that are an easy ./configure && make &&
make install sorts.

The above link is from rpm.org and may or may not be what you're
looking for.

HTH

Alex White

-- 
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] sound conversion assistance

2008-01-16 Thread Alex White
On Wed, 16 Jan 2008 20:30:23 -0500
fred smith <[EMAIL PROTECTED]> took out a #2 pencil and
scribbled:

> OK, I downloaded a batch of ".rm" audio files from the net. I can
> play them with mplayer or realplayer, but how can I convert them
> to something else, e.g. mp3, etc.? So far haven't unearthed any
> tools that can both read them and write out in another format.
> 
> Thanks!

Hello!

A little googling should get you where you need to be. You can try
the following links as well.

http://www.linuxforums.org/forum/gaming-games-multimedia-entertainment/85596-how-convert-rm-mp3.html
(mind the line wrapping)

http://linuxappfinder.com/package/pacpl (perl audio converter) I've
not used this before.

mencoder is a good tool for this I believe.

HTH

-- 
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: openoffice

2007-07-27 Thread Alex White
On 7/27/07, beast <[EMAIL PROTECTED]> wrote:
> On 27/07/07 10:13 -0500, Johnny Hughes wrote:
> >I have not tried to integrate the newest OOo2 into CentOS-5 (or even
> >CentOS-4.5) since both have OOo-2.0.4 integrated.  Are there REALLY that
> >many new features that you MUST upgrade from a Stable 2.0.4 to a new 2.2.x?
>
> Not today, but next year OOo 2.0 will be outdated and if asking for a support
> most people will ask to get the latest version.
> My reasons is because the recent OO provides better compatibility with the 
> latest MS
> Office, since it is a critical to our company which exchange the document in
> MS office format with the customer.
>
> >Well ... you would have to rebuild a newer version other than the one on
> >FC6 ... which MIGHT still work on CentOS-5.  However, in the future as
> >tomcat, glibc and other build requires diverge between FC6 and CentOS-5
> >it will be less likely to work.
> >
> >In a 8 months when there is no more FC6 support, that will stop working
> >anyway.
>
> This is what i'm worry about...
>
> >=== OR === create a process to use the OOo RPMS
> >directly from the OpenOffice.org website.
> >
>
> I also thinking this is the best possible solution.
> Get the OO package from openoffice.org site and then add desktop integration 
> ourself.
> But, will it mess up the whole thing when we i do 'yum upgrade'?
>
>
> --beast

It won't mess up the whole thing if you exclude openoffice in your yum
configuration. Yum will happily ignore openoffice from that point
forward.

HTH,

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