>> When freshly installing linuxlogo on a system, I have to manually
>> crate the /var/run/linuxlogo directory.  This should be done in the
>> postinst script, I suppose.

Probably I misunderstod the problem at the time.  Anyway, what I observe
now is that on systems (like Ubuntu) which mount /var/run at boot time
on tmpfs, the /var/run/linuxlogo directory does not exist at boot, and
consequently /etc/issue.linuxlogo is a dangling symlink and the linux
logo is not shown on the console login screen.

This patch partially solves the problem:

*** /etc/init.d/linuxlogo~      2006-11-24 12:04:50.000000000 +0100
--- /etc/init.d/linuxlogo       2007-05-29 11:35:46.000000000 +0200
***************
*** 24,29 ****
--- 24,30 ----
  case "$1" in
    start|restart|force-reload)
    log_action_begin_msg "Updating the ${DESC}"
+   mkdir --parents /var/run/linuxlogo
    "$DAEMON" -f > /etc/issue.linuxlogo
    "$DAEMON" -a -f > /etc/issue.linuxlogo.ascii
    for F in /etc/issue.linuxlogo /etc/issue.linuxlogo.ascii

however, it does so only after one has logged in and out, because the
first getty for each terminal is called when the /etc/issue.linuxlogo
file is still a dangling symlink.  I think the easiest way out is to get
rid of symlinks and just create the files under /etc.  This would only
require a change in the install/remove scripts.


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

Reply via email to