View Issue Details

IDProjectCategoryView StatusLast Update
0017184CentOS-7kernelpublic2020-03-25 20:32
Reportersajeshsingh01 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
Platformx86_64OSCentOSOS Version7.7
Product Version7.7-1908 
Target VersionFixed in Version 
Summary0017184: User cannot change permission on /dev/pts/* device
DescriptionWe are currently running the Slurm resource manager and there is a utility call srun that allows for users to run an interactive batch job on remote compute nodes. In a CentOS 7.3 server this works as expected. On a newly update CentOS 7.7 server the utility has stopped working. Doing an strace on the processes on the remote compute node shows the following error:


28597 chown("/dev/pts/1", 1326, 7) = -1 EPERM (Operation not permitted)

strace -f -p <PID>

28597 open("/dev/ptmx", O_RDWR) = 9
28597 statfs("/dev/pts", {f_type=DEVPTS_SUPER_MAGIC, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0
28597 ioctl(9, TCGETS, {B38400 opost isig icanon echo ...}) = 0
28597 ioctl(9, TIOCGPTN, [1]) = 0
28597 stat("/dev/pts/1", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
28597 getuid() = 1326
28597 socket(AF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 10
28597 connect(10, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
28597 close(10) = 0
28597 socket(AF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 10
28597 connect(10, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
28597 close(10) = 0
28597 open("/etc/group", O_RDONLY|O_CLOEXEC) = -1 EACCES (Permission denied)
28597 open("/usr/lib64/tls/libnss_sss.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
28597 open("/usr/lib64/libnss_sss.so.2", O_RDONLY|O_CLOEXEC) = 10
28597 read(10, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\25\0\0\0\0\0\0"..., 832) = 832
28597 fstat(10, {st_mode=S_IFREG|0755, st_size=37168, ...}) = 0
28597 mmap(NULL, 2131088, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 10, 0) = 0x2b5cf8003000
28597 mprotect(0x2b5cf800b000, 2093056, PROT_NONE) = 0
28597 mmap(0x2b5cf820a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0x7000) = 0x2b5cf820a000
28597 close(10) = 0
28597 mprotect(0x2b5cf820a000, 4096, PROT_READ) = 0
28597 open("/var/lib/sss/mc/group", O_RDONLY|O_CLOEXEC) = 10
28597 fstat(10, {st_mode=S_IFREG|0664, st_size=6406312, ...}) = 0
28597 mmap(NULL, 6406312, PROT_READ, MAP_SHARED, 10, 0) = 0x2b5cf8213000
28597 fstat(10, {st_mode=S_IFREG|0664, st_size=6406312, ...}) = 0
28597 chown("/dev/pts/1", 1326, 7) = -1 EPERM (Operation not permitted)
28597 close(9) = 0
28597 poll([{fd=3, events=POLLOUT}], 1, 5000) = 1 ([{fd=3, revents=POLLOUT}])
28597 fstat(3, {st_mode=S_IFREG|0600, st_size=3555, ...}) = 0
28597 write(3, "[2020-03-25T11:25:28.990] [91.0]"..., 79) = 79
28597 geteuid() = 1326
28597 tgkill(28597, 28600, SIGRT_1) = 0
28600 <... poll resumed> ) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
Additional Informationsrun -N1 -n1 --pty bash -i
TagsNo tags attached.
abrt_hash
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-03-25 20:32 sajeshsingh01 New Issue