{"id":1014155,"date":"2022-05-20T00:00:00","date_gmt":"2022-05-20T04:00:00","guid":{"rendered":"https:\/\/www.prime-wow.com\/?p=1014155"},"modified":"2022-05-20T00:00:00","modified_gmt":"2022-05-20T04:00:00","slug":"linux-to-introduce-the-ability-to-set-the-hostname-before-userspace-starts","status":"publish","type":"post","link":"https:\/\/www.prime-wow.com\/?p=1014155","title":{"rendered":"Linux To Introduce The Ability To Set The Hostname Before Userspace Starts"},"content":{"rendered":"<p>While the hostname on Linux systems is widely relied upon for different applications, setting the hostname is usually left up to user-space by the init system at boot. However, should any user-space processes try to read the system hostname prior to it being set, it could lead to unintended results. So now finally in 2022 there is a kernel parameter working its way upstream with &#8220;hostname=&#8221; should you want to ensure the hostname is set before user-space is started&#8230;&#013;<br \/>\n&#013;<br \/>\nSource: Phoronix &#8211; <a href=\"http:\/\/www.phoronix.com\/scan.php?page=news_item&amp;px=Linux-Kernel-Hostname-Set\" target=\"_blank\" rel=\"noopener\">Linux To Introduce The Ability To Set The Hostname Before Userspace Starts<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>While the hostname on Linux systems is widely relied upon for different applications, setting the hostname is usually left up to user-space by the init system at boot. However, should any user-space processes try to read the system hostname prior &hellip; <a href=\"https:\/\/www.prime-wow.com\/?p=1014155\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[78,110],"tags":[79],"class_list":["post-1014155","post","type-post","status-publish","format-standard","hentry","category-phoronix","category-unfiltered-rss","tag-phoronix"],"_links":{"self":[{"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/posts\/1014155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1014155"}],"version-history":[{"count":0,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/posts\/1014155\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1014155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1014155"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1014155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}