You are not logged in.

#1 2015-01-05 21:58:27

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,416

Journal Service delays startup on diskless clients

Do I just need to disable the journal on diskless clients or something else?


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#2 2015-01-05 22:58:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Journal Service delays startup on diskless clients

How did you setup the journal?

Offline

#3 2015-01-05 23:40:19

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,416

Re: Journal Service delays startup on diskless clients

It just does the default behavior through systemd, but it probably squawks because it wants permanent storage for the logs.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#4 2015-01-07 09:39:25

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Journal Service delays startup on diskless clients

Try an alternative journal setup.

Offline

#5 2015-01-07 13:29:38

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,416

Re: Journal Service delays startup on diskless clients

Didn't know there were alternates with systemd.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#6 2015-01-07 14:10:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Journal Service delays startup on diskless clients

I mean edit your journald.conf and change the options.

Offline

#7 2015-01-07 21:25:10

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,416

Re: Journal Service delays startup on diskless clients

Looks like the only feasible option here is to change Storage=volatile.  This will store logs in memory, which prevents different stateless clients writing over each other, but might be nice to know what crashed before I could find out.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#8 2015-01-07 21:32:07

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,796
Website

Re: Journal Service delays startup on diskless clients

Why not just mask the service?

# systemctl mask systemd-journald.service
# systemctl mask systemd-journal-flush.service
# systemctl mask systemd-journald-dev-log.socket
# systemctl mask systemd-journald.socket

That's probably overkill -- you may only need to mask the .sockets

EDIT: Ooops! Sorry! sad

Last edited by Head_on_a_Stick (2015-01-08 20:57:27)


Jin, Jîyan, Azadî

Offline

#9 2015-01-08 14:43:07

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Journal Service delays startup on diskless clients

Head_on_a_Stick wrote:

Why not just mask the service?

# systemctl mask systemd-journald.service
# systemctl mask systemd-journal-flush.service
# systemctl mask systemd-journald-dev-log.socket
# systemctl mask systemd-journald.socket

That's probably overkill -- you may only need to mask the .sockets

Why not? Its unsupported. It will cause logs to be lost. Programs may break in strange ways. Do not do this. Using volatile storage (or none) is a supported option.

Last edited by falconindy (2015-01-08 14:43:40)

Offline

#10 2015-01-08 15:00:09

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,416

Re: Journal Service delays startup on diskless clients

falconindy wrote:
Head_on_a_Stick wrote:

Why not just mask the service?

# systemctl mask systemd-journald.service
# systemctl mask systemd-journal-flush.service
# systemctl mask systemd-journald-dev-log.socket
# systemctl mask systemd-journald.socket

That's probably overkill -- you may only need to mask the .sockets

Why not? Its unsupported. It will cause logs to be lost. Programs may break in strange ways. Do not do this. Using volatile storage (or none) is a supported option.

This problem was only starting to show up with a fresh PXE client, but this hasn't been a problem previously.  Is there an option that maybe hasn't been considered for the fact that diskless would be on  an nfs or sshfs mount instead of "permanent" storage?


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB