Bug 121660
Summary: | LTC7787-LAuS: /etc/init.d/audit expect a file named /sbin/auditd64 on PPC64 arch, but no such file shipped in rhel 3 U2 Beta | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | IBM Bug Proxy <bugproxy> |
Component: | laus | Assignee: | Charlie Bennett <ccb> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jay Turner <jturner> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | CC: | srevivo |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHEL3, U3 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-09-07 15:32:07 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
IBM Bug Proxy
2004-04-24 21:28:33 UTC
This should be fixed in 0.1-50RHEL3 and later. Please check. ----- Additional Comments From zhouwu.com 2004-04-27 21:20 ------- Could you tell me in which release will this new package be shipped? So I can check this once the release is available. Thanks. ----- Additional Comments From zhouwu.com 2004-05-09 01:52 ------- Yes, this defect is fixed with the latest version:0.1-54RHEL3. We have just maken a verification on 05/05 release U2 RC. Thanks. We are still seeing this issue in U3 candidate trees. The laus version is laus-0.1-62RHEL3. Duplicating the new bug reported by IBM LTC... *** Bug 126779 has been marked as a duplicate of this bug. *** I see both a ppc and a ppc64 version of the laus rpm...however both packages provide a /sbin/auditd. And it appears that the 32b version of /sbin/auditd attempts to execv /sbin/auditd64 which doesn't exist: # file /sbin/auditd /sbin/auditd: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped # strace /sbin/auditd open("/lib/tls/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\1\301"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1605852, ...}) = 0 mmap(0xfe47000, 1399388, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xfe47000 mprotect(0xff86000, 92764, PROT_NONE) = 0 mmap(0xff87000, 81920, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0x130000) = 0xff87000 mmap(0xff9b000, 6748, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xff9b000 close(3) = 0 munmap(0x40028000, 97594) = 0 uname({sys="Linux", node="localhost.localdomain", ...}) = 0 brk(0) = 0x1001d000 brk(0x1003e000) = 0x1003e000 brk(0) = 0x1003e000 execve("/sbin/auditd64", ["/sbin/auditd64"], [/* 24 vars */]) = -1 ENOENT (No such file or directory) dup(2) = 3 fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR) fstat64(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(229, 0), ...}) = 0 ioctl(3, TCGETS or TCGETS, {B38400 opost isig icanon echo ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40028000 _llseek(3, 0, 0xffffa4b8, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(3, "/sbin/auditd64: No such file or "..., 42/sbin/auditd64: No such file or directory It appears that installing the ppc64 version of laus (laus-0.1-62RHEL3.ppc64.rpm) corrects the issue and auditd is able to startup without error. The current beta candidate tree contains only the following laus packages. Looking at the following package list, it doesn't appear that the beta candidate trees solve the problem. laus-0.1-62RHEL3.ppc.rpm laus-libs-0.1-62RHEL3.ppc64.rpm laus-devel-0.1-62RHEL3.ppc.rpm laus-libs-0.1-62RHEL3.ppc.rpm Thoughts? There's not supposed to be a 32-bit auditd on ppc64. Let me dig into this and get it fixed. 32-bit laus-libs are provided only to keep the 32-bit PAM happy. Fixed. |