Re: /libexec/ld-elf.so.1: Undefined symbol optifd referenced fromCOPY relocation in /bin/cp when installing sudo port SOLVED

2007-07-30 Thread Garrett Cooper

Lars Wittebrood wrote:

Hello list,

This issue is solved. I have compiled the /bin/cp binary from source
again and installed it. Still don't know what caused this though.

Cheers,
Lars.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of FreeBSD-Ports
Posted At: Monday, July 30, 2007 8:37 AM
Posted To: FreeBSD-Ports
Conversation: /libexec/ld-elf.so.1: Undefined symbol optifd referenced
fromCOPY relocation in /bin/cp when installing sudo port
Subject: /libexec/ld-elf.so.1: Undefined symbol optifd referenced
fromCOPY relocation in /bin/cp when installing sudo port


Hello list,

Anybody seen the message below and knows what it means? Couldn't find
anything on Goolge. It's a 6.1-RELEASE-p10 system.

[EMAIL PROTECTED] sudo # make
===  WARNING: Vulnerability database out of date, checking anyway ===
Found saved configuration for sudo-1.6.9.1 ===  Extracting for
sudo-1.6.9.1 = MD5 Checksum OK for sudo-1.6.9p1.tar.gz.
= SHA256 Checksum OK for sudo-1.6.9p1.tar.gz.
===  Patching for sudo-1.6.9.1
===  Configuring for sudo-1.6.9.1
/libexec/ld-elf.so.1: Undefined symbol optifd referenced from COPY
relocation in /bin/cp
*** Error code 1

Stop in /usr/ports/security/sudo.
*** Error code 1

Stop in /usr/ports/security/sudo.


With regards,
Lars.
  


   ABI changes if you recompiled some sources (and not others) can 
cause this.
   Always rebuild everything if you changed any important parts (libc, 
compiler versions, dependant libs, etc).

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /libexec/ld-elf.so.1: Undefined symbol optifd referenced fromCOPY relocation in /bin/cp when installing sudo port SOLVED

2007-07-30 Thread Garrett Cooper

Garrett Cooper wrote:

Lars Wittebrood wrote:

Hello list,

This issue is solved. I have compiled the /bin/cp binary from source
again and installed it. Still don't know what caused this though.

Cheers,
Lars.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of FreeBSD-Ports
Posted At: Monday, July 30, 2007 8:37 AM
Posted To: FreeBSD-Ports
Conversation: /libexec/ld-elf.so.1: Undefined symbol optifd referenced
fromCOPY relocation in /bin/cp when installing sudo port
Subject: /libexec/ld-elf.so.1: Undefined symbol optifd referenced
fromCOPY relocation in /bin/cp when installing sudo port


Hello list,

Anybody seen the message below and knows what it means? Couldn't find
anything on Goolge. It's a 6.1-RELEASE-p10 system.

[EMAIL PROTECTED] sudo # make
===  WARNING: Vulnerability database out of date, checking anyway ===
Found saved configuration for sudo-1.6.9.1 ===  Extracting for
sudo-1.6.9.1 = MD5 Checksum OK for sudo-1.6.9p1.tar.gz.
= SHA256 Checksum OK for sudo-1.6.9p1.tar.gz.
===  Patching for sudo-1.6.9.1
===  Configuring for sudo-1.6.9.1
/libexec/ld-elf.so.1: Undefined symbol optifd referenced from COPY
relocation in /bin/cp
*** Error code 1

Stop in /usr/ports/security/sudo.
*** Error code 1

Stop in /usr/ports/security/sudo.


With regards,
Lars.
  


   ABI changes if you recompiled some sources (and not others) can 
cause this.
   Always rebuild everything if you changed any important parts (libc, 
compiler versions, dependant libs, etc).

-Garrett


   Err... I meant to email [EMAIL PROTECTED]
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sudo port

2006-04-17 Thread eoghan

Hi
I have installed sudo from ports, and the docs say that the allowed list 
of users is located in:

/etc/sudoers
However i cannot locate this file in /etc/ or anywhere else for that 
matter. What file or where do i need to add a list of authorized users?

Thanks
Eoghan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sudo port

2006-04-17 Thread albi
eoghan wrote:

 I have installed sudo from ports, and the docs say that the allowed list
 of users is located in:
 /etc/sudoers
 However i cannot locate this file in /etc/ or anywhere else for that
 matter. What file or where do i need to add a list of authorized users?

as root you should do : visudo
(if you don't like vi, then do e.g. export EDITOR=nano
if you prefer nano)

you should try to use visudo because it helps you to prevent making
syntax-errors which can save you a few grey hairs

(and try : pkg_info -L sudo* and discover it's in /usr/local/etc :-)

-- 
grtjs, albi
gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sudo port

2006-04-17 Thread eoghan

albi wrote:

eoghan wrote:


I have installed sudo from ports, and the docs say that the allowed list
of users is located in:
/etc/sudoers
However i cannot locate this file in /etc/ or anywhere else for that
matter. What file or where do i need to add a list of authorized users?


as root you should do : visudo
(if you don't like vi, then do e.g. export EDITOR=nano
if you prefer nano)

you should try to use visudo because it helps you to prevent making
syntax-errors which can save you a few grey hairs

(and try : pkg_info -L sudo* and discover it's in /usr/local/etc :-)



ah ok, thanks for that. Found it and edited!
Eoghan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sudo port

2006-04-17 Thread Fabian Keil
eoghan [EMAIL PROTECTED] wrote:

 I have installed sudo from ports, and the docs say that the allowed list 
 of users is located in:
 /etc/sudoers

Docs coming with the port or docs on the web?

 However i cannot locate this file in /etc/ or anywhere else for that 
 matter. What file or where do i need to add a list of authorized users?

/usr/local/etc/sudoers.

IIRC it doesn't exist by default, but you can copy from sudoers.default
and sudoers.sample in the same directory.

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Re: sudo port

2006-04-17 Thread eoghan

Fabian Keil wrote:

eoghan [EMAIL PROTECTED] wrote:

I have installed sudo from ports, and the docs say that the allowed list 
of users is located in:

/etc/sudoers


Docs coming with the port or docs on the web?


I checked here:
http://www.freshports.org/security/sudo/
Commit history suggested to me it was in /etc/

However i cannot locate this file in /etc/ or anywhere else for that 
matter. What file or where do i need to add a list of authorized users?


/usr/local/etc/sudoers.

IIRC it doesn't exist by default, but you can copy from sudoers.default
and sudoers.sample in the same directory.


Yep, thanks Fabian. I have got it working now. I need to learn grep more.
Thanks
Eoghan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sudo port

2006-04-17 Thread Fabian Keil
eoghan [EMAIL PROTECTED] wrote:

 Fabian Keil wrote:
  eoghan [EMAIL PROTECTED] wrote:
  
  I have installed sudo from ports, and the docs say that the allowed list 
  of users is located in:
  /etc/sudoers
  
  Docs coming with the port or docs on the web?
 
 I checked here:
 http://www.freshports.org/security/sudo/
 Commit history suggested to me it was in /etc/

I guess you're referring to Remove etc/sudoers on deinstall if
user haven't modified it?

It's easy to overlook, but there is no leading slash and
the path is relative (to ${PREFIX}).

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Re: sudo port

2006-04-17 Thread Kevin Kinsey

eoghan wrote:


Hi
I have installed sudo from ports, and the docs say
that the allowed list of users is located in:
/etc/sudoers



That blasted penguin!  Wonder if Colin Percival
can depenguinate 3rd-party documentation?

When you install from ports, stuff goes to /usr/local
unless you've deliberately tweaked the make process via
the command line, make.conf(5), and such.  So try /usr/local/etc.

Kevin Kinsey

--
Your business will go through a period of considerable expansion.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sudo port

2006-04-17 Thread Max N. Boyarov

 e == eoghan writes:

 e  Hi
 e I have installed sudo from ports, and the docs say that the allowed
 e list of users is located in:
 e /etc/sudoers
 e However i cannot locate this file in /etc/ or anywhere else for that
 e matter. What file or where do i need to add a list of authorized
 e users?

 file sudoers can be placed to /usr/local/etc/
 example can be found in /usr/local/etc/sudoers.sample
 or you can simply run visudo

you can see where files placed by use pkg_info (1)  command
for sample $ pkg_info -L sudo-1.6.8.12_1 
Information for sudo-1.6.8.12_1:

Files:
/usr/local/man/man5/sudoers.5.gz
/usr/local/man/man8/sudo.8.gz
/usr/local/man/man8/visudo.8.gz
/usr/local/man/man8/sudoedit.8.gz
/usr/local/bin/sudo
/usr/local/bin/sudoedit
/usr/local/etc/sudoers.default
/usr/local/etc/sudoers.sample
/usr/local/libexec/sudo_noexec.so
/usr/local/sbin/visudo

 e Thanks
 e Eoghan
 e ___
 e freebsd-questions@freebsd.org mailing list
 e http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 e To unsubscribe, send any mail to [EMAIL PROTECTED]


-- 
// Max N. Boyarov



pgpnedk0wY2Ef.pgp
Description: PGP signature