znetconf --help or --version will return an error if /sys/bus/ccwgroup does not exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Medium
|
bugproxy | ||
s390-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Regression of bug 1683507
With s390-tools-
ubuntu@cosmicKVM:~$ apt-cache policy s390-tools
s390-tools:
Installed: 2.6.0-0ubuntu7
Candidate: 2.6.0-0ubuntu7
Version table:
*** 2.6.0-0ubuntu7 500
500 http://
100 /var/lib/
ubuntu@cosmicKVM:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic
ubuntu@cosmicKVM:~$ strace /sbin/znetconf
execve(
brk(NULL) = 0x2aa378b6000
access(
mmap(NULL, 8192, PROT_READ|
access(
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=
mmap(NULL, 47605, PROT_READ, MAP_PRIVATE, 3, 0) = 0x3ff89b00000
close(3) = 0
access(
openat(AT_FDCWD, "/lib/s390x-
read(3, "\177ELF\
fstat(3, {st_mode=
mmap(NULL, 186608, PROT_READ|
mmap(0x3ff89aa9000, 20480, PROT_READ|
close(3) = 0
access(
openat(AT_FDCWD, "/lib/s390x-
read(3, "\177ELF\
fstat(3, {st_mode=
mmap(NULL, 16728, PROT_READ|
mmap(0x3ff89a03000, 8192, PROT_READ|
close(3) = 0
access(
openat(AT_FDCWD, "/lib/s390x-
read(3, "\177ELF\
fstat(3, {st_mode=
mmap(NULL, 1701816, PROT_READ|
mmap(0x3ff89996000, 24576, PROT_READ|
mmap(0x3ff8999c000, 14264, PROT_READ|
close(3) = 0
mmap(NULL, 8192, PROT_READ|
mprotect(
mprotect(
mprotect(
mprotect(
mprotect(
munmap(
openat(AT_FDCWD, "/dev/tty", O_RDWR|O_NONBLOCK) = 3
close(3) = 0
brk(NULL) = 0x2aa378b6000
brk(0x2aa378d7000) = 0x2aa378d7000
openat(AT_FDCWD, "/usr/lib/
fstat(3, {st_mode=
mmap(NULL, 5694416, PROT_READ, MAP_PRIVATE, 3, 0) = 0x3ff89280000
close(3) = 0
getuid() = 1000
getgid() = 1000
geteuid() = 1000
getegid() = 1000
rt_sigprocmask(
ioctl(-1, TIOCGPGRP, 0x3fff237e84c) = -1 EBADF (Bad file descriptor)
sysinfo(
rt_sigaction(
rt_sigaction(
rt_sigaction(
rt_sigaction(
rt_sigaction(
rt_sigaction(
rt_sigaction(
rt_sigaction(
rt_sigaction(
rt_sigaction(
rt_sigaction(
rt_sigaction(
rt_sigprocmask(
rt_sigaction(
uname({
stat("/
stat(".", {st_mode=
stat("/home", {st_mode=
stat("/
getpid() = 5365
openat(AT_FDCWD, "/usr/lib/
fstat(3, {st_mode=
mmap(NULL, 26648, PROT_READ, MAP_SHARED, 3, 0) = 0x3ff89b00000
close(3) = 0
getppid() = 5363
getpid() = 5365
getpgrp() = 5363
ioctl(2, TIOCGPGRP, [5363]) = 0
rt_sigaction(
prlimit64(0, RLIMIT_NPROC, NULL, {rlim_cur=7161, rlim_max=7161}) = 0
rt_sigprocmask(
openat(AT_FDCWD, "/sbin/znetconf", O_RDONLY) = 3
stat("/
ioctl(3, TCGETS, 0x3fff237e7e4) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(3, 0, SEEK_CUR) = 0
read(3, "#!/bin/bash\n#\n# znetconf - Tool "..., 80) = 80
lseek(3, 0, SEEK_SET) = 0
prlimit64(0, RLIMIT_NOFILE, NULL, {rlim_cur=1024, rlim_max=
fcntl(255, F_GETFD) = -1 EBADF (Bad file descriptor)
dup2(3, 255) = 255
close(3) = 0
fcntl(255, F_SETFD, FD_CLOEXEC) = 0
fcntl(255, F_GETFL) = 0x8000 (flags O_RDONLY|
fstat(255, {st_mode=
lseek(255, 0, SEEK_CUR) = 0
read(255, "#!/bin/bash\n#\n# znetconf - Tool "..., 8192) = 8192
rt_sigprocmask(
pipe([3, 4]) = 0
rt_sigprocmask(
rt_sigprocmask(
rt_sigprocmask(
lseek(255, -6082, SEEK_CUR) = 2110
clone(child_
rt_sigprocmask(
rt_sigaction(
close(4) = 0
read(3, "znetconf\n", 128) = 9
read(3, "", 128) = 0
close(3) = 0
rt_sigprocmask(
rt_sigaction(
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 5366
rt_sigaction(
rt_sigprocmask(
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5366, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
wait4(-1, 0x3fff237d5c8, WNOHANG, NULL) = -1 ECHILD (No child processes)
sigreturn(
read(255, "LSZNET=
stat("/
rt_sigprocmask(
pipe([3, 4]) = 0
rt_sigprocmask(
rt_sigprocmask(
rt_sigprocmask(
lseek(255, -7859, SEEK_CUR) = 2443
clone(child_
rt_sigprocmask(
rt_sigaction(
close(4) = 0
read(3, "/sys\n", 128) = 5
read(3, "", 128) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5367, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 5367
wait4(-1, 0x3fff237d650, WNOHANG, NULL) = -1 ECHILD (No child processes)
sigreturn(
close(3) = 0
rt_sigprocmask(
rt_sigaction(
rt_sigaction(
rt_sigprocmask(
read(255, "CCWGROUPBUS_
brk(0x2aa378f8000) = 0x2aa378f8000
read(255, " [ -e $DEVICE_UNGROUPFILE ]\n\tthe"..., 8192) = 8192
brk(0x2aa37919000) = 0x2aa37919000
read(255, "E=\"$d/
stat("/
stat("/
fcntl(1, F_GETFD) = 0
fcntl(1, F_DUPFD, 10) = 10
fcntl(1, F_GETFD) = 0
fcntl(10, F_SETFD, FD_CLOEXEC) = 0
dup2(2, 1) = 1
fcntl(2, F_GETFD) = 0
fstat(1, {st_mode=
write(1, "znetconf: Error: There are no cc"..., 47znetconf: Error: There are no ccwgroup devices
) = 47
dup2(10, 1) = 1
fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC)
close(10) = 0
rt_sigprocmask(
rt_sigprocmask(
exit_group(31) = ?
+++ exited with 31 +++
tags: | added: architecture-s39064 bugnameltc-177422 severity-high targetmilestone-inin1910 |
Changed in ubuntu-z-systems: | |
assignee: | nobody → bugproxy (bugproxy) |
importance: | Undecided → Medium |
status: | New → Triaged |
status: | Triaged → Incomplete |
------- Comment From <email address hidden> 2019-09-13 05:55 EDT-------
@CAN. The problem is solved with Ubuntu 19.10, Please check if this is true from your perspective. Many thanks in advance