LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ångström doesn't boot after masking systemd-journald.service. (https://www.linuxquestions.org/questions/linux-newbie-8/%C5ngstr%F6m-doesn%27t-boot-after-masking-systemd-journald-service-4175511069/)

ferite 07-14-2014 12:01 PM

Ångström doesn't boot after masking systemd-journald.service.
 
Hi.

After finding that almost a half (1.9GB) of my Ångström system storage capacity was being filled in /var/log/journal I made some things:

1. Deleted all content in the /var/log/journal folder (but not the folder itself).
2. Edited /etc/systemd/journald.conf (at the beginning all lines were commented) letting SystemMaxUse=16M
3. As the system has limited storage space, I went further and searched how to disable the journald service. I found that masking it (systemctl mask systemd-journald.service) should be better than disabling it (systemctl disable systemd-journald.service)

After this, the system does not boot any more. The boot message is the following:

http://s30.postimg.org/v9wmsp4nl/201...4_11_29_39.jpg

By enter to System Maintenance Mode, I have tried some things for fixing the system:

If i try to unmask the service (systemctl unmask systemd-journald.service) the message shown is "Failed to issue method call: Read-only file system"

If I try to disable the service (systemctl disable systemd-journald.service) there is not message generated, as if the command would be executed successfully.

If I try to enable the service (systemctl enable systemd-journald.service) the follow message is shown

http://s3.postimg.org/a3tuyoptv/2014_07_14_11_32_34.jpg

I hope that someone could give me some advice to get my system working again.

Thanks.

TobiSGD 07-15-2014 07:18 AM

As you can see, journald is a dependency for other services and shouldn't be masked.
Try to unmask it again, if you get the "read-only" message you have to remount the filesystems as read-write before:
Code:

mount -o remount,rw /

ferite 07-15-2014 09:57 AM

Quote:

Originally Posted by TobiSGD (Post 5204146)
As you can see, journald is a dependency for other services and shouldn't be masked.
Try to unmask it again, if you get the "read-only" message you have to remount the filesystems as read-write before:
Code:

mount -o remount,rw /

Thanks @TobiSGD . Remounting allowed me to start my system again.


All times are GMT -5. The time now is 10:31 PM.