Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: users

OT: make upgrade fails on FreeBSD

 

 

Bricolage users RSS feed   Index | Next | Previous | View Threaded


rs at plusw

Apr 18, 2008, 2:23 PM

Post #1 of 4 (354 views)
Permalink
OT: make upgrade fails on FreeBSD

Hi,
this is OT, but maybe somebody knows how to solve this:

I'm just trying to upgrade to 1.10.4 on a FreeBSD 6.3 and get an error in
ins/db_grants.pl because settiing of $< fais on FreeBSD , shown here:

[root[at]plusw.loc root]# perl -e 'sub p {print "RUID: $<, EUID: $>\n";} p;
$>=1000; p; $<=1000; p;'
RUID: 0, EUID: 0
RUID: 0, EUID: 1000
RUID: 0, EUID: 1000

Any idea ?
Rolf Schaufelberger


rs at plusw

Apr 18, 2008, 2:41 PM

Post #2 of 4 (336 views)
Permalink
Re: OT: make upgrade fails on FreeBSD [In reply to]

Am Freitag, 18. April 2008 23:23:30 schrieb Rolf Schaufelberger:
> Hi,
> this is OT, but maybe somebody knows how to solve this:
>
> I'm just trying to upgrade to 1.10.4 on a FreeBSD 6.3 and get an error in
> ins/db_grants.pl because settiing of $< fais on FreeBSD , shown here:
>
> [root[at]plusw.loc root]# perl -e 'sub p {print "RUID: $<, EUID: $>\n";} p;
> $>=1000; p; $<=1000; p;'
> RUID: 0, EUID: 0
> RUID: 0, EUID: 1000
> RUID: 0, EUID: 1000
>
> Any idea ?
> Rolf Schaufelberger

Found it: it works when I switch the order, that is, first set set RUID and
the EUID

perl -e 'sub p {print "RUID: $<, EUID: $>\n";} p; $<=1000; p; $>=1000; p;'
RUID: 0, EUID: 0
RUID: 1000, EUID: 0
RUID: 1000, EUID: 1000

Attached db_grant.pl with these two lines switched.

--
Rolf Schaufelberger
Attachments: db_grant.pl (3.18 KB)


alex at gossamer-threads

Apr 18, 2008, 2:55 PM

Post #3 of 4 (330 views)
Permalink
Re: OT: make upgrade fails on FreeBSD [In reply to]

Hi,

On Fri Apr 18 02:41:44, Rolf Schaufelberger wrote:

> Found it: it works when I switch the order, that is, first set set RUID and
> the EUID
>
> perl -e 'sub p {print "RUID: $<, EUID: $>\n";} p; $<=1000; p; $>=1000; p;'
> RUID: 0, EUID: 0
> RUID: 1000, EUID: 0
> RUID: 1000, EUID: 1000
>
> Attached db_grant.pl with these two lines switched.

Knew I'd get it backwards. =)

Thanks,

Alex
--
Alex Krohn <alex[at]gossamer-threads.com>


david at kineticode

Apr 18, 2008, 5:31 PM

Post #4 of 4 (324 views)
Permalink
Re: OT: make upgrade fails on FreeBSD [In reply to]

On Apr 18, 2008, at 14:41, Rolf Schaufelberger wrote:

> perl -e 'sub p {print "RUID: $<, EUID: $>\n";} p; $<=1000; p;
> $>=1000; p;'
> RUID: 0, EUID: 0
> RUID: 1000, EUID: 0
> RUID: 1000, EUID: 1000
>
> Attached db_grant.pl with these two lines switched.

Thanks, I used this to patch db_grant.pl in r8083, now committed.

Best,

David

Bricolage users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.