Bug 38348

Summary: Add default targets to the plymouth systemd files
Product: plymouth Reporter: Christoph Brill <egore>
Component: generalAssignee: Ray Strode [halfline] <rstrode>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: bigon, rstrode
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: plymouth-systemd.patch

Description Christoph Brill 2011-06-15 07:33:12 UTC
Created attachment 47998 [details] [review]
plymouth-systemd.patch

Attached is a patch to update the plymouth systemd files to add [Install]->WantedBy sections to the config files. This way "systemctl enable plymouth-halt" works.

The information which targets to use was taken from http://pkgs.org/fedora-15/fedora-i386/systemd-units-26-1.fc15.i686.rpm.html
Comment 1 Christoph Brill 2012-06-07 15:49:37 UTC
Moving component from systemd to plymouth, because the files were moved.
Comment 2 Ray Strode [halfline] 2012-11-07 19:34:16 UTC
thanks, sorry for the sluggish response.
Comment 3 Laurent Bigonville 2014-06-14 19:31:09 UTC
Hi,

I'm probably late here but, are you actually sure this was needed?

The .service files were already linked statically in the different target in (/usr)/lib/systemd/system/*.target.wants IMHO this was enough to make the things work.
Comment 4 Christoph Brill 2014-06-15 06:35:43 UTC
I think this patch shouild no longer be necessary. AS you point out Plymouth already provides links which renders calling "systemctl enable ..." obsolete. From what I remember this was not the case 3 years ago.
Comment 5 Laurent Bigonville 2014-06-15 10:14:55 UTC
I've opened a new bug about this #80048

Thanks

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.