FedoraForum.org - Fedora Support Forums and Community
Results 1 to 13 of 13
  1. #1
    Join Date
    Feb 2012
    Location
    California
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to permanently disable systemd-journald.service

    Systemd journal is not working right --it slows down my system, creates huge logs and I don't see any need for it. The problem is that using systemctl to disable it does not work; I disable systemd-journald.service and systemd-journald.socket, stop them and on the next boot they're running again. The logs are huge and if I don't stop the service they grow enormous.
    System is fully updated fedora 19.

  2. #2
    Join Date
    Oct 2007
    Location
    Freedonia
    Age
    77
    Posts
    3,080
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to permanently disable systemd-journald.service

    Simply disabling a service isn't always enough, and now, I don't know why. To tell systemd that you really don't want it starting at boot, run this as root:

    systemctl mask systemd-journald.service

    You should see a response telling you that the service has been linked to /dev/null, which will make sure that it doesn't start at boot until you reverse the process by using unmask instead of mask.
    Registered Linux user #470359 and permanently recovered BOFH.

    Any advice in this post is worth exactly what you paid for it.

  3. #3
    Join Date
    Oct 2010
    Location
    Shanghai,China
    Posts
    92
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to permanently disable systemd-journald.service

    systemctl disable systemd-journald.service

  4. #4
    Join Date
    Oct 2007
    Location
    Freedonia
    Age
    77
    Posts
    3,080
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to permanently disable systemd-journald.service

    Disable should also work, but those who write the tutorials recommend using mask instead because it's guaranteed to work under all circumstances. Still, if you prefer to avoid heavy-handed solutions, you can try disable; if it doesn't stay disabled, you can always use mask.

    BTW, disabling or masking a service only keeps it from starting at boot; if you want it stopped now, you need to run this as root:

    systemctl stop systemd-journald.service

    You should get back a message confirming that the service has, indeed, stopped.
    Registered Linux user #470359 and permanently recovered BOFH.

    Any advice in this post is worth exactly what you paid for it.

  5. #5
    Join Date
    Jun 2010
    Location
    Lost...
    Posts
    1,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to permanently disable systemd-journald.service

    Quote Originally Posted by JoshuaA
    Systemd journal is not working right --it slows down my system, creates huge logs and I don't see any need for it. The problem is that using systemctl to disable it does not work; I disable systemd-journald.service and systemd-journald.socket, stop them and on the next boot they're running again. The logs are huge and if I don't stop the service they grow enormous.
    System is fully updated fedora 19.
    Reminds me an old bug in the beta version (see http://forums.fedoraforum.org/showthread.php?t=291813).
    If the logs grow up, it is an alert that something is wrong on the system: what are the messages logged?

    Try first to stop rsyslog, it must be enough:
    Code:
    systemctl stop rsyslog
    :confused:

  6. #6
    Join Date
    Feb 2012
    Location
    California
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to permanently disable systemd-journald.service

    Thank you all for the advise I will try masking the service.

    There is a bug in the kernel broadcom wireless driver that it constantly reports status --like a couple times per second. In an hour I get over 20 mb of the same message -- I don't find that useful. The system still logs information without systemd-journal, not as much information but enough.

    It may take a little while before everything works right but for the most part Fedora 19 is great and runs fine on my 3 year old dell laptop.

  7. #7
    Join Date
    Jun 2010
    Location
    Lost...
    Posts
    1,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to permanently disable systemd-journald.service

    Which module is it? If it is b43, you can select the verbosity (look at 'modinfo b43'). Default value is 'info', but I you can set it to 'error' to not have the status messages logged.
    :confused:

  8. #8
    Join Date
    Feb 2012
    Location
    California
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to permanently disable systemd-journald.service

    The driver is brcmsmac --it's already in bugzilla. It's an "upstream?" bug.

  9. #9
    Join Date
    Jun 2010
    Location
    Lost...
    Posts
    1,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to permanently disable systemd-journald.service

    Quote Originally Posted by JoshuaA
    The driver is brcmsmac --it's already in bugzilla. It's an "upstream?" bug.
    Ok. I guess there is nothing to do for this one apart disabling the logging and wait for an update...
    :confused:

  10. #10
    Join Date
    Jun 2012
    Location
    New Delhi, India
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to permanently disable systemd-journald.service

    Just rename the directory /var/log/journal to /var/log/journal.org and there will be no logging or delay afterwards.
    Let's do it your way...

  11. #11
    Join Date
    Aug 2009
    Posts
    11,390
    Mentioned
    98 Post(s)
    Tagged
    0 Thread(s)

    Re: how to permanently disable systemd-journald.service

    The best way is to just tell systemd to limit the size of the journal, and how long to keep it, etc..

    Check out the config file for it.

    /etc/systemd/journald.conf

  12. #12
    Join Date
    Nov 2016
    Location
    Italy
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smile Re: how to permanently disable systemd-journald.service

    Why do you want to use NSA spyware sponsored systemd and journald ?

    - Binary blob that nobody looks into, good to hide information
    - Touching all core commands of Linux, with lots of new interesting bugs and troians
    - All major distro jump onboard for no apparent reason whatsoever
    - So entangled with the whole system that it is impossible to replace

    Yes, it is a NSA spyware, no doubt about it

    If you are a normal person you should try your best to get rid of it... otherwise....

    keep up with the cheerleading

  13. #13
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    7,133
    Mentioned
    7 Post(s)
    Tagged
    1 Thread(s)

    Re: how to permanently disable systemd-journald.service

    Welcome to the forum,

    This is a very old thread and therefore it has been closed.

    ubuntu uses systemd and journald these days if you weren't already aware, NSA themselves originally developed SELinux but made it opensource. so you may want to swap to another distribution yourself containing none of these at all if concerned about such matters.

    FedoraForum.org Guidelines

Similar Threads

  1. How to permanently disable selinux
    By wvn in forum Guides & Solutions (Not For Questions)
    Replies: 25
    Last Post: 13th February 2014, 08:53 AM
  2. How do I disable Sticky/Slow Keys permanently?
    By omelette in forum Using Fedora
    Replies: 1
    Last Post: 30th December 2011, 05:44 PM
  3. How to disable a systemd service?
    By Japplo in forum F16 Development
    Replies: 8
    Last Post: 5th September 2011, 01:11 AM
  4. Replies: 2
    Last Post: 12th June 2009, 03:31 AM
  5. Disable Package Kit - PERMANENTLY
    By Vector in forum Using Fedora
    Replies: 8
    Last Post: 9th December 2008, 02:34 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •