Ticket #94 (new defect)

Opened 17 months ago

Last modified 17 months ago

motd link not created properly on systems build in chroot

Reported by: jrollins Owned by: jrollins
Priority: minor Component: debirf
Keywords: Cc:

Description (last modified by jrollins) (diff)

I built a debirf minimal image inside of a chroot, and when I booted it (which booted fine, fwiw) I noticed that the motd was missing. I noticed that the motd link was broken, and therefore motd was not displaying at all:

INIT: Entering runlevel: 2
Starting enhanced syslogd: rsyslogd.

Debian GNU/Linux lenny/sid debirf-minimal ttyS0

debirf-minimal login: root
0 debirf-minimal:~# ls -al /etc/motd
lrwxrwxrwx 1 root root 36 Nov  6 20:31 /etc/motd -> /home/test /minimal/root/var/run/motd
0 debirf-minimal:~# 

Building the image in a non-chroot environment causes no problems with the motd in the resulting image.

I don't have an idea about what could be causing this. Could it have something to do with how cpio creates the archive in the chroot?

Change History

Changed 17 months ago by jrollins

  • description modified (diff)
Note: See TracTickets for help on using tickets.