From: Thorsten Leemhuis <regressions@leemhuis.info>
To: "regressions@lists.linux.dev" <regressions@lists.linux.dev>
Subject: Re: v6.1-rc1: Regression in notification of sethostname changes #forregzbot
Date: Sun, 23 Oct 2022 14:56:59 +0200 [thread overview]
Message-ID: <e910961b-2a8a-9d50-5842-54632aa05cd4@leemhuis.info> (raw)
In-Reply-To: <2ec00aa0-ccd0-d7f2-261a-3457745545a8@leemhuis.info>
[Note: this mail is primarily send for documentation purposes and/or for
regzbot, my Linux kernel regression tracking bot. That's why I removed
most or all folks from the list of recipients, but left any that looked
like a mailing lists. These mails usually contain '#forregzbot' in the
subject, to make them easy to spot and filter out.]
#regzbot fixed-by: 54de93cd8740d5
On 20.10.22 14:43, Thorsten Leemhuis wrote:
> On 19.10.22 10:29, Torsten Hilbrich wrote:
>> Hello Petr,
>>
>> your commit
>>
>> commit bfca3dd3d0680fc2fc7f659a152234afbac26e4d
>> Author: Petr Vorel <pvorel@suse.cz>
>> Date: Thu Sep 1 21:44:03 2022 +0200
>>
>> kernel/utsname_sysctl.c: print kernel arch
>>
>> Print the machine hardware name (UTS_MACHINE) in /proc/sys/kernel/arch.
>>
>> This helps people who debug kernel with initramfs with minimal environment
>> (i.e. without coreutils or even busybox) or allow to open sysfs file
>> instead of run 'uname -m' in high level languages.
>>
>> broke the notification mechanism between the sethostname syscall and the pollers of /proc/sys/kernel/hostname.
>>
>> The table uts_kern_table is addressed within uts_proc_notify by the enum value, however no new enum value was added in "enum uts_proc".
>>
>> I noticed the problem when journald-systemd failed to detect hostname changes made with the sethostname syscall (as used by the hostname tool).
>> When setting the hostname through /proc/sys/kernel/hostname the poll notification was working.
>
> Thanks for the report. To be sure below issue doesn't fall through the
> cracks unnoticed, I'm adding it to regzbot, my Linux kernel regression
> tracking bot:
>
> #regzbot ^introduced bfca3dd3d0
> #regzbot ignore-activity
>
> This isn't a regression? This issue or a fix for it are already
> discussed somewhere else? It was fixed already? You want to clarify when
> the regression started to happen? Or point out I got the title or
> something else totally wrong? Then just reply -- ideally with also
> telling regzbot about it, as explained here:
> https://linux-regtracking.leemhuis.info/tracked-regression/
>
> Reminder for developers: When fixing the issue, add 'Link:' tags
> pointing to the report (the mail this one replies to), as explained for
> in the Linux kernel's documentation; above webpage explains why this is
> important for tracked regressions.
>
> Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat)
>
> P.S.: As the Linux kernel's regression tracker I deal with a lot of
> reports and sometimes miss something important when writing mails like
> this. If that's the case here, don't hesitate to tell me in a public
> reply, it's in everyone's interest to set the public record straight.
prev parent reply other threads:[~2022-10-23 12:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <0c2b92a6-0f25-9538-178f-eee3b06da23f@secunet.com>
2022-10-20 12:43 ` v6.1-rc1: Regression in notification of sethostname changes Thorsten Leemhuis
2022-10-23 12:56 ` Thorsten Leemhuis [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e910961b-2a8a-9d50-5842-54632aa05cd4@leemhuis.info \
--to=regressions@leemhuis.info \
--cc=regressions@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).