Re: [CentOS-docs] a general suggestion for all of the doc pages

2010-10-10 Thread Ralph Angenendt
Am 07.10.10 14:29, schrieb Robert P. J. Day:
 
   generalizing somewhat from my earlier note about the securing SSH
 page:
 
   http://wiki.centos.org/HowTos/Network/SecuringSSH
 
 i don't know what level of intro a page like that should have but when
 i've presented things like this to classes i've taught, or written
 short online tutorials, the very first thing i document are the
 packages involved.

That probably depends, yes. But openssh-server *and* openssh are
installed on CentOS by default (and enabled by default), so the intro
talking about a default install of openssh is quite right here :)

You would have to jump through several hoops to get a CentOS install
without those two packages.

Ralph

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


Re: [CentOS-docs] suggestion for HOWTO: bonding multiple NICs

2010-10-10 Thread Ralph Angenendt
Am 08.10.10 01:19, schrieb Eduardo Grosclaude:
 On Thu, Oct 7, 2010 at 6:48 PM, Robert P. J. Day rpj...@crashcourse.ca 
 wrote:
  a student in my RHEL admin class this week specifically asked how to
 use multiple NICs to add fault tolerance.  a good question, i thought.
 perhaps adding a short HOWTO on that wouldn't be out of line,
 something like this:
 http://www.how2centos.com/how-to-set-up-network-bonding-with-centos-5x/

Why the F*** does everybody think he has to do his own docs page
instead of working with CentOS to have that documentation in one place?
*SIGH*

  i could even add that as a lab for future classes, where i simply
 add two USB network adapters to the student's machine and make it an
 exercise to set up bonding across them.  just a thought.
 
 http://wiki.centos.org/TipsAndTricks/BondingInterfaces does exist, you
 may want to put it in sync and check for accuracy as it seems to deal
 with CentOS 4 only.

Which would lead to the question: Do you, Robert P. J. Day, want to
update that page to something more current? :)

Regards,

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


Re: [CentOS-docs] update HOWTO page for how to copy ssh pub keys

2010-10-10 Thread Ralph Angenendt
Am 07.10.10 23:55, schrieb Phil Schaffner:
 Robert P. J. Day wrote on 10/07/2010 05:25 PM:
   BTW, i do have a wiki username: RobDay.  i simply don't have edit
 rights.
 
 Perhaps Ralph will now be willing to remedy that.

For which pages exactly (at first)? Sorry, was away for a week, but I
see the rest of the discussion has already happened. :)

Regards,

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


Re: [CentOS-docs] but what if i don't care about centos 4?

2010-10-10 Thread Ralph Angenendt
Am 09.10.10 11:58, schrieb Robert P. J. Day:

   so while i'm more than happy to write/update docs, i won't be
 spending any time whatsoever with centos 4.  so what does one do under
 those circumstances?

a) If there already is a page describing CentOS 4 and CentOS 5 uses a
different approach: Keep the content as is, mark it as This is how to
do it in 4 and then add a And this is how to do it in 5 section.

b) If there is no page describing things for 4, and 5 uses a different
approach: Add documentation for 5 and clearly state on the page, that
this is (probably) only valid on 5.

c) If both use the same approach: Nothing to do there, maybe a short
mention that it can be used on both.

When 6 comes out, the same approach seems to be doable.

Regards,

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


Re: [CentOS-docs] Suggestion for how to section: easy way to install the JDK?

2010-10-10 Thread Ralph Angenendt
Am 09.10.10 01:18, schrieb Milos Blazevic:
 Of course, if we get to it, I'll make sure we discuss it thoroughly on 
 the mailing list before the changes go public.

Sure, MilosBlazevic can now edit that page.

Regards,

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


[CentOS-docs] suggestion for HOWTO: bonding multiple NICs

2010-10-10 Thread R P Herrold
On Sun, 10 Oct 2010, Ralph Angenendt wrote:

 Why the F*** does everybody think he has to do his own 
 docs page instead of working with CentOS to have that 
 documentation in one place? *SIGH*

Probably the same reason that some in CentOS feel a need to 
maintain a local wiki chock full of non-unique restatement of 
matter NOT unique to CentOS, rather than 'upstreaming' 
improvements to flow down to all below

There is ancient precedent from the outside counsel to the 
upstream asserting that they do NOT want 'deep linking' into 
the upstream's content, but ...

http://lists.freshrpms.net/pipermail/freshrpms-list/2005-February/012515.html

particularly:

 Moreover, our client does not allow others to provide links 
 to our client's web site without permission.

http://www.pnaelv.com/letter_body/

-- Russ herrold
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Suggestion for how to section: easy way to install the JDK?

2010-10-10 Thread Milos Blazevic
Ralph Angenendt wrote:
 Am 09.10.10 01:18, schrieb Milos Blazevic:
   
 Of course, if we get to it, I'll make sure we discuss it thoroughly on 
 the mailing list before the changes go public.
 

 Sure, MilosBlazevic can now edit that page.

 Regards,

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

   
Thanks, I'll come back shortly with my suggestion for page changes.

-- 
*Srdacan pozdrav,*
*Milos Blazevic*

Cert. No: 805010564450148
Email: milos.blaze...@sbb.rs mailto:milos.blaze...@sbb.rs
Tel: 064/301 45 78
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS] Xen3.3 rpm for 32Bit?

2010-10-10 Thread mattias
Try
Yum install xen

-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
Behalf Of Dirk H. Schulz
Sent: Saturday, October 09, 2010 2:16 PM
To: centos@centos.org
Subject: [CentOS] Xen3.3 rpm for 32Bit?


  Hi folks,

I would like to test Xen3.3 on CentOS 5.5 on an older machine which is 
not 64bit capable.

Since this is just a first impression test I do not want to fuzz with 
compiling the kernels and tools myself (that comes in a later step).

Can someone please point me to a repo with 32bit Xen3.3 kernels for 
CentOS 5? GITCO supplies 64bit kernels only, and googling brought up 
nothing else.

Thanks for any hint or help.

Dirk
___
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] Qemu network slow

2010-10-10 Thread mattias
just me who have slow network with qemu without hardware virtualization


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


Re: [CentOS] OT: linux desktop market share more than 1%

2010-10-10 Thread Christopher Chan
Les Mikesell wrote:
 On 10/9/10 2:41 PM, John Hinton wrote:
 Aside from this, Microsoft seems to love to make changes that break
 other vendor's software. I can't imagine the frustrations they must feel
 living in this world. WordPerfect, Adobe and just about everyone has had
 problems due to some 'upgrade' that broke something in their software.
 
 And how would you compare this to, say, the linux kernel regularly breaking 
 every driver module that isn't distributed in source?
 

Go OpenSolaris then. Also OpenOffice and maybe LibreOffice can open docx 
files...not sure about those from MSO 2010 though...

So let's pitch in behind the OpenSolaris Desktop and enjoy binary 
drivers with an open source kernel/userland environment and upgrade to 
complaining only about GTK/GNOME and KDE and lack of good desktop 
applications.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: linux desktop market share more than 1%

2010-10-10 Thread Ben McGinnes
On 10/10/10 10:16 PM, Christopher Chan wrote:
 
 Go OpenSolaris then. Also OpenOffice and maybe LibreOffice can open docx 
 files...not sure about those from MSO 2010 though...

Except OpenSolaris has already been killed by Oracle.  There is a fork
called Illumos, though.


Regards,
Ben



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: linux desktop market share more than 1%

2010-10-10 Thread Christopher Chan
Ben McGinnes wrote:
 On 10/10/10 10:16 PM, Christopher Chan wrote:
 Go OpenSolaris then. Also OpenOffice and maybe LibreOffice can open docx 
 files...not sure about those from MSO 2010 though...
 
 Except OpenSolaris has already been killed by Oracle.  There is a fork
 called Illumos, though.
 

/me shrugs. Yeah, maybe I better start saying Illumos and yelling use 
OpenIndiana, a distro which uses Illumos. Sun is so dead.

If you want a desktop os without binary driver issues, this is it. 
Although I'd say a fair few use it for other purposes. If you have 
analog Thrustmaster FLCS, TQS, RCS gear and MIDI keyboards, just endure 
Linux for the time being. :-p
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: linux desktop market share more than 1%

2010-10-10 Thread Ben McGinnes
On 10/10/10 11:31 PM, Christopher Chan wrote:
 
 /me shrugs. Yeah, maybe I better start saying Illumos and yelling use 
 OpenIndiana, a distro which uses Illumos.

It'll only be an option for x86/x86-64 and with the move to using
Fujitsu UltraSPARC chips that contain patented technology which can only
be addressed using binary modules in the Solaris kernel.  OpenBSD has
already run into that wall and Theo was told where to go in no uncertain
terms.

 Sun is so dead.

I guess that makes Oracle a necrophiliac.

 If you want a desktop os without binary driver issues, this is it. 
 Although I'd say a fair few use it for other purposes. If you have 
 analog Thrustmaster FLCS, TQS, RCS gear and MIDI keyboards, just endure 
 Linux for the time being. :-p

Poke at these things long enough and you realise that *all* software
sucks, some just sucks less than others.  ;)


Regards,
Ben



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] should i (theoretically) be able to boot a git cloned kernel on 5.5?

2010-10-10 Thread Robert P. J. Day

  toward the end of a class on friday, just for fun, i showed the
students how to install git, clone the latest kernel source, and build
and install a new kernel.  since it was getting close to end of day, i
wanted to keep it simple and directed them to just make defconfig to
see what would happen.

  the configuration and build of the kernel and modules worked fine,
they installed the kernel and modules, then rebooted but the new
kernel panicked almost immediately, apparently whining that it
couldn't mount the root filesystem.  since they were all running
LVM-based systems, i assumed that perhaps we needed to explicitly add
LVM support during the config step.

  i'd still like to be able to build and boot a new kernel on an
updated centos box so, later today, i'm going to reinstall 5.5 on a
system without LVM (just define some fixed filesystems) to see if that
makes a difference.

  has anyone done this?  should i be able to?  to recap, all i want to
do on a fully-updated centos 5.5 box is

  * install the development tools
  * install git
  * clone the latest kernel repo
  * make defconfig
  * make
  * install new kernel and modules
  * reboot to new kernel

  i'm willing to accept that it won't be a perfect kernel and perhaps
some drivers will be missing, but at the very least, it should boot
without panicking.

  again, anyone else done this?  should it work?  i'll try this later
today as soon as i have access to my test system again.

rday

-- 


Robert P. J. Day   Waterloo, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday

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


Re: [CentOS] should i (theoretically) be able to boot a git cloned kernel on 5.5?

2010-10-10 Thread Akemi Yagi
On Sun, Oct 10, 2010 at 7:49 AM, Robert P. J. Day rpj...@crashcourse.ca wrote:

  toward the end of a class on friday, just for fun, i showed the
 students how to install git, clone the latest kernel source, and build
 and install a new kernel.  since it was getting close to end of day, i
 wanted to keep it simple and directed them to just make defconfig to
 see what would happen.

  the configuration and build of the kernel and modules worked fine,
 they installed the kernel and modules, then rebooted but the new
 kernel panicked almost immediately, apparently whining that it
 couldn't mount the root filesystem.  since they were all running
 LVM-based systems, i assumed that perhaps we needed to explicitly add
 LVM support during the config step.
(snip)
  again, anyone else done this?  should it work?  i'll try this later
 today as soon as i have access to my test system again.

You can find the answer here :-)

http://blog.toracat.org/2010/03/want-a-custom-kernel-on-centos-noo-really/

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


Re: [CentOS] should i (theoretically) be able to boot a git cloned kernel on 5.5?

2010-10-10 Thread Robert P. J. Day
On Sun, 10 Oct 2010, Akemi Yagi wrote:

 You can find the answer here :-)

 http://blog.toracat.org/2010/03/want-a-custom-kernel-on-centos-noo-really/

  that's it?  enabling deprecated sysfs?  cool, i'll check that later
and report back, thanks.

rday

-- 


Robert P. J. Day   Waterloo, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday

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


[CentOS] CentOS-announce Digest, Vol 68, Issue 4

2010-10-10 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
centos-annou...@centos.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-requ...@centos.org

You can reach the person managing the list at
centos-announce-ow...@centos.org

When replying, please edit your Subject line so it is more specific
than Re: Contents of CentOS-announce digest...


Today's Topics:

   1. CESA-2010:0754 Important CentOS 3 i386 cups - security update
  (Tru Huynh)
   2. CESA-2010:0754 Important CentOS 3 x86_64 cups -   security
  update (Tru Huynh)
   3. CESA-2010:0750 Important CentOS 3 i386 xpdf - security update
  (Tru Huynh)
   4. CESA-2010:0750 Important CentOS 3 x86_64 xpdf -   security
  update (Tru Huynh)
   5. CESA-2010:0751 Important CentOS 4 i386 xpdf - security update
  (Tru Huynh)
   6. CESA-2010:0751 Important CentOS 4 x86_64 xpdf -   security
  update (Tru Huynh)
   7. CESA-2010:0752 Important CentOS 4 i386 gpdf - security update
  (Tru Huynh)
   8. CESA-2010:0752 Important CentOS 4 x86_64 gpdf -   security
  update (Tru Huynh)
   9. CESA-2010:0755 Important CentOS 4 i386 cups - security update
  (Tru Huynh)
  10. CESA-2010:0755 Important CentOS 4 x86_64 cups -   security
  update (Tru Huynh)
  11. CESA-2010:0753 Important CentOS 4 i386 kdegraphics - security
  update (Tru Huynh)
  12. CESA-2010:0753 Important CentOS 4 x86_64 kdegraphics -
  security update (Tru Huynh)


--

Message: 1
Date: Sun, 10 Oct 2010 00:00:58 +0200
From: Tru Huynh t...@centos.org
Subject: [CentOS-announce] CESA-2010:0754 Important CentOS 3 i386 cups
-   security update
To: centos-annou...@centos.org
Message-ID: 20101009220058.gk23...@sillage.bis.pasteur.fr
Content-Type: text/plain; charset=us-ascii

CentOS Errata and Security Advisory CESA-2010:0754

cups security update for CentOS 3 i386:
https://rhn.redhat.com/errata/RHSA-2010-0754.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

i386:
updates/i386/RPMS/cups-1.1.17-13.3.70.i386.rpm
updates/i386/RPMS/cups-devel-1.1.17-13.3.70.i386.rpm
updates/i386/RPMS/cups-libs-1.1.17-13.3.70.i386.rpm

source:
updates/SRPMS/cups-1.1.17-13.3.70.src.rpm

You may update your CentOS-3 i386 installations by running the command:

yum update cups

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20101010/9f439202/attachment-0001.bin
 

--

Message: 2
Date: Sun, 10 Oct 2010 00:04:30 +0200
From: Tru Huynh t...@centos.org
Subject: [CentOS-announce] CESA-2010:0754 Important CentOS 3 x86_64
cups -  security update
To: centos-annou...@centos.org
Message-ID: 20101009220430.gl23...@sillage.bis.pasteur.fr
Content-Type: text/plain; charset=us-ascii

CentOS Errata and Security Advisory CESA-2010:0754

cups security update for CentOS 3 x86_64:
https://rhn.redhat.com/errata/RHSA-2010-0754.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

x86_64:
updates/x86_64/RPMS/cups-1.1.17-13.3.70.x86_64.rpm
updates/x86_64/RPMS/cups-devel-1.1.17-13.3.70.x86_64.rpm
updates/x86_64/RPMS/cups-libs-1.1.17-13.3.70.i386.rpm
updates/x86_64/RPMS/cups-libs-1.1.17-13.3.70.x86_64.rpm

source:
updates/SRPMS/cups-1.1.17-13.3.70.src.rpm

You may update your CentOS-3 x86_64 installations by running the command:

yum update cups

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20101010/de1c6a7c/attachment-0001.bin
 

--

Message: 3
Date: Sun, 10 Oct 2010 00:05:05 +0200
From: Tru Huynh t...@centos.org
Subject: [CentOS-announce] CESA-2010:0750 Important CentOS 3 i386 xpdf
-   security update
To: centos-annou...@centos.org
Message-ID: 20101009220505.gm23...@sillage.bis.pasteur.fr
Content-Type: text/plain; charset=us-ascii

CentOS Errata and Security Advisory CESA-2010:0750

xpdf security update for CentOS 3 i386:
https://rhn.redhat.com/errata/RHSA-2010-0750.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

i386:
updates/i386/RPMS/xpdf-2.02-19.el3.i386.rpm

source:
updates/SRPMS/xpdf-2.02-19.el3.src.rpm

[CentOS] *** OFF LIST *** Was: Re: should i (theoretically) be able to boot a git cloned kernel on 5.5?

2010-10-10 Thread Ned Slider
On 10/10/10 16:09, Akemi Yagi wrote:

 You can find the answer here :-)

 http://blog.toracat.org/2010/03/want-a-custom-kernel-on-centos-noo-really/

 Akemi


Quoted from the above link:

As always, Alan and Ned engaged their brains and we tried several things 
to find a solution. We were not going anywhere when vanecka posted a fix 
in this forum thread.

Just thought I'd mention, although not grammatically incorrect, the 
phrase is going nowhere, as in We were going nowhere when vanecka 
posted a fix in this forum thread.

Made me smile, but we all understand exactly what you mean :-)

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


Re: [CentOS] *** OFF LIST *** Was: Re: should i (theoretically) be able to boot a git cloned kernel on 5.5?

2010-10-10 Thread Ned Slider
On 10/10/10 17:05, Ned Slider wrote:
 On 10/10/10 16:09, Akemi Yagi wrote:

 You can find the answer here :-)

 http://blog.toracat.org/2010/03/want-a-custom-kernel-on-centos-noo-really/

 Akemi


 Quoted from the above link:

 As always, Alan and Ned engaged their brains and we tried several things
 to find a solution. We were not going anywhere when vanecka posted a fix
 in this forum thread.

 Just thought I'd mention, although not grammatically incorrect, the
 phrase is going nowhere, as in We were going nowhere when vanecka
 posted a fix in this forum thread.

 Made me smile, but we all understand exactly what you mean :-)


Apologies - that was obviously intended to be off list :-)


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


Re: [CentOS] *** OFF LIST *** Was: Re: should i (theoretically) be able to boot a git cloned kernel on 5.5?

2010-10-10 Thread Akemi Yagi
On Sun, Oct 10, 2010 at 9:31 AM, Ned Slider n...@unixmail.co.uk wrote:
 On 10/10/10 17:05, Ned Slider wrote:
 On 10/10/10 16:09, Akemi Yagi wrote:

 http://blog.toracat.org/2010/03/want-a-custom-kernel-on-centos-noo-really/

 Just thought I'd mention, although not grammatically incorrect, the
 phrase is going nowhere, as in We were going nowhere when vanecka
 posted a fix in this forum thread.

 Made me smile, but we all understand exactly what you mean :-)

 Apologies - that was obviously intended to be off list :-)

Corrections always appreciated.

What really amazed me is the fact you had not seen/decipher that blog
for 7 months since I posted it back in March :-P

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


Re: [CentOS] *** OFF LIST *** Was: Re: should i (theoretically) be able to boot a git cloned kernel on 5.5?

2010-10-10 Thread Scott Robbins
On Sun, Oct 10, 2010 at 05:05:35PM +0100, Ned Slider wrote:
 On 10/10/10 16:09, Akemi Yagi wrote:
 
 As always, Alan and Ned engaged their brains and we tried several things 
 to find a solution. We were not going anywhere when vanecka posted a fix 
 in this forum thread.
 
 Just thought I'd mention, although not grammatically incorrect, the 
 phrase is going nowhere, as in We were going nowhere when vanecka 
 posted a fix in this forum thread.

To continue off topic, I'd say that's debatable on this side of the
Atlantic, though getting anywhere is probably more common.


 
 Made me smile, but we all understand exactly what you mean :-)

You guys spell funny too, though I like that rock band from your
country, the Roulling Stounes.  (Yeah, I know I've used that joke
privately, but what the heck, let me share my idiocy with the list.)

-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Kendra: I call it Mr. Pointy.
Buffy: You named your stake?
Kendra: Yes.
Buffy: Remind me to get you a stuffed animal.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] should i (theoretically) be able to boot a git cloned kernel on 5.5?

2010-10-10 Thread Robert P. J. Day
On Sun, 10 Oct 2010, Akemi Yagi wrote:

 You can find the answer here :-)

 http://blog.toracat.org/2010/03/want-a-custom-kernel-on-centos-noo-really/

 Akemi

  and that did it, thanks.  so now i'm curious -- do you know what
specifically requires the deprecated sysfs format during boot?  i
followed your blog links and i didn't immediately see an explanation
for *why* that fixed it.  again, thanks.

rday

p.s.  there were, unsurprisingly, a number of startup script failures
but that's something i can handle later.

-- 


Robert P. J. Day   Waterloo, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday

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


Re: [CentOS] RHEL 6 potential release date???

2010-10-10 Thread BeartoothHOS
On Fri, 17 Sep 2010 17:51:39 -0500, John R. Dennison wrote:
[]
Redhat does not discuss release dates []

Well, the beta is up :

http://www.redhat.com/rhel/beta/

so the corporate experience on this list may be able now to make an 
educated guess (still an unofficial guess, of course, about the most 
likely length of time till the first full release a/o that of CentOS 6 -- 
but still of some use to those of us waiting eagerly ...].
-- 
Beartooth Staffwright, Neo-Redneck Not Quite Clueless Power User
I have precious (very precious!) little idea where up is.


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


Re: [CentOS] RHEL 6 potential release date???

2010-10-10 Thread Robert P. J. Day
On Sun, 10 Oct 2010, BeartoothHOS wrote:

 On Fri, 17 Sep 2010 17:51:39 -0500, John R. Dennison wrote:
   []
 Redhat does not discuss release dates []

   Well, the beta is up :

 http://www.redhat.com/rhel/beta/

  that is already the *second* beta of RHEL 6, so it's not really
news.

rday

-- 


Robert P. J. Day   Waterloo, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday

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


Re: [CentOS] RHEL 6 potential release date???

2010-10-10 Thread John R. Dennison
On Sun, Oct 10, 2010 at 07:08:30PM +, BeartoothHOS wrote:

   Well, the beta is up :
 
 http://www.redhat.com/rhel/beta/

It's been up for many months; in fact this is the second beta
cut.

 so the corporate experience on this list may be able now to make an 
 educated guess (still an unofficial guess, of course, about the most 

I can guess that the sun will rise in the west tomorrow also,
doesn't mean that it's worthwhile to do so.

 likely length of time till the first full release a/o that of CentOS 6 -- 
 but still of some use to those of us waiting eagerly ...].

No, it's not.  Betas do not have a time-line.

Red Hat does not publicly discuss release dates.  Red Hat does
not privately discuss release dates, either.

Anything that anyone publishes that may reference a release date
is nothing but pure conjecture on their part up to the time that
Red Hat makes their official release announcement; as such
playing guessing games as to potential release dates is pretty
pointless.

As previously stated: It will be released when it's released
and not a moment before.




John
-- 
As Americans we must always remember that we all have a common enemy, an
enemy that is dangerous, powerful and relentless.  I refer, of course, to
the federal government.

-- Dave Barry (3 July 1947-), Pulitzer Prize-winning American author and
   columnist, Knight Ridder syndicate, New York Daily News, 12 December
   2004


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


[CentOS] recommended way to install source rpms?

2010-10-10 Thread Robert P. J. Day

  yes, i've read the online docs and followed a link or two to find a
simple way to do this, such as:

http://sourceware.org/systemtap/wiki/SystemTapOnCentOS

so, these days, is that the canonical way to download source rpms?
now, note that i'm not arguing about whether this is a good idea.  in
my circumstances, i want the ability to just yum download source
rpms so that i can have my students poke around in a source rpm and
learn how to build one, nothing more.

  so, is that reasonable?  to just manually add an extra repo file
according to that link above (which appears to work perfectly well).
frankly, the wiki page on downloading from source:

http://wiki.centos.org/PackageManagement/SourceInstalls

seems just a touch on the hysterical side.  i don't disagree that
installing packages from the source rpm is probably a questionable
idea.  but that doesn't justify simply not explaining how to do it
easily.

  my plan is to install yum-utils to get yumdownloader, add the repo
file suggested above, then have students:

  $ yumdownloader --source package

so they can examine the source of some packages.  is the approach i'm
suggesting reasonable?  thanks.

rday

-- 


Robert P. J. Day   Waterloo, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday

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


[CentOS] recommended way to install source rpms?

2010-10-10 Thread R P Herrold
On Sun, 10 Oct 2010, Robert P. J. Day wrote:

 so, these days, is that the canonical way to download source rpms?

I am substantially certain we have a wiki article on 
mirroring, and certainly I've written about mirroring over and 
over again from many approaches [my most recent blog post, 
aggregated by http://planet.centos.org/ has a recap at the 
bottom of some of those articles].  wget, lftp, and lynx all 
work fine.  Of course RPM itself is a fine retrieval tool as 
well and has been __forever__

  so, is that reasonable?  to just manually add an extra repo file
 according to that link above (which appears to work perfectly well).

It is reasonable only if the user also has the willingness and 
skills to self-support.  We don't (and cannot) support what we 
dont ship

 frankly, the wiki page on downloading from source:

 http://wiki.centos.org/PackageManagement/SourceInstalls

 seems just a touch on the hysterical side.  i don't disagree that
 installing packages from the source rpm is probably a questionable
 idea.  but that doesn't justify simply not explaining how to do it
 easily.

Here is a gun, and bullets.  Leave it unloaded and in a 
locked case   and it is perfectly harmless

Add another random 'find' and 'great tip to stop RPM from 
carping about dependencies'with the --nodeps, and BANG, your 
system is dead.  It is all CentOS and RPM's fault, of course - 
dependency hell, don't you know

Yeah -- I know where I am going to send support load, going 
forward, who is not so hysterical

WHAT? you don't want to handle that load RIGHT NOT and for 
FREE, and on a newbies mis- and partial-information?   hunh

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


[CentOS] recommended way to install source rpms?

2010-10-10 Thread R P Herrold
On Sun, 10 Oct 2010, R P Herrold wrote:

 WHAT? you don't want to handle that load RIGHT NOT and for

   s/OT/OW/

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


Re: [CentOS] recommended way to install source rpms?

2010-10-10 Thread Frank Cox

On Sun, 2010-10-10 at 17:56 -0400, Robert P. J. Day wrote:
   so, is that reasonable?  to just manually add an extra repo file
 according to that link above (which appears to work perfectly well).

In my opinion, in most cases there is no particularly good reason to
bother compiling a source rpm yourself unless it's something that's not
already in a repository.

If what you need is not in one of the repositories, then my next step is
to either download a src.rpm from somewhere else (fedora, etc.) and see
what it takes to compile that, or download the tar archive and see if I
can find a .spec file somewhere that does something close to what I'm
trying to accomplish.  Sometimes there is an old version or a MDK source
rpm that contains a .spec file that will provide a starting point.  If
not, then if it's not a really complex install you can just copy a spec
file from another not really complex rpm and use that for a framework.

 frankly, the wiki page on downloading from source:
 
 http://wiki.centos.org/PackageManagement/SourceInstalls
 
 seems just a touch on the hysterical side. 

Sounds like pretty good advice to me.  I try really hard to install
stuff through rpm's.  The only exception is with single-executable
programs that can just be tossed into /usr/local/bin or ~/bin or
whatever; those are generally programs that I have written myself or
little utilities downloaded from here and there.

If it's a single-executable program without a bunch of support files and
whatnot, and if I'm planning to install it on only one or two computers,
then it's probably not worth the effort to create a rpm for it.
Anything else, is.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

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


Re: [CentOS] recommended way to install source rpms?

2010-10-10 Thread JohnS

On Sun, 2010-10-10 at 17:56 -0400, Robert P. J. Day wrote:

 so they can examine the source of some packages.  is the approach i'm
 suggesting reasonable?  thanks.
 
 rday
---
All on Debian ?

John

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


Re: [CentOS] recommended way to install source rpms?

2010-10-10 Thread John R. Dennison
On Sun, Oct 10, 2010 at 05:56:47PM -0400, Robert P. J. Day wrote:
 
   my plan is to install yum-utils to get yumdownloader, add the repo
 file suggested above, then have students:

Are these students paying for whatever training you are
supplying?




John

-- 
The price we pay for money is paid in liberty.

-- Robert Louis Stevenson (1850-1894), novelist, essayist, and poet


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


Re: [CentOS] recommended way to install source rpms?

2010-10-10 Thread Robert P. J. Day
On Sun, 10 Oct 2010, Frank Cox wrote:

 On Sun, 2010-10-10 at 17:56 -0400, Robert P. J. Day wrote:
so, is that reasonable?  to just manually add an extra repo file
  according to that link above (which appears to work perfectly
  well).

 In my opinion, in most cases there is no particularly good reason to
 bother compiling a source rpm yourself unless it's something that's
 not already in a repository.

  but no one is suggesting that you always want to *compile* a source
rpm.  perhaps you just want to examine the source, or do a prep, or
something.

  more to the point, it's a little disturbing that the general
attitude here seems to be one of, we don't think you should be doing
something, so we're not going to tell you how to do it.  and some
people here wonder why others might want to write their own online
centos howtos rather than contribute to centos.org?  geez, feel free
to stop wondering.

  if it makes it easier, perhaps that wiki page could be retitled
something more general, such as working with source rpms.  then it
could cover simple repo setup and downloading and, with a suitable
warning, also cover building.  but it's a little high-handed to not
explain how to do something because you've decided it's not something
you want *others* to know.

rday

-- 


Robert P. J. Day   Waterloo, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday

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


Re: [CentOS] recommended way to install source rpms?

2010-10-10 Thread Robert P. J. Day
On Sun, 10 Oct 2010, John R. Dennison wrote:

 On Sun, Oct 10, 2010 at 05:56:47PM -0400, Robert P. J. Day wrote:
 
my plan is to install yum-utils to get yumdownloader, add the repo
  file suggested above, then have students:

   Are these students paying for whatever training you are
   supplying?

  and on that patronizing, condescending note, this list has pretty
much outlived its usefulness.

rday

-- 


Robert P. J. Day   Waterloo, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday

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


Re: [CentOS] recommended way to install source rpms?

2010-10-10 Thread Frank Cox

On Sun, 2010-10-10 at 18:58 -0400, Robert P. J. Day wrote:
 but it's a little high-handed to not
 explain how to do something because you've decided it's not something
 you want *others* to know.

There is very little to explain, if all you want to do is examine the
source.

Install rpmdevtools.  Run rpmdev-setuptree

Pick your favourite mirror.  Navigate to the src directory that you're
interested in, download the src.rpm

rpm -i whatever.src.rpm

Your rpm contents are now in ~/rpmbuild.  Examine away.  The spec is in
~/rpmbuild/SPECS, the source code is in ~/rpmbuild/SOURCES

Compile it with rpmbuild -ba whatever.spec.  Your binary will be in
~/rpmbuild/RPMS and the new src.rpm is in ~/rpmbuild/SRPMS.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

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


Re: [CentOS] recommended way to install source rpms?

2010-10-10 Thread ken
Before yum and when I used to have time for it, I compiled from source
everything on my machine.  It wasn't that big of a deal.  Just took some
time.  The pay-off was significant in performance and speed... reason
being that, if you configure gcc for your particular cpu, the code is
able to take advantage of the hard-wired instruction set particular to
your cpu which don't exist in the generic cpu the repo binaries are
compiled for.

IIRC, just to get the source code out of an rpm you could download the
source rpm and simply do

rpm -i /path/to/package.src.rpm

or in one step do

rpm -i ftp://path/to/package.src.rpm


Alternatively, you could also check out Slackware.  The last time I
looked at it (several years ago) it didn't use rpm or apt or any package
management system at all, just tgz files.  This is what Linux used to be
before there was a redhat... and it's generally how code files are
handled in development before they become rpms... or whatever.

Source code shouldn't scare anyone.  It's interesting stuff and
harmless... just text files, after all.  If your students are going to
hack around with it and compile it (which I would hope they would do),
then of course you'll want to take appropriate measures.

More people should be doing this kind of stuff.  The world needs more
open source developers.  Looking at existing code is a great tool for
learning.

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


Re: [CentOS] recommended way to install source rpms?

2010-10-10 Thread JohnS

On Sun, 2010-10-10 at 17:36 -0600, Frank Cox wrote:
 On Sun, 2010-10-10 at 18:58 -0400, Robert P. J. Day wrote:
  but it's a little high-handed to not
  explain how to do something because you've decided it's not something
  you want *others* to know.
 
 There is very little to explain, if all you want to do is examine the
 source.
 
 Install rpmdevtools.  Run rpmdev-setuptree

Really?

]$ yum search rpmdevtools
Loaded plugins: fastestmirror
addons   |  951 B
00:00 
base | 2.1 kB
00:00 
extras   | 2.1 kB
00:00 
updates  | 1.9 kB
00:00 
Excluding Packages in global exclude list
Finished
Warning: No matches found for: rpmdevtools
No Matches found

John

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


Re: [CentOS] recommended way to install source rpms?

2010-10-10 Thread Shaun Jones
On Sun, Oct 10, 2010 at 8:23 PM, JohnS jse...@gmail.com wrote:


 On Sun, 2010-10-10 at 17:36 -0600, Frank Cox wrote:
  On Sun, 2010-10-10 at 18:58 -0400, Robert P. J. Day wrote:
   but it's a little high-handed to not
   explain how to do something because you've decided it's not something
   you want *others* to know.
 
  There is very little to explain, if all you want to do is examine the
  source.
 
  Install rpmdevtools.  Run rpmdev-setuptree
 
 Really?

 ]$ yum search rpmdevtools
 Loaded plugins: fastestmirror
 addons   |  951 B
 00:00
 base | 2.1 kB
 00:00
 extras   | 2.1 kB
 00:00
 updates  | 1.9 kB
 00:00
 Excluding Packages in global exclude list
 Finished
 Warning: No matches found for: rpmdevtools
 No Matches found

 John

 ___
 rpmdevtools is in the epel repo so if you dont have epel installed and
 setup you wont see it with a yum search




-- 
Shaun

http://lostonsvault.org

twitter - http://twitter.com/lostson

identi - http://identi.ca/lostson
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] recommended way to install source rpms?

2010-10-10 Thread Larry Brower
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Shaun Jones wrote:
 On Sun, Oct 10, 2010 at 8:23 PM, JohnS jse...@gmail.com wrote:
 

 Warning: No matches found for: rpmdevtools
 No Matches found

 John



Rpmdevtools for CentOS is available from EPEL.


http://wiki.centos.org/AdditionalResources/Repositories

http://fedoraproject.org/wiki/EPEL

http://fedoraproject.org/wiki/Rpmdevtools

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJMsmnWAAoJEPXCUD/44PWqSWAP/igLh9I3KtMotN2k56b7rjGq
noDp55170eMWx+fN1geYeRNskahRiLFZfAnG3d7Zid4mSpiHvgK3HyIxxkdpIPo0
FI96h8qgDDkbYofpe2HCXHICyn7ei9p9nwJ5WrINbjHJSytfFQZBGve57KiNzLVJ
zZXW05Nq5JpAHQAQ365EwHpsgiTga7PVdPfVv6NhgI3OliaJfvL1pc6VzPqJpq3w
xI+h4UcWOJbipwrC5AK7GPMbLhHQl+T5uKl1OQAvJ3GIh3FEMuRsxKE9mg9opMY9
d9LOEwWbbsoExa3qBRU9vQoNQjP6HbJsQpNYiTxlir81u3vPfqbxc78RK5iySjlj
ctaq15uZ/JSLAb2jTXk4yu8QovFX4jTrigGrD0gdx/itWOccywgcAXqQCB5QJMJZ
jAoDHvoIcRe4xgRr7dtqVxxGY25mcY+vC76Q9r1cUIAm8A4qTXxS0B2TLLQq/sfb
Fg2avvsV4dw7ATezcFOL7Y08pwKgCip+evHzLfvpJ0YOZA6bAc2UCMKsUjbdGuXb
qCJ513s73JzbdX6GpXnVW0ET7lraTqXCoaD+XvfRPHAx9I16b4RO3d8q91oXyW67
4U0h2aivWqP81FjzzsGXdE7/f9qcFKXdZKHIzULaDEUegfEHBMXzuMQndAma/RXw
mjns7pyjFLZLqb+X3ZTg
=ZjtA
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] recommended way to install source rpms?

2010-10-10 Thread R P Herrold
On Sun, 10 Oct 2010, JohnS wrote:

 On Sun, 2010-10-10 at 17:36 -0600, Frank Cox wrote:

 There is very little to explain, if all you want to do is examine the
 source.

 Install rpmdevtools.  Run rpmdev-setuptree

 Warning: No matches found for: rpmdevtools
 No Matches found

As I recall, rpmdevtools is a Fedora-ism

The actions in question set up a local %{_topdir} and then the 
RPMS, SOURCES, SPECS and so forth directories for a local user

[r...@trap64 log]# su - herrold
[herr...@trap64 ~]$ cat .rpmmacros
%_topdir  /home/herrold/rpmbuild
%make   make
%dist   orc
%releasetagsuffix   orc
%vendor %{dist}
#
 [herr...@trap64 ~]$ ls -l ~/rpmbuild/
total 40
drwxrwxr-x 8 herrold herrold 4096 Oct 10 21:12 BUILD
drwxrwxr-x 4 herrold herrold 4096 Oct  4 16:53 RPMS
drwxrwxr-x 3 herrold herrold 4096 Oct 10 21:12 SOURCES
drwxrwxr-x 2 herrold herrold 4096 Oct 10 21:12 SPECS
drwxrwxr-x 2 herrold herrold 4096 Oct 10 21:12 SRPMS
[herr...@trap64 ~]$

I think at one point the referenced package had a copy of a 
little script I've long since published at:
ftp://ftp.owlriver.com/pub/local/COLUG/RPM-build-tree.txt
itself based on a post on the mailing list rpm-list

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


Re: [CentOS] recommended way to install source rpms?

2010-10-10 Thread JohnS

On Sun, 2010-10-10 at 21:35 -0400, R P Herrold wrote:
 On Sun, 10 Oct 2010, JohnS wrote:
 
  On Sun, 2010-10-10 at 17:36 -0600, Frank Cox wrote:
 
  There is very little to explain, if all you want to do is examine the
  source.
 
  Install rpmdevtools.  Run rpmdev-setuptree
 
  Warning: No matches found for: rpmdevtools
  No Matches found
 
 As I recall, rpmdevtools is a Fedora-ism

 The actions in question set up a local %{_topdir} and then the 
 RPMS, SOURCES, SPECS and so forth directories for a local user
 
 [r...@trap64 log]# su - herrold
 [herr...@trap64 ~]$ cat .rpmmacros
 %_topdir  /home/herrold/rpmbuild
 %make   make
 %dist   orc
 %releasetagsuffix   orc
 %vendor %{dist}
 #
  [herr...@trap64 ~]$ ls -l ~/rpmbuild/
 total 40
 drwxrwxr-x 8 herrold herrold 4096 Oct 10 21:12 BUILD
 drwxrwxr-x 4 herrold herrold 4096 Oct  4 16:53 RPMS
 drwxrwxr-x 3 herrold herrold 4096 Oct 10 21:12 SOURCES
 drwxrwxr-x 2 herrold herrold 4096 Oct 10 21:12 SPECS
 drwxrwxr-x 2 herrold herrold 4096 Oct 10 21:12 SRPMS
 [herr...@trap64 ~]$
 RPM-build-tree.txt
 I think at one point the referenced package had a copy of a 
 little script I've long since published at:
   ftp://ftp.owlriver.com/pub/local/COLUG/RPM-build-tree.txt


 itself based on a post on the mailing list rpm-list
 
 -- Russ herrold

:-)   Well I knew where it was,  it's just not in the distro. (fedorism)
He would yet be stuck installing another repo for the people.  Would be
easier to use your Russ RPM-build-tree.txt script for him to do it.  I
like this option also added to it %_tmppath /foo/hoo 

John

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


Re: [CentOS] ldif invalid per syntax

2010-10-10 Thread Tim Dunphy
someone reminded me that i was missing the posix account information I
needed i LDAP.

I have added the corresponding posix accounts in LDAP I wish to use:


12 uid=bluethundr,ou=summitnjops,ou=staff,dc=summitnjhome,dc=com
ou: summitnjops
ou: staff
cn: Tim
objectClass: top
objectClass: organizationalUnit
objectClass: posixAccount
uid: bluethundr
uidNumber: 1001
gidNumber: 1002
homeDirectory: /home/bluethundr
userPassword: secret
gecos: Tim


13 cn=root,ou=staff,dc=summitnjhome,dc=com
ou: staff
cn: Enoch Root
cn: Root, Enoch
cn: root
objectClass: top
objectClass: organizationalUnit
objectClass: posixAccount
uid: root
uidNumber: 1
gidNumber: 1
homeDirectory: /root
userPassword: secret
gecos: Enoch Root


So tho anon search can work this more specific one used in ldap.conf
can in fact find the entries:


ldapsearch -x -h ldap -D
cn=pam_ldap,ou=Services,dc=summitnjhome,dc=com -w secret -b
dc=summitnjhome,dc=com

# bluethundr, summitnjops, staff, summitnjhome.com
dn: uid=bluethundr,ou=summitnjops,ou=staff,dc=summitnjhome,dc=com
ou: summitnjops
ou: staff
cn: Tim
objectClass: top
objectClass: organizationalUnit
objectClass: posixAccount
uid: bluethundr
uidNumber: 1001
gidNumber: 1002
homeDirectory: /home/bluethundr
gecos: Tim

# root, staff, summitnjhome.com
dn: cn=root,ou=staff,dc=summitnjhome,dc=com
ou: staff
cn: Enoch Root
cn: Root, Enoch
cn: root
objectClass: top
objectClass: organizationalUnit
objectClass: posixAccount
uid: root
uidNumber: 1
gidNumber: 1
homeDirectory: /root
gecos:: RW5vY2ggUm9vdCA=


Yet su to these accounts is still broken:



[bluethu...@lcen0t02:~]$:su - root
Password:
Last login: Sun Oct 10 14:57:29 on pts/9


logging in slapd.conf has been set to 256


loglevel256
pidfile /var/run/openldap/slapd.pid
argsfile/var/run/openldap/slapd.args


syslog.conf has been told to log openldap errors to /var/log/openldap.log


local4.*/var/log/openldap.log



[r...@lcen0t02:/usr/local/etc/openldap]#tail -f /var/log/openldap.log
Oct 11 02:12:44 LCEN0T02 slapd[42790]: conn=1000 op=1 RESULT tag=97 err=49 text=
Oct 11 02:12:44 LCEN0T02 slapd[42790]: conn=1000 op=2 UNBIND
Oct 11 02:12:44 LCEN0T02 slapd[42790]: conn=1000 fd=11 closed
Oct 11 02:17:01 LCEN0T02 slapd[42790]: conn=1001 fd=11 ACCEPT from
IP=127.0.0.1:60289 (IP=0.0.0.0:389)
Oct 11 02:17:01 LCEN0T02 slapd[42790]: conn=1001 op=0 BIND
dn=cn=pam_ldap,ou=Services,dc=summitnjhome,dc=com method=128
Oct 11 02:17:01 LCEN0T02 slapd[42790]: conn=1001 op=0 RESULT tag=97 err=49 text=
Oct 11 02:17:01 LCEN0T02 slapd[42790]: conn=1001 op=1 BIND
dn=cn=pam_ldap,ou=Services,dc=summitnjhome,dc=com method=128
Oct 11 02:17:01 LCEN0T02 slapd[42790]: conn=1001 op=1 RESULT tag=97 err=49 text=
Oct 11 02:17:01 LCEN0T02 slapd[42790]: conn=1001 op=2 UNBIND
Oct 11 02:17:01 LCEN0T02 slapd[42790]: conn=1001 fd=11 closed




this is what is going on in the message logs:


Oct 11 02:12:44 LCEN0T02 su: pam_ldap: error trying to bind (Invalid
credentials)
Oct 11 02:12:44 LCEN0T02 su: pam_ldap: error trying to bind (Invalid
credentials)
Oct 11 02:12:44 LCEN0T02 su: in _openpam_check_error_code():
pam_sm_acct_mgmt(): unexpected return value 11


Any idea why su _still_ isn't authenticating even tho the user
accounts have been added to LDAP??? :::sigh:::

On Sat, Oct 9, 2010 at 4:36 PM, Tim Dunphy bluethu...@gmail.com wrote:
 Hey guys!

  Unfortunately I have a new wrinkle. While I certainly got to make my
 sudoers work through LDAP (thanks to those who helped) unfortunately
 PAM is unhappy at the moment.

  So, while sudo is working in ldap, for any of the services that need
 to authenticate through pam (i.e. ssh and su) it is still a no-go. I
 am getting pam authentication errors in my log files.

 But LDAP is certainly doing it's job!

 Using the account I have setup in LDAP as the pam user I can search my base 
 DN:



 [bluethu...@bluethundr-desktop:~ ] $:ldapsearch -x -h ldap -D
 cn=pam_ldap,ou=Services,dc=summitnjhome,dc=com -w secret -b
 dc=summitnjhome,dc=com
 # extended LDIF
 #
 # LDAPv3
 # base dc=summitnjhome,dc=com with scope subtree
 # filter: (objectclass=*)
 # requesting: ALL
 #

 # summitnjhome.com
 dn: dc=summitnjhome,dc=com
 dc: summitnjhome
 objectClass: dcObject
 objectClass: organization
 o: Summit NJ Home

 # staff, summitnjhome.com
 dn: ou=staff,dc=summitnjhome,dc=com
 ou: staff
 objectClass: organizationalUnit

 # summitnjops, staff, summitnjhome.com
 dn: ou=summitnjops,ou=staff,dc=summitnjhome,dc=com
 ou: summitnjops
 objectClass: organizationalUnit

 # people, summitnjhome.com
 dn: ou=people,dc=summitnjhome,dc=com
 objectClass: organizationalUnit
 ou: people

 # Services, summitnjhome.com
 dn: ou=Services,dc=summitnjhome,dc=com
 ou: services
 objectClass: organizationalUnit

 # pam_ldap, Services, summitnjhome.com
 dn: cn=pam_ldap,ou=Services,dc=summitnjhome,dc=com
 cn: pam_ldap
 objectClass: top
 objectClass: inetOrgPerson
 sn: PAM
 userPassword:: 

Re: [CentOS] recommended way to install source rpms?

2010-10-10 Thread Mathieu Baudier
 More people should be doing this kind of stuff.  The world needs more
 open source developers.  Looking at existing code is a great tool for
 learning.

+1

As Karanbir put it in his interview in Distrowatch a few months ago,
CentOS is not only great as a stable and predictable server distrib,
but can also serve as a basis for going further in one particular
area, leaving the rest rock solid and untouched.

- create rpmbuild environment as here:
http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment
- install 'mock' (IMPORTANT: install the one from CentOS, exclude the
one from EPEL in your repo file)

- download SRPM(s)
- (optional) if taken from Fedora after around 9 or 10, rpm -i
*.src.rpm won't work, unpack it manually with Archive Manager, put the
spec file in SPECS, the rest in SOURCES
- download the latest source, or hack the spec file, etc.
- create the SRPM: rpmbuild -bs --nodeps rpmbuild/SPECS/myspecfile.spec
- build the SRPM you just created in mock (with debug option enabled
to see all the logs, but they will also be in build.log)
- do it over and over until your build dependencies are right and it
completely builds
- retrieve your RPMs, put them in a directory, use 'createrepo' to
create metadata, use this directory as an additional repo for mock
(update /etc/mock/*.cfg)
- create a virtual machine (using KVM, VirtualBox, ...)
- install your binaries RPM in the virtual machine (you could expose
the above created local repo via httpd or NFS)
- break your dummy virtual machine as much as you want
- if what you have done could be useful to someone else, you are free
to redistribute it (http://www.gnu.org/philosophy/free-sw.html), just
be clear that it is not supported CentOS, especially if you updated
core parts (*-plus repositories)

[1] building in mock is really efficient and clean: it takes care of
the dependencies in a clean chrooted install, otherwise you end up
having plenty of build dependencies on your workstation and if you
have to build the dependency of the dependency of the dependency,
install it in order to build the next one, etc. you're pretty much
sure to break your workstation. You can use 'mock shell' to go and
build manually in the chrooted install in case something went wrong
and you want to study it without redoing the whole process.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] recommended way to install source rpms?

2010-10-10 Thread Ben McGinnes
On 11/10/10 10:44 AM, ken wrote:
 
 Alternatively, you could also check out Slackware. 

In my opinion Slackware is still the best distribution for actually
learning about GNU/Linux.  I'm a little biased, though, I've been
running it since 4.0 (and had accounts on other systems running it prior
to that).

 The last time I
 looked at it (several years ago) it didn't use rpm or apt or any package
 management system at all, just tgz files. 

Recently that's changed to .txz for the greater level of compression,
but oterwise it's the same.  Pkgtool is really simple and straight forward.

 This is what Linux used to be
 before there was a redhat... and it's generally how code files are
 handled in development before they become rpms... or whatever.

Slack is great because of its strong adherance to the KISS principle.

 Source code shouldn't scare anyone.  It's interesting stuff and
 harmless... just text files, after all.  If your students are going to
 hack around with it and compile it (which I would hope they would do),
 then of course you'll want to take appropriate measures.

Yep.  I still don't see why some people are so afraid of:

./configure [options]
make
make install
[make clean]

If it doesn't work it will tell you.


Regards,
Ben

-- 
Ben McGinnes  http://www.adversary.org/  Twitter: benmcginnes
Systems Administrator, Writer, ICT Consultant
Encrypted email preferred - primary OpenPGP/GPG key: 0xA04AE313
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x371AC5BFA04AE313



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ldif invalid per syntax

2010-10-10 Thread Mathieu Baudier
 I have added the corresponding posix accounts in LDAP I wish to use:

Here is a LDIF snippet that works for users authenticated via LDAP:

dn: uid=myuser,ou=People,dc=example,dc=com
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: top
cn: FirstName LastName
gidNumber: 1130
homeDirectory: /home/myuser
sn: LastName
uid: myuser
uidNumber: 1130
gecos: FirstName LastName
givenName: FirstName
loginShell: /bin/bash
mail: myu...@example.com
userPassword:: ***


dn: uid=myuser,ou=Group,dc=example,dc=com
objectClass: posixGroup
objectClass: top
cn: myuser
gidNumber: 1130


 Yet su to these accounts is still broken:

I would recommend you to (maybe you have done some already):

- check your ACLs in slpad.conf, quite a few fields need to be visible
when doing anonymous binds:
http://www.openldap.org/lists/openldap-software/200208/msg00855.html
(you may want to add or remove some depending on what you want to
achieve, but first try a loose configuration, in order to have
something working)

- use a simple, standard, structure:
ou=People,dc=example,dc=com
ou=Group,dc=example,dc=com

- use authconfig to generate the configs (it will update pam, nss, and
various ldap.conf), you can then review them and deploy them as files,
although I have found that running the command is the most predictable
way to replicate a working config on client systems

authconfig --enableldap --enableldapauth --enablecache
--enablemkhomedir --ldapserver=ldap://myhost
--ldapbasedn=dc=example,dc=com --passalgo=sha256 --updateall

- test all this on a separate clean environment (typically a virtual
machine, before deploying it)

- maybe use the scripts in /usr/share/openldap/migration for your first import

 Any idea why su _still_ isn't authenticating even tho the user
 accounts have been added to LDAP??? :::sigh:::

Getting this to work was long and painful for me, but worth the effort.
Good luck.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] installing 32 bit vlc on Centos 5.5??

2010-10-10 Thread Dave Stevens
I'm in yum dependency hell using epel, rpmforge and rpmfusion repos to  
install vlc on 32 bit Centos 5.5. Anyone have a better idea? Doesn't  
really have to be vlc I just want to be able to play a dvd and Movie  
Player complains about missing plugins without saying what they are.

Dave


-- 
It is no measure of health to be well adjusted to a profoundly sick society.
   Krishnamurti

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


Re: [CentOS] installing 32 bit vlc on Centos 5.5??

2010-10-10 Thread Scott Robbins
On Sun, Oct 10, 2010 at 10:36:19PM -0700, Dave Stevens wrote:
 I'm in yum dependency hell using epel, rpmforge and rpmfusion repos to  
 install vlc on 32 bit Centos 5.5. Anyone have a better idea? Doesn't  
 really have to be vlc I just want to be able to play a dvd and Movie  
 Player complains about missing plugins without saying what they are.
 
Is movieplayer mplayer?  If not, that's what I'd suggest, it's always
handled everything I've thrown at it--I install it from rpmforge. 

I also have rpmforge's vlc, (and rpm -qR |wc -l shows 140 dependencies), 
compared to mplayer's 84.  

I would strongly recommend using priorities.  

If you give a sample of the sort of dependency error you're getting,
someone might be better able to help.

-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Buffy: No, but, see, Mom, that doesn't really work for me. We're 
just going to the magic shop, no school supplies there. 
Dawn: Yeah, Mom. I'm not going to Hogwarts. (chuckles) Hog- 
(looks at Buffy, who's not amused) Jeez, crack a book sometime.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] installing 32 bit vlc on Centos 5.5??

2010-10-10 Thread Dave Stevens
Quoting Scott Robbins scot...@nyc.rr.com:

 On Sun, Oct 10, 2010 at 10:36:19PM -0700, Dave Stevens wrote:
 I'm in yum dependency hell using epel, rpmforge and rpmfusion repos to
 install vlc on 32 bit Centos 5.5. Anyone have a better idea? Doesn't
 really have to be vlc I just want to be able to play a dvd and Movie
 Player complains about missing plugins without saying what they are.

 Is movieplayer mplayer?

I don't think so I think it's Totem

  If not, that's what I'd suggest, it's always
 handled everything I've thrown at it--I install it from rpmforge.

 I also have rpmforge's vlc, (and rpm -qR |wc -l shows 140 dependencies),
 compared to mplayer's 84.

 I would strongly recommend using priorities.

ok, will do


 If you give a sample of the sort of dependency error you're getting,
 someone might be better able to help.


good idea, will have to wait until tomorrow now.

Thanks

d

 --
 Scott Robbins
 PGP keyID EB3467D6
 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
 gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

 Buffy: No, but, see, Mom, that doesn't really work for me. We're
 just going to the magic shop, no school supplies there.
 Dawn: Yeah, Mom. I'm not going to Hogwarts. (chuckles) Hog-
 (looks at Buffy, who's not amused) Jeez, crack a book sometime.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




-- 
It is no measure of health to be well adjusted to a profoundly sick society.
   Krishnamurti

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