Dariusz Dwornikowski wrote:
>> The simplest approach - editing /lib/systemd/system/[email protected] and
>> adding the "-f /etc/issue.linuxlogo" parameter to the ExecStart line -
>> gives the right result, but that solution is vulnerable to being
>> overwritten on upgrade.  (You also need to remember to invoke
>> "systemctl daemon-reload && getty@tty1 start", making sure you aren't
>> logged in on TTY1 at the time.)
> 
> I will put these two options to README for now. 

If my summary is unclear, here's a less compressed version:
 1) get root (or prefix "sudo" to each of the following), making
    sure you aren't logged in on TTY1
 2) edit /lib/systemd/system/[email protected] and add the parameter
    "-f /etc/issue.linuxlogo" to the ExecStart line
 3) systemctl daemon-reload && systemctl getty@tty1 start
 
>> The next best option - copying the file to /etc/systemd/system and
>> editing it there - also works, though it still means losing any
>> improvements in later versions of the packaged service file.

That is:
 2) cp -a /lib/systemd/system/[email protected] /etc/systemd/system/
    and edit /etc/systemd/system/[email protected] as above

>> The solution that the systemd docs claim we should use seems to
>> involve creating a $UNIT.d/linuxlogo.conf for just the parts we want
>> to override (making sure we set "ExecStart= " before we redefine it),
>> but none of my experiments with this have had any result whatsoever.
>> It doesn't even log any errors.  If anyone can provide a recipe
>> that works, that would deserve to go in the README.Debian file.
> 
> Can you point me to the "systemd docs" that claim this? I would like
> to experiment with that on my own. 

Well, my Testing machine with systemd isn't accessible at this moment,
but I think I got the basic idea from the systemd man pages and then
googled "/etc/systemd/system" - this is a good start:

https://wiki.archlinux.org/index.php/systemd#Writing_custom_.service_files

(I never did understand how the "@" in the service name works, and I
suspect this is why my solution only seems to put a logo on TTY1.)

I was intending to ask on the appropriate Debian mailing list, since I
saw somebody on debian-devel inviting people to do that... but I can't
remember what list that was.  Maybe
 http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/ ?
-- 
JBR     with qualifications in linguistics, experience as a Debian
        sysadmin, and probably no clue about this particular package


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to