Score:0

Cannot edit journald.conf

rw flag

I'm working with a embedded linux machine that was made with Buildroot. The default user is root and I would like to edit /etc/systemd/journald.conf to set the SystemMaxUse to prevent the log files from taking all the limited space.

When I try to edit this file as root using vi journald.conf it says [ReadOnly] in the status bar. The permissions for user are rw yet I can't write to this file as root. I tried :set noreadonly in vi but it still says [ReadOnly]. I tried stopping the journald service then editing the file but it was still read only.

Why I can't edit this file even though I'm the root user and the root user should have rw permissions to this file? (btw, this system doesn't have sudo)

Romeo Ninov avatar
in flag
Have you check if filesystem is readonly?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.