[systemd-devel] Is it intentional that "systemctl cat" outputs "# /dev/null" for a masked unit?

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Tue Feb 2 09:34:50 UTC 2021


Well,

the subject says it all: I had masked a socket unit and the related non-socket-unit failed to start.
Trying to see the definition of the unit with "systemctl cat" I only saw "# /dev/null".
Is that intended? "systemctl show" still shows a lot of data...

My idea was when "unmask" knows how to get the unit, why shouldn't "cat" be able to, too?

(systemd-234-24.64.1.x86_64 of SLES15 SP2)

Regards,
Ulrich




More information about the systemd-devel mailing list