Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp728223rwi; Wed, 19 Oct 2022 02:03:19 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4ols4CiOv9gSo5zriLxlosj1M/YVQfKfy95X240UNdv0vVxW62+fAExScLftWhDI7LMLjq X-Received: by 2002:a62:5e81:0:b0:563:1f18:62ab with SMTP id s123-20020a625e81000000b005631f1862abmr7341521pfb.76.1666170199100; Wed, 19 Oct 2022 02:03:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666170199; cv=none; d=google.com; s=arc-20160816; b=WopOv57PB5nBk5nNsHMK+VkypGp3VgkU74RHn9MqYk+No4jSV52n9ijt7xZV4FfDLv 3GpMo5JUtg5mvRA+SHP9VUSyY+ldbcdy3iRXDcfdlDMoYUq+cmzcI/jIXike9YTCPba7 xOMTvisAe6rlsqUNNUAvY30Hc8vTjOnm5gO/4h21vYbgcTAM3/YHVAIx7pQI1IlIfNH5 YwY8VEl3vEw75VhFEK0+Z091KKVHiEdT/3inQMfOkxflAug2QQacW8SuidA/srW56s8Y 4SZ07gV7wJZZQ5QeujHDFjJvw9wx/1DAEImZbsBAP/rLMuJDI4F1g2Ia213E2Goqqqfr vbvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:user-agent:date:message-id:subject:cc:autocrypt:from :to; bh=bh5M7O14GYkQbho3WeEuUUreHCPGVOPQJBnqkM7NZko=; b=ZJHymMyhUlPBZ5xTO9KLj/H2SwxL+35WgEAFAW+KTc1QgTkTjrD9QDmP11CB4VvT9W rnwYkx7mMEOuT67cuMHER2vH1Xdf2S6udui2WMEuOg3VhIxcq+7hLvjJgL24vyxQAMyh ITkP/vVwPCHxiLo9akfSxqpa8RgnG4fEy3jHLWYWM7aW+s8Wa4KkNUnzBBU2zrkfhrYV fWgDrXBCh79QBS7YR1IiVO7qpwfTHfFpMMUlR1Agx+fozVY4Sq3M3aJILta9ng7I7T6m sV8TquQgYGWvobz9eFuUN8u3srrOIC+mLLJVZ0gOaSEsi7y40S2RwzyRos3/5AHjg2jI mS6A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h8-20020a170902f54800b0017693dbd8cdsi19492823plf.551.2022.10.19.02.03.06; Wed, 19 Oct 2022 02:03:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230010AbiJSIhX (ORCPT + 99 others); Wed, 19 Oct 2022 04:37:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229853AbiJSIhU (ORCPT ); Wed, 19 Oct 2022 04:37:20 -0400 X-Greylist: delayed 479 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 19 Oct 2022 01:37:16 PDT Received: from a.mx.secunet.com (a.mx.secunet.com [62.96.220.36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69E8D4F677 for ; Wed, 19 Oct 2022 01:37:16 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by a.mx.secunet.com (Postfix) with ESMTP id 2D89C2053B; Wed, 19 Oct 2022 10:29:15 +0200 (CEST) X-Virus-Scanned: by secunet Received: from a.mx.secunet.com ([127.0.0.1]) by localhost (a.mx.secunet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zr5txIv4uqss; Wed, 19 Oct 2022 10:29:14 +0200 (CEST) Received: from mailout1.secunet.com (mailout1.secunet.com [62.96.220.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by a.mx.secunet.com (Postfix) with ESMTPS id AEFB8204D9; Wed, 19 Oct 2022 10:29:14 +0200 (CEST) Received: from cas-essen-01.secunet.de (unknown [10.53.40.201]) by mailout1.secunet.com (Postfix) with ESMTP id A8B6380004A; Wed, 19 Oct 2022 10:29:14 +0200 (CEST) Received: from mbx-essen-02.secunet.de (10.53.40.198) by cas-essen-01.secunet.de (10.53.40.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 19 Oct 2022 10:29:14 +0200 Received: from [10.36.110.53] (10.36.110.53) by mbx-essen-02.secunet.de (10.53.40.198) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 19 Oct 2022 10:29:14 +0200 To: Petr Vorel From: Torsten Hilbrich Autocrypt: addr=torsten.hilbrich@secunet.com; prefer-encrypt=mutual; keydata= mQENBFs5uIIBCAD4qbEieyT7sBmcro1VrCE1sSnV29a9ub8c0Xj0yw0Cz2N7LalBn4a+YeJN OMfL1MQvEiTxZNIzb1I0bRYcfhkhjN4+vAoPJ3q1OpSY+WUgphUbzseUk/Bq3gwvfa6/U+Hm o2lvEfN2dewBGptQ+DrWz+SPM1TQiwShKjowY/avaVgrABBGen3LgB0XZXEH8Q720kjP7htK tCGRt1T+qNIj3tZDZfPkqEVb8lTRcyn1hI3/FbDTysletRrCmkHSVbnxNzO6lw2G1H61wQhw YVbIVNohY61ieSJFhNLL6/UTGHtUE2IAicnsUAUKR8GiI1+3cTf233O5HaWYeOjBmTCLABEB AAG0L1RvcnN0ZW4gSGlsYnJpY2ggPHRv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HzHAqlvfzCurqe616S4S1ax+erg3KTEXylxmzcFjJU8AUZURy/lQt VElzs4Km1p3v6GUciCAb+Uhd12sQG2mL05jmEems9uRe3Wfke/RKp8A+Yq+p6E0A0ZOP+Okm LXB2q+ckPvZG CC: Subject: v6.1-rc1: Regression in notification of sethostname changes Message-ID: <0c2b92a6-0f25-9538-178f-eee3b06da23f@secunet.com> Date: Wed, 19 Oct 2022 10:29:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-ClientProxiedBy: cas-essen-01.secunet.de (10.53.40.201) To mbx-essen-02.secunet.de (10.53.40.198) X-EXCLAIMER-MD-CONFIG: 2c86f778-e09b-4440-8b15-867914633a10 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Petr, your commit commit bfca3dd3d0680fc2fc7f659a152234afbac26e4d Author: Petr Vorel 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. Torsten