Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #68554
| From | Salvatore Bonaccorso <carnil@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#974193: linux-image-5.9.0-1-amd64: sunrpc.transports sysctl contains binary data |
| Date | 2020-11-13 10:40 +0100 |
| Message-ID | <BaDIK-3ij-3@gated-at.bofh.it> (permalink) |
| References | <B9Tmy-Ql-25@gated-at.bofh.it> <B9Tmy-Ql-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
Source: linux
Source-Version: 5.9.6-1
Hi,
On Wed, Nov 11, 2020 at 08:51:14AM +0100, Bart-Jan Vrielink wrote:
> Package: src:linux
> Version: 5.9.1-1
> Severity: minor
>
> Dear Maintainer,
>
> The sunrpc.transports sysctl looks emtpy when directly queried with sysctl,
> but a closer inspection of /proc/sys/sunrpc/transports reveals a list of null
> bytes. Even weirder, sysctl -a does produce a different set of random(?)
> characters each time.
>
> I would expect an output such as:
> sunrpc.transports = tcp 1048576
> sunrpc.transports = udp 32768
>
> instead of this weirdness.
>
> $ /sbin/sysctl sunrpc.transports | cat -A ; od -c /proc/sys/sunrpc/transports ; /sbin/sysctl -a 2>/dev/null | grep -a sunrpc.transports
> sunrpc.transports = $
> 0000000 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
> 0000020 \0 \0 \0 \0 \0 \0
> 0000026
> sunrpc.transports = �]�
> $ /sbin/sysctl -a 2>/dev/null | grep -a sunrpc.transports
> sunrpc.transports = ��
> $ /sbin/sysctl -a 2>/dev/null | grep -a sunrpc.transports
> sunrpc.transports = �vo�
>
> Last week I updated this system to Debian testing (from stable).
I think this was fixed in c09f56b8f68d ("net/sunrpc: Fix return value
for sysctl sunrpc.transports") in v5.10-rc1 and was backported to
5.9.5, so in included in 5.9.6-1.
root@sid:~# uname -a
Linux sid 5.9.0-2-amd64 #1 SMP Debian 5.9.6-1 (2020-11-08) x86_64 GNU/Linux
root@sid:~# /sbin/sysctl sunrpc.transports | cat -A ; od -c /proc/sys/sunrpc/transports ; /sbin/sysctl -a 2>/dev/null | grep -a sunrpc.transports
sunrpc.transports = tcp 1048576$
sunrpc.transports = udp 32768$
0000000 t c p 1 0 4 8 5 7 6 \n u d p
0000020 3 2 7 6 8 \n
0000026
sunrpc.transports = tcp 1048576
sunrpc.transports = udp 32768
root@sid:~#
Regards,
Salvatore
Back to linux.debian.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Bug#974193: linux-image-5.9.0-1-amd64: sunrpc.transports sysctl contains binary data Bart-Jan Vrielink <bartjan@vrielink.net> - 2020-11-11 09:10 +0100 Bug#974193: linux-image-5.9.0-1-amd64: sunrpc.transports sysctl contains binary data Salvatore Bonaccorso <carnil@debian.org> - 2020-11-13 10:40 +0100
csiph-web