| Summary: | strace update for kernel 5.10 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | David Walser <luigiwalser> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | ouaurelien, sysadmin-bugs, tarazed25 |
| Version: | 7 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA7-64-OK | ||
| Source RPM: | strace-5.9-1.mga7.src.rpm | CVE: | |
| Status comment: | |||
|
Description
David Walser
2020-12-16 15:59:52 CET
mga7, x64
Updated strace and ran some simple commands copied from a previous test. Testing support for new features in the kernel is a matter for developers.
$ strace -o abi.trace abiword
$ grep t1 abi.trace
openat(AT_FDCWD, "/lib64/libt1.so.5", O_RDONLY|O_CLOEXEC) = 24
inotify_init1(IN_CLOEXEC) = 22
$ strace -o wakeup sleep 555
^C
$ cat wakeup
execve("/usr/bin/sleep", ["sleep", "555"], 0x7ffe1dca18f8 /* 85 vars */) = 0
brk(NULL) = 0x1cfe000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
[...]
nanosleep({tv_sec=555, tv_nsec=0}, NULL) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
--- SIGINT {si_signo=SIGINT, si_code=SI_KERNEL} ---
+++ killed by SIGINT +++
$ strace ls -l /dev/null
execve("/usr/bin/ls", ["ls", "-l", "/dev/null"], 0x7ffe2481d4a0 /* 85 vars */) = 0
brk(NULL) = 0xed6000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
[...]
close(2) = 0
exit_group(0) = ?
+++ exited with 0 +++
$ strace -o trace.ls ls -l /etc/passwd
-rw-r--r-- 1 root root 3007 Dec 8 18:30 /etc/passwd
$ cat trace.ls
execve("/usr/bin/ls", ["ls", "-l", "/etc/passwd"], 0x7ffea103b880 /* 85 vars */) = 0
[...]
close(2) = 0
exit_group(0) = ?
+++ exited with 0 +++
$ strace -o trace.wv wv 900
--2020-12-17 18:02:21-- ftp://tgftp.nws.noaa.gov/data/observations/metar/decoded/EGPH.TXT
=> ‘EGPH.TXT’
Resolving tgftp.nws.noaa.gov (tgftp.nws.noaa.gov)... 140.90.101.79
Connecting to tgftp.nws.noaa.gov (tgftp.nws.noaa.gov)|140.90.101.79|:21... connected.
Logging in as anonymous ... Logged in!
....
Killed the gui before the trace got too big.
$ cat trace.wv
execve("/home/lcl/bin/wv", ["wv", "900"], 0x7ffcfbfc97d8 /* 85 vars */) = 0
brk(NULL) = 0x1363000
[...]
execve("/home/lcl/.rbenv/shims/ruby", ["ruby", "/home/lcl/bin/wv", "900"], 0x7ffd34482390 /* 85 vars */) = -1 ENOENT (No such file or directory)
execve("/home/lcl/.rbenv/bin/ruby", ["ruby", "/home/lcl/bin/wv", "900"], 0x7ffd34482390 /* 85 vars */) = -1 ENOENT (No such file or directory)
execve("/usr/local/bin/ruby", ["ruby", "/home/lcl/bin/wv", "900"], 0x7ffd34482390 /* 85 vars */) = -1 ENOENT (No such file or directory)
[...]
getegid() = 1000
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/local", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/local/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/local/share/ruby", 0x7ffeae1b6d70) = -1 ENOENT (No such file or dir
ectory)
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/local", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/local/lib64", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/local/lib64/ruby", 0x7ffeae1b6d70) = -1 ENOENT (No such file or directory)
[...]
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f6914402af0}, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f6914402af0}, 8) = 0
close(4) = 0
close(6) = 0
munmap(0x7f6913b4a000, 1052672) = 0
exit_group(0) = ?
+++ exited with 0 +++
At this superficial level strace works. It might be worth somebody with knowledge of system internals checking out more complex issues.CC:
(none) =>
tarazed25
Len Lawrence
2020-12-18 08:27:57 CET
Whiteboard:
(none) =>
MGA7-64-OK Validating Advisory pushed to SVN. CC:
(none) =>
ouaurelien, sysadmin-bugs An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2020-0248.html Resolution:
(none) =>
FIXED |