[SOLVED] Systemd - disable services

This forum is dedicated to testing early releases and cauldron : Howtos, tips, tricks and user global feedback and thoughts...

Helpful tip :
For bugs tracking we use : https://bugs.mageia.org = The Mageia Bug Tracker
In this bug tracker you'll find already reported bugs and you'll be able to report those you have found....

[SOLVED] Systemd - disable services

Postby hibii » Jan 29th, '13, 19:41

How disable services: fedora-loadmodules.service?

Code: Select all
systemctl disable fedora-loadmodules.service


not work, services load:

Code: Select all
fedora-loadmodules.service            loaded failed failed


--
sorry my english
Last edited by hibii on Jan 30th, '13, 01:08, edited 1 time in total.
hibii
 
Posts: 5
Joined: Jan 29th, '13, 19:33

Re: Systemd - disable services

Postby oj » Jan 29th, '13, 22:02

Did you restart the computer? If not, you have to 'stop' the module too. 'disable' sets it to not load when booting the system.
oj
 
Posts: 232
Joined: Aug 23rd, '12, 00:22

Re: Systemd - disable services

Postby hibii » Jan 29th, '13, 22:22

Yes, after restart.
hibii
 
Posts: 5
Joined: Jan 29th, '13, 19:33

Re: Systemd - disable services

Postby doktor5000 » Jan 29th, '13, 22:37

[doktor5000@Mageia2 ~]$ systemctl status fedora-loadmodules.service
fedora-loadmodules.service - Load legacy module configuration
Loaded: loaded (/lib/systemd/system/fedora-loadmodules.service; static)
Active: active (exited) since Mon, 28 Jan 2013 00:10:38 +0100; 1 day and 21h ago
Process: 327 ExecStart=/lib/systemd/fedora-loadmodules (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/fedora-loadmodules.service


See the "static" attribute there? This means it cannot be disabled.
Question would rather be, why do you actually want to disable this, any particular reason?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18053
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Systemd - disable services

Postby hibii » Jan 30th, '13, 00:18

systemctl status fedora-loadmodules.service
fedora-loadmodules.service - Load legacy module configuration
Loaded: loaded (/usr/lib/systemd/system/fedora-loadmodules.service; static)
Active: failed (Result: exit-code) since Tue, 2013-01-29 23:03:42 CET; 11min ago
Process: 434 ExecStart=/lib/systemd/fedora-loadmodules (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/fedora-loadmodules.service

why do you actually want to disable this, any particular reason?

Because I've Active: failed
hibii
 
Posts: 5
Joined: Jan 29th, '13, 19:33

Re: Systemd - disable services

Postby hibii » Jan 30th, '13, 01:07

I delete /etc/modprobe.preload.d/cpufreq
I've old AthlonXP 2600
hibii
 
Posts: 5
Joined: Jan 29th, '13, 19:33

Re: Systemd - disable services

Postby doktor5000 » Jan 30th, '13, 07:05

hibii wrote:
Active: failed (Result: exit-code) since Tue, 2013-01-29 23:03:42 CET; 11min ago


Because I've Active: failed


Well, and? Me too, but there are not any real problem because of that ...
Hint: Only start investigating an error message, if you see real problems possibly connected to it.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18053
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] Systemd - disable services

Postby lemonzest » Jan 30th, '13, 08:36

this is the reason this service is failing

https://bugs.mageia.org/show_bug.cgi?id=8898
Mobo: MSI 990FXA-GD80, CPU: Phenom II x6 @3.6/4Ghz, Ram: 16GB A-Data DDR3 1333Mhz
HDD: Kingston V200 128GB SSD, Samsung Green 1TB x 3
GPU: ASUS Radeon HD 6670 1GB, 3 Screen Eyefinity :)
OS: Mageia Cauldron x86_64 Edition
User avatar
lemonzest
 
Posts: 6
Joined: Jun 12th, '12, 23:11

Re: [SOLVED] Systemd - disable services

Postby doktor5000 » Jan 30th, '13, 22:43

Sorry, looking at it again, i've got
Code: Select all
Active: active
there. Probably need more sleep :oops:
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18053
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Testing : Alpha, Beta, RC and Cauldron

Who is online

Users browsing this forum: No registered users and 1 guest

cron