public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: isar-users <isar-users@googlegroups.com>
Subject: mknod /dev/console can fail
Date: Wed, 2 Jan 2019 21:07:47 +0100	[thread overview]
Message-ID: <ebd6256c-e915-2fa5-deb6-5074bae35660@siemens.com> (raw)

Hi all,

just saw this in CI build:

[...]
2019-01-02 19:37:55 - INFO     - | localepurge: Removing disabled auto-generated config file.
2019-01-02 19:37:55 - INFO     - |
2019-01-02 19:37:55 - INFO     - |   To reinstall all the packages which localepurge has been taking care
2019-01-02 19:37:55 - INFO     - |   of before, you can use the following command:
2019-01-02 19:37:55 - INFO     - |
2019-01-02 19:37:55 - INFO     - |     apt-get -u --reinstall --fix-missing install $(dpkg -S LC_MESSAGES | cut -d: -f1 | tr ', ' '' | sort -u)
2019-01-02 19:37:55 - INFO     - |
2019-01-02 19:37:55 - INFO     - | mknod: /dev/console: File exists
2019-01-02 19:37:55 - INFO     - | WARNING: exit code 1 from a shell command.
2019-01-02 19:37:55 - INFO     - | ERROR: Function failed: do_rootfs (log file is located at /builds/ebsy/debian/build/tmp/work/jailhouse-demo-amd64/demo-image-qemu-amd64/temp/log.do_rootfs.66135)


I strongly suspect it comes from debian-configscript.sh:

# Create console device
if [ ! -e /dev/console ]; then
     mknod /dev/console c 5 1
fi


Something must be creating /dev/console in the background while the
config script runs. That is weird. Any ideas what could be the race
partner?

Do we still need this mknod? It date back to e7e59151f7f0. Removing this
would be the safest option because the case might be hard to reproduce -
I've only seen this once so far.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

                 reply	other threads:[~2019-01-02 20:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ebd6256c-e915-2fa5-deb6-5074bae35660@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox