{"id":11120,"date":"2025-07-11T10:29:56","date_gmt":"2025-07-11T14:29:56","guid":{"rendered":"https:\/\/www.both.org\/?p=11120"},"modified":"2025-07-11T10:29:56","modified_gmt":"2025-07-11T14:29:56","slug":"about-those-livesys-error-messages","status":"publish","type":"post","link":"https:\/\/www.both.org\/?p=11120","title":{"rendered":"About those livesys error messages"},"content":{"rendered":"<div class=\"pld-like-dislike-wrap pld-template-1\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"\" data-post-id=\"11120\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                        <i class=\"fas fa-thumbs-up\"><\/i>\r\n                <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">    <\/span>\r\n<\/div><\/div>\n<p>Do you see error messages about livesys and livesys-late on the console and in the systemd journal like those in Figure 1?<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Jul 10 21:38:33 essex.both.org systemd-sysv-generator&#91;1124]: SysV service '\/etc\/rc.d\/init.d\/livesys-late' lacks a native systemd unit file, automatically generating a unit file for compatibility.\nJul 10 21:38:33 essex.both.org systemd-sysv-generator&#91;1124]: Please update package to include a native systemd unit file.\nJul 10 21:38:33 essex.both.org systemd-sysv-generator&#91;1124]: ! This compatibility logic is deprecated, expect removal soon.<\/code><\/pre>\n\n\n\n<p class=\"has-text-align-center\">Figure 1: Typical livesys error messages in the systemd journal.<\/p>\n\n\n\n<p>These error message don&#8217;t occur in systems that have been installed more recently, as I noticed on some of my newer systems. <\/p>\n\n\n\n<p>This is due to the fact that the SystemV init.d directory structure and these two files, livesys and livesys-late, don&#8217;t get automatically removed when older systems are upgraded to new release levels such as Fedora 41 to 42. These warning messages are alerting us to the fact that those files have been deprecated, but I&#8217;m not sure why the weren&#8217;t just deleted during upgrades. <\/p>\n\n\n\n<p>To fix this, I deleted those two files from \/etc\/rc.d\/init.d\/ and these errors no longer occur. I also deleted the \/etc\/rc[0-6].d links and their directories, rc.d\/rc[0-6].d.<\/p>\n\n\n\n<p>New installations have only the \/etc\/rc.d\/init.d directory with a README file that has the content shown in Figure 2.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>You are looking for the traditional init scripts in \/etc\/rc.d\/init.d,\nand they are gone?\n\nHere's an explanation on what's going on:\n\nYou are running a systemd-based OS where traditional init scripts have\nbeen replaced by native systemd services files. Service files provide\nvery similar functionality to init scripts. To make use of service\nfiles simply invoke \"systemctl\", which will output a list of all\ncurrently running services (and other units). Use \"systemctl\nlist-unit-files\" to get a listing of all known unit files, including\nstopped, disabled and masked ones. Use \"systemctl start\nfoobar.service\" and \"systemctl stop foobar.service\" to start or stop a\nservice, respectively. For further details, please refer to\nsystemctl(1).\n\nNote that traditional init scripts continue to function on a systemd\nsystem. An init script \/etc\/rc.d\/init.d\/foobar is implicitly mapped\ninto a service unit foobar.service during system initialization.\n\nThank you!\n\nFurther reading:\nman:systemctl(1)\nman:systemd(1)\nhttps:&#47;&#47;0pointer.de\/blog\/projects\/systemd-for-admins-3.html\nhttps:\/\/systemd.io\/INCOMPATIBILITIES<\/code><\/pre>\n\n\n\n<p class=\"has-text-align-center\">Figure 2: The README file<\/p>\n\n\n\n<p>I use Fedora so your experience on other distros may be different. For example, Linux Mint 22.1 uses systemd but still has about 30 SystemV start scripts. That also implies that other Ubuntu-based distros will also be configured this way.<\/p>\n\n\n\n<p>I&#8217;ve totally failed my duties as SysAdmin for not recognizing this before. And I really have no idea when this changeover actually took place in Fedora. But I did decide to figure it out today &#8212; at long last &#8212; and took the appropriate action. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you see error messages about livesys and livesys-late on the console and in the systemd journal like<\/p>\n","protected":false},"author":2,"featured_media":7549,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[5,419,160,241],"tags":[176,716],"class_list":["post-11120","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-startup","category-systemd","category-systemv","tag-systemd","tag-systemv-init"],"modified_by":"David Both","_links":{"self":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/11120","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11120"}],"version-history":[{"count":8,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/11120\/revisions"}],"predecessor-version":[{"id":11128,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/11120\/revisions\/11128"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/media\/7549"}],"wp:attachment":[{"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}