sudo refuses after upgrading from 10.3 -> 11.0

Odhiambo Washington odhiambo at gmail.com
Thu Jan 5 15:19:25 UTC 2017


On 5 January 2017 at 17:24, Polytropon <freebsd at edvax.de> wrote:

> On Thu, 5 Jan 2017 16:18:34 +0300, Odhiambo Washington wrote:
> > On 5 January 2017 at 16:01, Boris Samorodov <bsam at passap.ru> wrote:
> >
> > > 05.01.2017 15:17, Odhiambo Washington пишет:
> > > > I have upgraded to 11.0 using source upgrade.
> > > >
> > > > I have reinstalled all packages, including sudo, but....
> > > >
> > > > root at mail:/usr/local/ILI/Exim/exim-4.88 # uname -opr
> > > > *FreeBSD 11.0-STABLE amd64*
> > > >
> > > > root at mail:/usr/local/ILI/Exim/exim-4.88 # sudo su
> > > > */usr/bin/sudo: Undefined symbol "sudo_reallocarray*"
> > >
> > > Sudo has never been installed to /usr/bin.
> > >
> > > HTH & WBR
> > > --
> > > bsam
> > >
> >
> > Good catch!
> >
> > root at mail:/usr/home/admin # ls -al /usr/bin/sudo
> > -rwsr-xr-x  1 root  wheel  112360 May 10  2016 /usr/bin/sudo
> > root at mail:/usr/home/admin # less /usr/bin/sudo
> > "/usr/bin/sudo" may be a binary file.  See it anyway?
> > root at mail:/usr/home/admin # ls -la /usr/local/bin/sudo
> > -rwsr-xr-x  1 root  wheel  112416 Dec 24 04:15 /usr/local/bin/sudo
> >
> > After rm /usr/bin/sudo, now sudo works!! Some newbie admin was playing
> with
> > this system a few weeks ago!!!
>
> Always remember:
>
> FreeBSD places system programs in /bin, /usr/bin etc., while
> 3rd party programs to to /usr/local/bin; sudo is not part of
> FreeBSD, so it's easy to conclude _where_ it has to be located.
> (Sidenote: Few ports have options to make them install into
> system directories or replace system programs, for example
> bash or CUPS, but that is usually not the default.)
>
> Supplied by FreeBSD: su
>
> Additional programs: sudo, super
>

Hi Polytropon,

Well noted. It really helps to have a 'third eye', like this list.
For two days I have been wondering what was biting me, but I did not stop
to think about the odd path. Blame it on age :-)



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft."


More information about the freebsd-questions mailing list