RPM package built with ./mkpkg --platform=rpm on Amazon Linux 2 fails to function after installation

Đang mở
#456 7 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
32/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
c, linux
Lĩnh vực
build-system

Hướng nghiên cứu

Start by reading the ./mkpkg RPM build path and checking the generated package contents with rpm -qlp, then reproduce the install and run failure on Amazon Linux 2. The report does not include the observed error, architecture, or logs, so gather those details before tracing the cause. Done means the RPM installs and the software runs correctly on Amazon Linux 2.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I need update sudo-1.9.17p1 to fix security problems like CVE-2025-32462 and CVE-2025-32463.
but aws dont have this rpm package now.

Description:
When building an RPM package using the ./mkpkg --platform=rpm script on Amazon Linux 2, the resulting .rpm file installs successfully but the installed software does not function as expected.

Steps to Reproduce:
Clone the repository on an Amazon Linux 2 instance.
Run ./mkpkg --platform=rpm to build the RPM package.
Install the generated .rpm file using sudo rpm -ivh .rpm.
Attempt to run the installed software.

Expected Behavior:
The software should install and run correctly without errors.

Actual Behavior:
The installation completes without errors, but the software fails to start or function properly. (Please specify the exact error or behavior observed.)

Environment:
OS: Amazon Linux 2
Architecture: (e.g., x86_64)
Build tool: ./mkpkg
Package type: RPM

Additional Context:
Please attach or paste any relevant logs or error messages.
If possible, include the output of rpm -qlp .rpm to verify the installed files.
Mention any dependencies or system configurations that might be relevant.

Ngôn ngữ chính
C
Star
1.7k
Fork
306
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
24

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sudo-project/sudo

Tất cả issue của sudo-project/sudo

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.