Re: [CentOS] Checking to see if I can mail

2008-12-13 Thread John

> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of Lanny Marcus
> Sent: Friday, December 12, 2008 9:13 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] Checking to see if I can mail
> 
> On Fri, Dec 12, 2008 at 6:16 PM, John  wrote:
> 
> >> On Fri, Dec 12, 2008 at 2:17 PM, Bob Hoffman
> >>  wrote:
> >> > Been able to receive mail but unable to get mine to 
> appear on list.
> >> > I tried resetting the list to see if I am able to mail out again.
> >> > Lets see if this works.
> >> > Test#12
> >>
> >> Loud and clear. Q5 S9
> >
> > Thought it was 599
> 
> for CW, yes.

RTTY, PSK31

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


[CentOS] Experimental RPM Squid Packages for EL4/EL5

2008-12-13 Thread Vandaman
I posted on the squid-users mailing list and also CC'd
the upstream developer in case he wasn't subscribed. He replied 
and updated his page on http://people.redhat.com/mnagy/squid/
You can follow the full conversation at 
http://marc.info/?t=12290847625&r=1&w=2

Are there any plans for any other squid versions in CentOS plus?
Any other repos/sources you know of with EL4/EL5 squid rpms?
Is there a CentOS dev with any experimental packages?

Regards,
Vandaman.


  

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


Re: [CentOS] Centos 5.2 yum check-update fails - repo change?

2008-12-13 Thread Kai Schaetzl
Dave Stevens wrote on Fri, 12 Dec 2008 13:32:51 -0800:

> #baseurl=http://download.fedoraproject.org/pub/epel/5/$basearch
> mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch

Hm, not hardcoded then. I looked again at ftp://ftp.muug.mb.ca/mirror/
The epel mirror is to be found in the hierarchy below fedora. That's why it 
looked 
to be absent.
I don't think this is a problem on your end.
If this problem persists, I'd contact them as there might be a problem.
You could change to the baseurl instead for a while and then try again.
I don't know a way to "exclude" certain mirrors.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] Upgrade to new drives in raid, larger

2008-12-13 Thread Kai Schaetzl
Ross Walker wrote on Fri, 12 Dec 2008 19:35:48 -0500:

I think I would do it the same or very similar.

> 4) created a degraded raid1 called md2 out of new sdb2, use --force  
> with mdadm

Why force?

> 7) removed sda1 from md0 and sda2 from md1 killing md1 off, I don't  
> remember if I did a mkinitrd at this point, but if in doubt, generate  
> one

Yes, if your root device path changes, you have to run mkinitrd with the 
*new* fstab.

> 9) fdisk'd boot partition of type autoraid and lvm partition of type  
> autoraid, same as before. Added grub to new sdb mbr.

At this point you can simply copy the structure over with sfdisk and avoid 
the manual creation.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] init script question

2008-12-13 Thread Ralph Angenendt
Phil Schaffner wrote:
> Davide Cittaro wrote:
> > Ok, another one: the process I would like to start is not a daemon  
> > itself. If I start it with "daemon" function it remains in foreground.  
> > Ok, I can play with '&' but is there a init function to start in  
> > background a process?
> 
> You just hijacked your own thread.  Better to start a new one.

Nope, we're still in init-script territory :)

> The workaround I have used in this situation is a wrapper script that 
> redirects stdin, stdout, and stderr and backgrounds, but that is playing 
> with '&' indirectly.  Please post if you find a more elegant solution.

True. "daemon" itself cannot do that if the script doesn't detach from the
terminal itself. But within the init script a "&" should be sufficient if
no output is expected.

Ralph

pgpm9GHYpbrGT.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dlink DGE-530T on CentOS 4.7

2008-12-13 Thread Akemi Yagi
On Sun, Dec 7, 2008 at 1:13 PM, Akemi Yagi  wrote:
> On Sun, Dec 7, 2008 at 1:04 PM, Stephen Harris  wrote:
>> On Sun, Dec 07, 2008 at 12:57:05PM -0800, Akemi Yagi wrote:

>> Won't I have an issue, though, were the new kernel might be available before
>> the ATrpms module is updated?  I was hoping for some sort of dkms solution.
>>
>> Otherwise I can always just recompile the module myself if there's no
>> automatic version solution available.
>
> Right, the solution will then be either dkms or kernel
> version-independent kmod.  While CentOS does not provide either, the
> dkms version might become available if you ask dag  :-D  Try the
> rpmforge mailing list.  If you'd rather go for the kmod way, Alan
> Bartlett has been offering kABI-tracking kmods for several NIC drivers
> here:
>
> http://centos.toracat.org/ajb/
>
> I'm quite certain he will be happy to build one for sk98lin.

Yes, he did.  :-)  Here's the announcement:

"The C-4 kABI tracking kmod rpm packages (i586, i686 & x86_64 -- or,
more correctly, 32- & 64-bit) containing the sk98lin driver are now
available for public download from:

http://centos.toracat.org/ajb/CentOS-4/sk98lin/  "

I just wanted to add that the CentOS-5 versions is also available.

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


Re: [CentOS] 5.2 driver for Marvell Yukon 88E8042 PCI-E Fast Ethernet controller (SOLVED)

2008-12-13 Thread Akemi Yagi
On Wed, Dec 10, 2008 at 9:00 AM, Akemi Yagi  wrote:
> On Wed, Dec 10, 2008 at 8:28 AM, Stephen Harris  wrote:
>> On Wed, Dec 10, 2008 at 08:12:01AM -0800, Akemi Yagi wrote:
>
> No, the binary is for CentOS-5 only.  I mentioned this somewhere but
> if you did not see it, I apologize for not making it clear in this
> thread.
>
> Alan is now working on providing the CentOS-4 version of the same
> driver.  Give him (us) a bit of time.  I will make an announcement
> when it is finally ready.

It's ready for you to grab:

http://centos.toracat.org/ajb/CentOS-4/sk98lin/

Thanks, Alan.

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


Re: [CentOS] secure file not updating

2008-12-13 Thread Mike -- EMAIL IGNORED
On Fri, 12 Dec 2008 22:43:46 -0600, Barry Brimer wrote:

>> On my Centos 5 server, the secure file has not updated since Dec 10. 
>> This despite the fact that I run an sshd server that I access many
>> times per day.  Most peculiar is the fact that a swatch monitor that I
>> run on the secure file catches plenty of lines.  It is as if when
>> swatch catches a line in the file, the line is removed from the file
>> and the modification date is set back.  Hard to believe.  Any ideas?
> 
> What is the output of "lsattr /var/log/secure"?  Do you have SELinux
> enabled, and are there any corresponding lines in
> /var/log/audit/audit.log?

# lsattr /var/log/secure
- /var/log/secure

selinux is disabled

/var/log/audit/audit.log appears to have lines describing a login
I did a few minutes ago, and its modification date is correct.

# ls -l /var/log/secure
-rw--- 1 root root 18950 Dec 10 12:38 /var/log/secure

# date
Sat Dec 13 09:42:36 EST 2008

I remain mystified.

Mike.


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


Re: [CentOS] Dlink DGE-530T on CentOS 4.7

2008-12-13 Thread Stephen Harris
On Sat, Dec 13, 2008 at 06:32:35AM -0800, Akemi Yagi wrote:

> "The C-4 kABI tracking kmod rpm packages (i586, i686 & x86_64 -- or,
> more correctly, 32- & 64-bit) containing the sk98lin driver are now
> available for public download from:
> 
> http://centos.toracat.org/ajb/CentOS-4/sk98lin/  "

Thanks for that!  I'll definitely be testing that out today.

(Annoyingly, I can't recompile it from the source rpm because the
kernel-devel package name requirements don't match what is actually
present, but I'm sure I can work around that).

Thanks again!

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


Re: [CentOS] CentOS 5.2 + iptables + memcached Problem

2008-12-13 Thread Filipe Brandenburger
Hi,

On Fri, Dec 12, 2008 at 18:28, Art Age Software  wrote:
> IPTABLES -A INPUT  -i bond0 -p tcp -m tcp  -s 192.168.1.0/24  -d
> 192.168.1.0/24  --dport 11211  -m state --state NEW  -j ACCEPT
>
> s1 kernel: DROP -- Catch All: IN=bond0 OUT= SRC=192.168.1.2
> DST=192.168.1.1 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=6467 DF PROTO=TCP
> SPT=51837 DPT=11211 WINDOW=202 RES=0x00 ACK FIN URGP=0

To use stateful rules, you must have rules for state ESTABLISHED too,
otherwise it will only allow the first packet and not the all others.
The first rule should always be:

iptables -A ... -i bond0 -m state --state ESTABLISHED,RELATED -j ACCEPT

That's the point of stateful rules, you match the rules further down
for new connections, but existing connections will always match the
first rule.

You should google for "iptables stateful" and try to get a better
explanation of what it is and how it works.

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


Re: [CentOS] secure file not updating

2008-12-13 Thread Barry Brimer
>>> On my Centos 5 server, the secure file has not updated since Dec 10.
>>> This despite the fact that I run an sshd server that I access many
>>> times per day.  Most peculiar is the fact that a swatch monitor that I
>>> run on the secure file catches plenty of lines.  It is as if when
>>> swatch catches a line in the file, the line is removed from the file
>>> and the modification date is set back.  Hard to believe.  Any ideas?
>>
>> What is the output of "lsattr /var/log/secure"?  Do you have SELinux
>> enabled, and are there any corresponding lines in
>> /var/log/audit/audit.log?
>
> # lsattr /var/log/secure
> - /var/log/secure
>
> selinux is disabled
>
> /var/log/audit/audit.log appears to have lines describing a login
> I did a few minutes ago, and its modification date is correct.
>
> # ls -l /var/log/secure
> -rw--- 1 root root 18950 Dec 10 12:38 /var/log/secure
>
> # date
> Sat Dec 13 09:42:36 EST 2008

Any unexpected syslog configuration?  Does a touch update the timestamp?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 5.2 running in VMWare 6.5 Firefox failed to connect, but konqueror works well

2008-12-13 Thread Josef Temminghoff
 
Hello 
 
I am running CentOS 5.2 in VMWare 6.5. Firefox doesn't run but Konqurer
does.
 
VMware host (Vista) is connected to the internet via a DSL router. 
CentOS VMware network is brided, DHCP is activated, no firewall is acive.
Perhaps somebody can help me.
 
Thank you in advance
Josef
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.2 + iptables + memcached Problem

2008-12-13 Thread Art Age Software
I do have such a rule at the top of the rule set. Sorry I did not
provide more context. The basic structure of my rule set is:

1. Deny some known bad packet types.
2. Accept ESTABLISHED, RELATED traffic.
3. Accept rules of various sorts (such as the memcached rules).
4. Deny all (catch all rule).

I'm not an iptables newbie - I have used it for years and understand
its basic operation. All my other rules work perfectly. This is why I
am perplexed as to the memcached rules not working as expected and why
I suspect a bug of some sort.

Thanks,

Sam

On Sat, Dec 13, 2008 at 7:14 AM, Filipe Brandenburger
 wrote:
> Hi,
>
> On Fri, Dec 12, 2008 at 18:28, Art Age Software  wrote:
>> IPTABLES -A INPUT  -i bond0 -p tcp -m tcp  -s 192.168.1.0/24  -d
>> 192.168.1.0/24  --dport 11211  -m state --state NEW  -j ACCEPT
>>
>> s1 kernel: DROP -- Catch All: IN=bond0 OUT= SRC=192.168.1.2
>> DST=192.168.1.1 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=6467 DF PROTO=TCP
>> SPT=51837 DPT=11211 WINDOW=202 RES=0x00 ACK FIN URGP=0
>
> To use stateful rules, you must have rules for state ESTABLISHED too,
> otherwise it will only allow the first packet and not the all others.
> The first rule should always be:
>
> iptables -A ... -i bond0 -m state --state ESTABLISHED,RELATED -j ACCEPT
>
> That's the point of stateful rules, you match the rules further down
> for new connections, but existing connections will always match the
> first rule.
>
> You should google for "iptables stateful" and try to get a better
> explanation of what it is and how it works.
>
> HTH,
> Filipe
> ___
> 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] Checking to see if I can mail

2008-12-13 Thread Lanny Marcus
On Sat, Dec 13, 2008 at 2:59 AM, John  wrote:

>> >> Loud and clear. Q5 S9
>> > Thought it was 599
>> for CW, yes.
> RTTY, PSK31

That too. I think I blew the Final in my HF Transceiver, when I forgot
to reduce the power, before I started using PSK31. Probably about 30
seconds of that did it and now I am QRT.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] GNOME + Firefox - Mouse froze - what key combination to revive?

2008-12-13 Thread Lanny Marcus
Earlier, I was using GNOME and Firefox and the Mouse died. I had to
kill the power, to get the box going again, because it doesn't have a
reset switch;  which is *not* an elegant way to get going. What key
combination would get me going or to a shell? CentOS 5, fully updated,
32 bit.   TIA!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] secure file not updating

2008-12-13 Thread Mike -- EMAIL IGNORED
On Sat, 13 Dec 2008 11:33:06 -0600, Barry Brimer wrote:

 On my Centos 5 server, the secure file has not updated since Dec 10.
 This despite the fact that I run an sshd server that I access many
 times per day.  Most peculiar is the fact that a swatch monitor that
 I run on the secure file catches plenty of lines.  It is as if when
 swatch catches a line in the file, the line is removed from the file
 and the modification date is set back.  Hard to believe.  Any ideas?
>>>
>>> What is the output of "lsattr /var/log/secure"?  Do you have SELinux
>>> enabled, and are there any corresponding lines in
>>> /var/log/audit/audit.log?
>>
>> # lsattr /var/log/secure
>> - /var/log/secure
>>
>> selinux is disabled
>>
>> /var/log/audit/audit.log appears to have lines describing a login I did
>> a few minutes ago, and its modification date is correct.
>>
>> # ls -l /var/log/secure
>> -rw--- 1 root root 18950 Dec 10 12:38 /var/log/secure
>>
>> # date
>> Sat Dec 13 09:42:36 EST 2008
> 
> Any unexpected syslog configuration?  Does a touch update the timestamp?

in syslog.conf:

# added by MDB
local0.*/var/log/httpd/cgi_log
local1.*/var/log/net_que
local2.*/var/log/sock_mon
kern.=debug /var/log/ipt_log

I also have added a number of things to logrotate.

These things have been working well for years, although only
a few months on "Centos.

"touch /var/log/secure" updated the timestamp as expected.

I note that early tomorrow morning the logrotate occurs.  I
wonder what will happen.

Mike.


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


[CentOS] [OT] stable algorithm with complexity O(n)

2008-12-13 Thread David Hláčik
Hi guys,

i am really sorry for making offtopic, hope you will not kill me, but
this is for me life important problem which needs to be solved within
next 12 hours..

I have to create stable algorithm for sorting n numbers from interval
[1,n^2] with time complexity O(n) .

Can someone please give me a hint. Would be very very thankful!

Thanks in advance!
D.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.2 running in VMWare 6.5 Firefox failed to connect, but konqueror works well

2008-12-13 Thread Kai Schaetzl
Josef Temminghoff wrote on Sat, 13 Dec 2008 18:47:41 +0100:

> I am running CentOS 5.2 in VMWare 6.5. Firefox doesn't run but Konqurer
> does.

Does it jump or what? One might assume from the rest that you want to say 
you can't make it display websites or so, but this is just a guess. 
Provide details, please. A sentence like the above is really worthless.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] GNOME + Firefox - Mouse froze - what key combination to revive?

2008-12-13 Thread Kai Schaetzl
Lanny Marcus wrote on Sat, 13 Dec 2008 13:03:42 -0500:

> What key
> combination would get me going or to a shell?

Probably none. If it doesn't react to CTRL-ALT-DEL it's frozen to death.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] GNOME + Firefox - Mouse froze - what key combination to revive?

2008-12-13 Thread Gordon McLellan
Lanny,

You might want to look at this, for future reference:

http://en.wikipedia.org/wiki/Magic_SysRq_key

-Gordon

On Sat, Dec 13, 2008 at 1:03 PM, Lanny Marcus  wrote:
> Earlier, I was using GNOME and Firefox and the Mouse died. I had to
> kill the power, to get the box going again, because it doesn't have a
> reset switch;  which is *not* an elegant way to get going. What key
> combination would get me going or to a shell? CentOS 5, fully updated,
> 32 bit.   TIA!
> ___
> 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] [OT] stable algorithm with complexity O(n)

2008-12-13 Thread Ignacio Vazquez-Abrams
On Sat, 2008-12-13 at 19:24 +0100, David Hláčik wrote:
> Hi guys,
> 
> i am really sorry for making offtopic, hope you will not kill me, but
> this is for me life important problem which needs to be solved within
> next 12 hours..
> 
> I have to create stable algorithm for sorting n numbers from interval
> [1,n^2] with time complexity O(n) .
> 
> Can someone please give me a hint. Would be very very thankful!

Merge sort? Insertion sort? Selection sort? timsort?

-- 
Ignacio Vazquez-Abrams 

PLEASE don't CC me; I'm already subscribed


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] stable algorithm with complexity O(n)

2008-12-13 Thread David Hláčik
Well, something with linear complexity O(n) which i have to prove,

Merge sort, Insertion sort or selection sort does not have O(n) complexity.

I believe that something like RadixSort, CountingSort, BucketSort
altought i am not sure

Thanks!

D.

On Sat, Dec 13, 2008 at 7:51 PM, Ignacio Vazquez-Abrams
 wrote:
> On Sat, 2008-12-13 at 19:24 +0100, David Hláčik wrote:
>> Hi guys,
>>
>> i am really sorry for making offtopic, hope you will not kill me, but
>> this is for me life important problem which needs to be solved within
>> next 12 hours..
>>
>> I have to create stable algorithm for sorting n numbers from interval
>> [1,n^2] with time complexity O(n) .
>>
>> Can someone please give me a hint. Would be very very thankful!
>
> Merge sort? Insertion sort? Selection sort? timsort?
>
> --
> Ignacio Vazquez-Abrams 
>
> PLEASE don't CC me; I'm already subscribed
>
> ___
> 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] GNOME + Firefox - Mouse froze - what key combination to revive?

2008-12-13 Thread Lanny Marcus
On Sat, Dec 13, 2008 at 1:31 PM, Kai Schaetzl  wrote:
> Lanny Marcus wrote on Sat, 13 Dec 2008 13:03:42 -0500:
>> What key
>> combination would get me going or to a shell?
>
> Probably none. If it doesn't react to CTRL-ALT-DEL it's frozen to death.

Kai: I tried that and I tried CTRL-F2, when it happened, but neither
helped. Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] GNOME + Firefox - Mouse froze - what key combination to revive?

2008-12-13 Thread Lanny Marcus
On Sat, Dec 13, 2008 at 1:50 PM, Gordon McLellan  wrote:
> You might want to look at this, for future reference:
> http://en.wikipedia.org/wiki/Magic_SysRq_key

Gordon: Thank you! I bookmarked that URL and I will read it, slowly.
Hoping not to need to kill the power to get out of that situation, the
next time it happens. Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] stable algorithm with complexity O(n)

2008-12-13 Thread Jerry Franz

David Hláčik wrote:
> Well, something with linear complexity O(n) which i have to prove,
> 
> Merge sort, Insertion sort or selection sort does not have O(n) complexity.
> 
> I believe that something like RadixSort, CountingSort, BucketSort
> altought i am not sure

I'm not especially inclined to do someone's homework for them. But since 
you asked for a hint...My mathematical intuition suggests starting by 
mapping the data into an array of n buckets where each bucket is 
determined by the integer part of the square root of each number in the 
dataset.

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


[CentOS] mount as ro for users, rw for root?

2008-12-13 Thread Scott R. Ehrlich
Under CentOS 5.2, is it possible to mount an iscsi filesystem/partition as 
rw for root, but ro for users?

If so, what would be the proper syntax?

Thanks.

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


[CentOS] CentOS Bug Reporting Policy

2008-12-13 Thread Hywel Richards
I'm a little confused about what you are supposed to do when you 
discover a bug with CentOS (and by implication RHEL).

Is there some policy as to what to do and where to report the bug?

It doesn't seem appropriate to report it to http://bugs.centos.org 
because CentOS is kept in-sync with the upstream, so bugs will never get 
fixed in CentOS, only in the upstream distribution.
Unless there is some feedback mechanism from this CentOS bugtracker to 
Redhat that I am unaware of.

So that makes the obvious place to report any bugs 
http://bugzilla.redhat.com, but do they (Redhat) have any opinion on 
people reporting bugs observed on a CentOS distribution there? Do they 
welcome it or do they discourage it? There is certainly no CentOS 
product classification in their bugzilla I can see.

So, in short, is there any CentOS bug reporting policy, and is it 
written down anywhere?

Hywel.

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


Re: [CentOS] mount as ro for users, rw for root?

2008-12-13 Thread Jim Wildman
On Sat, 13 Dec 2008, Scott R. Ehrlich wrote:

> Under CentOS 5.2, is it possible to mount an iscsi filesystem/partition as
> rw for root, but ro for users?
>
> If so, what would be the proper syntax?
>
>

I think it will have to be group/user permissions just like a normal
SCSI drive

--
Jim Wildman, CISSP, RHCE   j...@rossberry.com http://www.rossberry.com
"Society in every state is a blessing, but Government, even in its best
state, is a necessary evil; in its worst state, an intolerable one."
Thomas Paine
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] GNOME + Firefox - Mouse froze - what key combination to revive?

2008-12-13 Thread William L. Maltby

On Sat, 2008-12-13 at 14:06 -0500, Lanny Marcus wrote:
> On Sat, Dec 13, 2008 at 1:31 PM, Kai Schaetzl  wrote:
> > Lanny Marcus wrote on Sat, 13 Dec 2008 13:03:42 -0500:
> >> What key
> >> combination would get me going or to a shell?
> >
> > Probably none. If it doesn't react to CTRL-ALT-DEL it's frozen to death.
> 
> Kai: I tried that and I tried CTRL-F2, when it happened, but neither
> helped. Lanny

Did you try switching to a virtual terminal, e.g. --?

If the box is not totally frozen this should let you work at a command
line. Then you might be able to restart the desktop with a telinit 3 and
telinit 5 combination, look at log files to see if there are any
messages, etc.

> 

-- 
Bill

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


Re: [CentOS] GNOME + Firefox - Mouse froze - what key combination to revive?

2008-12-13 Thread Lanny Marcus
On Sat, Dec 13, 2008 at 3:50 PM, William L. Maltby
 wrote:

> Did you try switching to a virtual terminal, e.g. --?

Bill: I tried CTL-ALT-F2 and I tried CTL-ALT-DEL
>
> If the box is not totally frozen

It was 100% frozen.

> this should let you work at a command
> line. Then you might be able to restart the desktop with a telinit 3 and
> telinit 5 combination, look at log files to see if there are any
> messages, etc.

That hadn't happened for a long time. The next time it happens, I hope
I can remember ALT-SysRq-b to try to reboot the box. Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS Bug Reporting Policy

2008-12-13 Thread Ned Slider
Hywel Richards wrote:
> I'm a little confused about what you are supposed to do when you 
> discover a bug with CentOS (and by implication RHEL).
> 
> Is there some policy as to what to do and where to report the bug?
> 
> It doesn't seem appropriate to report it to http://bugs.centos.org 
> because CentOS is kept in-sync with the upstream, so bugs will never get 
> fixed in CentOS, only in the upstream distribution.
> Unless there is some feedback mechanism from this CentOS bugtracker to 
> Redhat that I am unaware of.
> 
> So that makes the obvious place to report any bugs 
> http://bugzilla.redhat.com, but do they (Redhat) have any opinion on 
> people reporting bugs observed on a CentOS distribution there? Do they 
> welcome it or do they discourage it? There is certainly no CentOS 
> product classification in their bugzilla I can see.
> 
> So, in short, is there any CentOS bug reporting policy, and is it 
> written down anywhere?
> 
> Hywel.
> 

I don't know if there is an official policy, but I report bugs at both 
and cross reference each to the other (unless they obviously only apply 
to one and not the other).

Red Hat does encourage the CentOS community to report bugs against their 
product, and in their "External Bugs" section there is even a selection 
for CentOS to enter the CentOS BugID number. Hence it makes sense to 
file against CentOS first, then file against RH and enter the External 
CentOS BigID number, and finally come back to CentOS and add the RH 
BugID for reference.

I agree it would be useful to have a written policy/guidance (if it 
doesn't already exist) - perhaps this is something we could get added to 
the Wiki.

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


Re: [CentOS] [OT] stable algorithm with complexity O(n)

2008-12-13 Thread Marko Vojinovic

> >> Hi guys,
> >>
> >> i am really sorry for making offtopic, hope you will not kill me, but
> >> this is for me life important problem which needs to be solved within
> >> next 12 hours..
> >>
> >> I have to create stable algorithm for sorting n numbers from interval
> >> [1,n^2] with time complexity O(n) .
> >>
> >> Can someone please give me a hint. Would be very very thankful!
> >
> > Merge sort? Insertion sort? Selection sort? timsort?
> 
> Well, something with linear complexity O(n) which i have to prove,
>
> Merge sort, Insertion sort or selection sort does not have O(n) complexity.
>
> I believe that something like RadixSort, CountingSort, BucketSort
> altought i am not sure

Radix is O(n ln n), so no-go for you. I'm not familiar with other names. 
However, what you need is what is called the "generation counter" algorithm 
(afaik its name).

Basically, count the number of appearances of every number in your set. If you 
have a set a priori bounded from above and below --- which you do,
[1, n^2] --- you first allocate an array of integers of length n^2. Set all 
elements to zero, go through your set that is to be sorted, and whenever you 
find a number k go and increment the k-th element of your generation array. 
You need one for-loop to go through your set, and after that another for loop 
to print the output from the generation set --- go through the whole set from 
1 to n^2, and if the value of k-th element is nonzero, print number k 
appropriate number of times.

For example, if you have the set {1,8,5,3,5,9,6,2,2,4,3,5} and you are told 
that items are always in the interval [1,10], you form a generation set:

 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |   <- labels
 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |   0 |   <- initial values 

and you fill it by counting the number of appearances for every element of 
your set (first for-loop):

 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |   <- labels
 | 1 | 2 | 2 | 1 | 3 | 1 | 0 | 1 | 1 |   0 |   <- final values 

Then you go through it and type each "label", "field value" number of times 
(second for-loop):

{1,2,2,3,3,4,5,5,5,6,8,9}.

The algorithm is basically consisted of two consequent for-loops, which should 
make its complexity O(n), afaik. However, I'll leave the proof to you. ;-)

Btw, it is a well known fact that given a set of n elements and no other 
information, the best algorithm for sorting is going to be at least O(n ln n) 
or worse. However, if you are given some other information about your set 
(like the extrema of its image or some such info), you can in improve the 
sorting speed, O(n) being the linear, best-case scenario. Generation counter 
algorithm is a textbook example of this.

Or you can wait for quantum computers to be invented. They have more
powerful algorithms, due to the use of qubits instead of bits... ;-)

HTH, :-)
Marko

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


Re: [CentOS] CentOS 5.2 running in VMWare 6.5 Firefox failed to connect, but konqueror works well

2008-12-13 Thread Thomas Iverson
On Sat, Dec 13, 2008 at 6:31 PM, Kai Schaetzl  wrote:
> Josef Temminghoff wrote on Sat, 13 Dec 2008 18:47:41 +0100:
>
>> I am running CentOS 5.2 in VMWare 6.5. Firefox doesn't run but Konqurer
>> does.
>
> Does it jump or what? One might assume from the rest that you want to say
> you can't make it display websites or so, but this is just a guess.
> Provide details, please. A sentence like the above is really worthless.
>
> Kai
>
> --
> Kai Schätzl, Berlin, Germany
> Get your web at Conactive Internet Services: http://www.conactive.com
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Check whether ur firefox is working under offline mode

-- 
Keep It Simple Stupid
Thomas X. Iverson
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] secure file not updating

2008-12-13 Thread Mike -- EMAIL IGNORED
Further examination shows numerous log lines that were detected on
Dec 12 by swatch using tail on the secure file but do not presently
appear in the secure file.  However, they do appear in the messages
file.

Mike.

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


Re: [CentOS] [OT] stable algorithm with complexity O(n)

2008-12-13 Thread Jerry Franz


Marko Vojinovic wrote:
[...]
> Basically, count the number of appearances of every number in your set. If 
> you 
> have a set a priori bounded from above and below --- which you do,
> [1, n^2] --- you first allocate an array of integers of length n^2. 

By definition, your proposed algorithm is O(n^2), not O(n).

;)

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


Re: [CentOS] mount as ro for users, rw for root?

2008-12-13 Thread Joseph L. Casale
>Under CentOS 5.2, is it possible to mount an iscsi filesystem/partition as 
>rw for root, but ro for users?

Possibly, but iSCSI is not a file sharing protocol. You can only mount cluster
FS's with multiple ini's or when root changes the FS while another client has
it mounted funny stuff happens such as ro clients not seeing changes etc.

iSCSI is not designed to be used in this fashion.

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