Bug 279779 - issue with security/sudo command on FreeBSD 15
Summary: issue with security/sudo command on FreeBSD 15
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Renato Botelho
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-16 06:10 UTC by Gordon Zhang
Modified: 2024-06-18 14:43 UTC (History)
3 users (show)

See Also:
linimon: maintainer-feedback? (garga)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gordon Zhang 2024-06-16 06:10:02 UTC
Hi,
I'm working on my server with FreeBSD 15.0-current installed. Everything is fine after installation. However, after I upgrade it  by "pkg upgrade ", the "sudo" command didn't not work. Here is the output:
ld-elf.so.1: /usr/local/bin/sudo: Undefined symbol "__memcpy_chk@FBSD_1.8"
 Is that a bug? If not, how can I fix it?
Comment 1 Kyle Evans freebsd_committer freebsd_triage 2024-06-18 13:39:09 UTC
(In reply to Gordon Zhang from comment #0)

You have to upgrade the base system before you can upgrade packages, or else you will run into breakage like this. See the notes at the bottom of UPDATING
Comment 2 Kyle Evans freebsd_committer freebsd_triage 2024-06-18 14:43:49 UTC
Closing this because it's caused by missing steps in the upgrade process, but feel free to  comment if you need further clarification.