-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-9.3.0
-
None
-
util-linux-2.37.4-20.el9
-
Yes
-
Important
-
Regression
-
rhel-sst-cs-plumbers
-
ssg_core_services
-
26
-
2
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
-
x86_64
-
None
What were you trying to do that didn't work?
While piping or redirecting information through 'more' and pressing CTRL-C the INT signal is not getting received by 'more', the signal gets to the complete process group except more. This seems to be a change in behavior from RHEL 7 and RHEL 8.
The same happens on Fedora. It does not happens with 'less'.
Please provide the package NVR for which bug is seen:
util-linux-core-2.37.4-15.el9
util-linux-core-2.38.1-4.fc38
How reproducible:
Always
Steps to reproduce
- With any text file that has enough data to be paginated run:
- grep . /var/log/messages | more
or - more < /var/log/messages
- On first page press CTRL-C
Expected results
- All group processes (if any) including 'more' gets interrupted.
Actual results
- Press 'q' to exit as nothing happens on more (actually grep or any other process in the process group gets the signal and behaves accordingly)
Additional information
[root@r93 ~]# strace -Tttvf -e "rt_sigprocmask,rt_sigaction" /usr/bin/more <<<""
18:50:30.649547 rt_sigaction(SIGTSTP, {sa_handler=SIG_IGN, sa_mask=[TSTP], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fa06a454db0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 <0.000026>
18:50:30.650138 rt_sigprocmask(SIG_BLOCK, [INT QUIT CONT TSTP WINCH], NULL, 8) = 0 <0.000028>18:50:30.651120 +++ exited with 0 +++
- is cloned by
-
RHEL-55725 RHEL10: While piping or redirecting information through 'more' and pressing CTRL-C the INT signal is not getting received
- Planning
- links to
-
RHBA-2024:137968 util-linux bug fix update