LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-24-2022, 01:36 AM   #1
AngeloU
LQ Newbie
 
Registered: Nov 2021
Distribution: Debian, Ubuntu
Posts: 17

Rep: Reputation: Disabled
Debian : Plymouth service disabled ( !) . How to update system to a safer mode ?


(Thanks everybody for help, also corrections concerning my english writing are well accepted).


Using Dmesg (after booting ) I found several errors in ''w h i t e ''

One error concerns service Systemd :


[ 5.393182] systemd[1]: /lib/systemd/system/plymouth-start.service:16:


(follows ----) :
Code:
.... Unit configured to use KillMode=none.
 This is unsafe, as it disables systemd's process lifecycle management for the service.
Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'.
 Support for KillMode=none is deprecated and will eventually be removed.
Two questions:

1. Is it necessary to update to Killmode= ?
2. If yes, how to update Systemd service ?
 
Old 01-24-2022, 05:58 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
As long as they are in white, they're warnings, not errors. And not very serious at that (priority NOTICE). Real errors are in red. Serious warnings are yellow.

I found this podman issue. One of the comments there says:
Quote:
There's nothing to worry about. systemd decided to gently deprecate KillMode=none as it was a continuous source of confusion and bugs.
Also see plymouth issue #123. Lennart Poettering himself commented there. A preliminary fix was committed to plymouth git about a year ago. It's already in Debian sid.

You may just copy /lib/systemd/system/plymouth-start.service to /etc/systemd/system and change it accordingly.

Last edited by shruggy; 01-24-2022 at 06:30 AM.
 
1 members found this post helpful.
Old 01-31-2022, 03:01 AM   #3
AngeloU
LQ Newbie
 
Registered: Nov 2021
Distribution: Debian, Ubuntu
Posts: 17

Original Poster
Rep: Reputation: Disabled
Many thanks for your answer, very helpful.

File below modified as suggested :

Quote:
/lib/systemd/system/plymouth-start.service *

[Unit]
Description=Show Plymouth Boot Screen
DefaultDependencies=no
Wants=systemd-ask-password-plymouth.path
After=systemd-udev-trigger.service systemd-udevd.service keyboard-setup.service
Before=systemd-ask-password-plymouth.service
ConditionKernelCommandLine=!plymouth.enable=0
ConditionKernelCommandLine=!nosplash
ConditionVirtualization=!container
IgnoreOnIsolate=true


[Service]
ExecStart=/usr/sbin/plymouthd --mode=boot --pid-file=/run/plymouth/pid --attach-to-session
ExecStartPost=-/usr/bin/plymouth show-splash
Type=forking
RemainAfterExit=yes
KillMode=mixed
SendSIGKILL=no
Next step could be as follows ?

sudo cp /lib/systemd/system/plymouth-start.service /etc/systemd/system

Please confirm if said message is the right one to copy file to etc/systemd/system. (In order to avoid further errors).
 
Old 01-31-2022, 03:32 AM   #4
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Wait. You should have first copied the unit file to /etc/systemd/system, and only then modified it. Don't change the files in /lib/systemd: they will be overwritten on the next systemd update.

The idea is you make a copy in /etc/systemd/system, and modify the copy. Anything in /etc/systemd/ will then override the accordingly named files in /lib/systemd/ and be used instead of them.

Last edited by shruggy; 01-31-2022 at 03:35 AM.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Safer Way to Run Bleeding Edge Software on Debian and Ubuntu LXer Syndicated Linux News 0 02-06-2019 08:50 AM
DWA-131 Access Point - Debian : interface state UNINITIALIZED->DISABLED , AP-DISABLED mr.simo Linux - Networking 1 03-22-2018 03:29 PM
[SOLVED] Disabled nagios service starts on update (CentOS 6) genese Linux - Server 7 12-15-2017 10:12 AM
LXer: Update safer with GNOME 3.6! LXer Syndicated Linux News 0 06-05-2012 04:20 AM
[SOLVED] Installing Ruby on Rails -- "gem update --system is disabled on Debian". bartonski Debian 2 08-23-2009 09:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration