From: "Anton V. Boyarshinov" <boyarsh@altlinux.org> To: Alex Moskalenko <mav@elserv.msk.su> Cc: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: Re: [Comm] Обычный файл вместо /dev/null Date: Wed, 27 Oct 2021 10:55:20 +0300 Message-ID: <20211027105520.34fa7a61@tower> (raw) In-Reply-To: <c3986d5c-d3f8-f6a8-c75e-f84fa2779b94@elserv.msk.su> Добрый день В Wed, 27 Oct 2021 07:29:49 +0300 Alex Moskalenko <mav@elserv.msk.su> пишет: > После очередного обновления системы на p10 c systemd компьютер перестал > загружать lxdm, останавливаясь на черном экране. Раскопки показали, что > в системе вместо устройства /dev/null после загрузки получается обычный > файл /dev/null с правами root:root 0600. Систему оживляет загрузка в > rescue.target, удаление файла, создание правильного /dev/null, > перезапуск всего, что запущено и переход к graphical.target. Судя по всему у вас sysctl kernel.core_pattern выставлен kernel.core_pattern = /dev/null Это неправильно Эта проблема возникла и исправлялась когда-то довольно давно, возможно, у вас какой-то файл при обновлении стал rpmnew. Правильного рецепта дать не могу, но добавление в /etc/sysctl.conf kernel.core_pattern=/ в первом приближении поможет. > Как избавиться от появления при загрузке неправильного пустого файла > вместо устройства /dev/null? В initrd по initrd-ls /dev/null правильный, > на FS корня тоже правильный, а при загрузке на udevfs - файл вместо > устройства. Кто отвечает за создание /dev/null в системе с systemd и как > вправить ему мозги? > > _______________________________________________ > community mailing list > community@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/community
next prev parent reply other threads:[~2021-10-27 7:55 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-10-27 4:29 Alex Moskalenko 2021-10-27 7:55 ` Anton V. Boyarshinov [this message] 2021-10-27 12:33 ` Alex Moskalenko
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=20211027105520.34fa7a61@tower \ --to=boyarsh@altlinux.org \ --cc=community@lists.altlinux.org \ --cc=mav@elserv.msk.su \ /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
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git