Re: [CentOS] su path hard coded?

2012-07-23 Thread Mogens Kjaer
On 07/23/2012 10:02 PM, Stephen Harris wrote: > That's never a reasonable solution for an enterprise distro; what happens > at the next "yum update"? :-) You could put your locally modified su into /usr/local/bin :-) Mogens -- Mogens Kjaer, m...@lemo.dk http://www.lemo.dk __

Re: [CentOS] Oracle tries to capture CentOS users

2012-07-23 Thread Cliff Pratt
On Tue, Jul 24, 2012 at 11:47 AM, Timothy Murphy wrote: > Fernando Cassia wrote: > >> I don' t think that would happen anytime soon. AFAIK if you check >> distrowatch Oracle Linux ranks #50 and CentOS ranks #8. >> >> Also, I read somewhere that ORCL has 8,000 paid custmers to their >> Linux subscr

Re: [CentOS] Oracle tries to capture CentOS users

2012-07-23 Thread Timothy Murphy
Fernando Cassia wrote: > I don' t think that would happen anytime soon. AFAIK if you check > distrowatch Oracle Linux ranks #50 and CentOS ranks #8. > > Also, I read somewhere that ORCL has 8,000 paid custmers to their > Linux subscription hardly a major player still. > But like I said, the m

Re: [CentOS] su path hard coded?

2012-07-23 Thread Stephen Harris
On Mon, Jul 23, 2012 at 06:16:57PM -0500, Robert Nichols wrote: > On 07/23/2012 02:37 PM, Stephen Harris wrote: > > You've missed the point. I want the ability to set the default path on > > 'su -' to be /bin:/usr/bin and then let the users override if they wish. > > I do not want the default pat

Re: [CentOS] su path hard coded?

2012-07-23 Thread Robert Nichols
On 07/23/2012 02:37 PM, Stephen Harris wrote: > On Mon, Jul 23, 2012 at 02:33:17PM -0500, Les Mikesell wrote: >> On Mon, Jul 23, 2012 at 2:18 PM, Stephen Harris wrote: >>> On Mon, Jul 23, 2012 at 02:14:45PM -0500, Les Mikesell wrote: Can't you use the usual approach of 'su -' to pick up the t

Re: [CentOS] su path hard coded?

2012-07-23 Thread Stephen Harris
On Mon, Jul 23, 2012 at 03:31:12PM -0500, Les Mikesell wrote: > Hmmm, per 'man su' on a debian system, you can override with ENV_PATH > (default /bin:/usr/bin) or (for root) ENV_SUPATH (default > /sbin:/bin:/usr/sbin:/usr/bin) /etc/login.defs. Adding > /usr/local/bin must be an RH-specific patch

[CentOS] missing V4L or related dependencies

2012-07-23 Thread Boris Epstein
Hello all, I am trying to install Epiphan's ( http://www.epiphan.com/ ) VGA2USB device on a Centos 6 machine and when I am trying to compile and install the driver for it I get the following errors: WARNING: /lib/modules/2.6.32-279.2.1.el6.x86_64/extra/vga2usb.ko needs unknown symbol videobuf_str

Re: [CentOS] Oracle tries to capture CentOS users

2012-07-23 Thread Craig White
On Jul 20, 2012, at 7:27 PM, Johnny Hughes wrote: > While I will not be petty enough to post a Migration script from Oracle > Linux to CentOS (I can't believe they posted that ... REALLY?), I will > likely help anyone who asks me for help with that specific migration. I wouldn't describe you

Re: [CentOS] su path hard coded?

2012-07-23 Thread Les Mikesell
On Mon, Jul 23, 2012 at 3:02 PM, Stephen Harris wrote: > > > That's never a reasonable solution for an enterprise distro; what happens > at the next "yum update"? :-) The reasonable solution is to live with the defaults... > If the answer is "it's hard coded; nothing you can do" then I guess > I

Re: [CentOS] su path hard coded?

2012-07-23 Thread Stephen Harris
On Mon, Jul 23, 2012 at 02:52:28PM -0500, Les Mikesell wrote: > On Mon, Jul 23, 2012 at 2:37 PM, Stephen Harris wrote: > > You've missed the point. I want the ability to set the default path on > > 'su -' to be /bin:/usr/bin and then let the users override if they wish. > > I do not want the defa

Re: [CentOS] su path hard coded?

2012-07-23 Thread Les Mikesell
On Mon, Jul 23, 2012 at 2:37 PM, Stephen Harris wrote: > >> >> But it should be executing the target user's .profile which can >> override it. '-' should be a synonym for -l or --login. > > You've missed the point. I want the ability to set the default path on > 'su -' to be /bin:/usr/bin and t

Re: [CentOS] su path hard coded?

2012-07-23 Thread Stephen Harris
On Mon, Jul 23, 2012 at 02:33:17PM -0500, Les Mikesell wrote: > On Mon, Jul 23, 2012 at 2:18 PM, Stephen Harris wrote: > > On Mon, Jul 23, 2012 at 02:14:45PM -0500, Les Mikesell wrote: > >> Can't you use the usual approach of 'su -' to pick up the target > >> user's login environment? > > > > It's

Re: [CentOS] su path hard coded?

2012-07-23 Thread Les Mikesell
On Mon, Jul 23, 2012 at 2:18 PM, Stephen Harris wrote: > On Mon, Jul 23, 2012 at 02:14:45PM -0500, Les Mikesell wrote: >> Can't you use the usual approach of 'su -' to pick up the target >> user's login environment? > > It's "su -" that causes the 'su' comman to rewrite the PATH to the > hardcoded

Re: [CentOS] su path hard coded?

2012-07-23 Thread Stephen Harris
On Mon, Jul 23, 2012 at 02:14:45PM -0500, Les Mikesell wrote: > Can't you use the usual approach of 'su -' to pick up the target > user's login environment? It's "su -" that causes the 'su' comman to rewrite the PATH to the hardcoded default. -- rgds Stephen

Re: [CentOS] su path hard coded?

2012-07-23 Thread Les Mikesell
On Mon, Jul 23, 2012 at 2:00 PM, Stephen Harris wrote: > Is there any way of changing the PATH that's set by 'su' to be specific > to my needs? It looks like 'su' has the path's hard coded. > > % rpm -qf /bin/su > coreutils-5.97-34.el5_8.1 > > % strings /bin/su | grep local.bin > /usr/local/sbin

Re: [CentOS] Fwd: Re: kmod-nvidia?

2012-07-23 Thread Les Mikesell
On Mon, Jul 23, 2012 at 12:57 PM, wrote: > >> >> Why would yum ever pull anything from a repostory that doesn't replace >> base packages unless it is something that you explicitly installed? > > I wouldn't. But I did want to explicitly say what I was allowing it to > get, so that it wouldn't acci

[CentOS] su path hard coded?

2012-07-23 Thread Stephen Harris
Is there any way of changing the PATH that's set by 'su' to be specific to my needs? It looks like 'su' has the path's hard coded. % rpm -qf /bin/su coreutils-5.97-34.el5_8.1 % strings /bin/su | grep local.bin /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin /usr/local/bin:/bin:/usr

Re: [CentOS] Fwd: Re: kmod-nvidia?

2012-07-23 Thread m . roth
Les Mikesell wrote: > On Mon, Jul 23, 2012 at 11:48 AM, wrote: Using elrepo is therefore safe unless you make modifications of course >>> ... >> >> Except that we don't want to replace or update the main repository >> packages, except in very, very special cases. That was why I allowed >> on

Re: [CentOS] Fwd: Re: kmod-nvidia?

2012-07-23 Thread Les Mikesell
On Mon, Jul 23, 2012 at 11:48 AM, wrote: >>> Using elrepo is therefore safe unless you make modifications of course >> ... > > Except that we don't want to replace or update the main repository > packages, except in very, very special cases. That was why I allowed only > kmod-nvidia in the repo.

Re: [CentOS] Fwd: Re: kmod-nvidia?

2012-07-23 Thread Ned Slider
On 23/07/12 17:48, m.r...@5-cent.us wrote: > Akemi Yagi wrote: >> On Mon, Jul 23, 2012 at 9:15 AM, wrote: >> >>> everyone knows that some other elrepo packages result in conflicts >>> with the base CentOS repositories. >> >> Just to clarify -- From the ELRepo web site ( http://elrepo.org ): >> >>

Re: [CentOS] Fwd: Re: kmod-nvidia?

2012-07-23 Thread m . roth
Akemi Yagi wrote: > On Mon, Jul 23, 2012 at 9:15 AM, wrote: > >> everyone knows that some other elrepo packages result in conflicts >> with the base CentOS repositories. > > Just to clarify -- From the ELRepo web site ( http://elrepo.org ): > > elrepo > This is the main channel and is enabled by

Re: [CentOS] Fwd: Re: kmod-nvidia?

2012-07-23 Thread Stephen Harris
On Mon, Jul 23, 2012 at 12:15:49PM -0400, m.r...@5-cent.us wrote: > You didn't care to pay attention to what I *DID* post. The rest of it was I think you need to calm down. You came here for help; the onus is _not_ on the readers to delve into dozens of messages to see what you may or may not hav

Re: [CentOS] Fwd: Re: kmod-nvidia?

2012-07-23 Thread Akemi Yagi
On Mon, Jul 23, 2012 at 9:15 AM, wrote: > everyone > knows that some other elrepo packages result in conflicts with the base > CentOS repositories. Just to clarify -- From the ELRepo web site ( http://elrepo.org ): elrepo This is the main channel and is enabled by default. As this channel shou

Re: [CentOS] Fwd: Re: kmod-nvidia?

2012-07-23 Thread m . roth
Ned Slider wrote: > On 23/07/12 15:48, m.r...@5-cent.us wrote: >> >> And for the guy from the elrepo team, you'll note it was *not* an elrepo >> problem, which is what I'd suspected, unless the repodata file's changed >> since Friday. > > It was a problem caused by *you* editing the default elrepo

Re: [CentOS] Fwd: Re: kmod-nvidia?

2012-07-23 Thread Ned Slider
On 23/07/12 15:48, m.r...@5-cent.us wrote: > > And for the guy from the elrepo team, you'll note it was *not* an elrepo > problem, which is what I'd suspected, unless the repodata file's changed > since Friday. > It was a problem caused by *you* editing the default elrepo config file and not unde

[CentOS] CentOS-announce Digest, Vol 89, Issue 11

2012-07-23 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] Fwd: Re: kmod-nvidia?

2012-07-23 Thread m . roth
Date: Fri, 20 Jul 2012 18:37:52 -0400 From: Lamar Owen On Friday, July 20, 2012 05:30:14 PM m.r...@5-cent.us wrote: > Stephen Harris wrote: > > On Fri, Jul 20, 2012 at 04:44:07PM -0400, m.r...@5-cent.us wrote: > >> Available Packages > >> kmod-nvidia.x86_64 295.59-1.el6.elrepo

Re: [CentOS] 'localyum' alias...

2012-07-23 Thread Fernando Cassia
On Mon, Jul 23, 2012 at 3:00 AM, Fabien Archambault wrote: > I > believe that using this alias is useless. But the removal of localinstall doesn´t mean an easy to remember alias wouldn´t be of use, it´d just mean that the syntax would change to alias localyum='yum --disablerepo=* ´ ie localyum i

Re: [CentOS] 'localyum' alias...

2012-07-23 Thread Fernando Cassia
On Mon, Jul 23, 2012 at 3:31 AM, Fabien Archambault wrote: > > This option is kept for legacy purpose [1] (or man yum). It works yet > but will be removed in the future releases (years ago) I believe. Thanks. I wasn´t aware of this. Luckily if I read this correctly, the ability to install package

Re: [CentOS] n00b rsyslog.conf question - how to separate local syslog from network appliance syslog?

2012-07-23 Thread ign...@vault13.lt
Hello, this is how I do it. (c) $template Tdefault,"/logs/%fromhost-ip%/%syslogfacility-text%.%$YEAR%-%$MONTH%-%$DAY%.log" $template FileFormat,"%TIMESTAMP:::date-rfc3339% %HOSTNAME% %syslogtag%%msg:::sp-if-no-1st-sp%%msg:::drop-last-lf%\n" *.* -?Tdefault;FileFormat (b) Dropping no