[lkml]   [2013]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] um/configs: don't use devtmpfs in defconfig
Richard Weinberger wrote:
> Why does this confuse systemd? systemd has also a dependency on devtmpfs.

See getty@.service, which is a dependency of

# On systems without virtual consoles, don't start any getty. (Note
# that serial gettys are covered by serial-getty@.service, not this
# unit

No, systemd does not have a hard dependency on devtmpfs. See

if (detect_container(NULL) > 0) {
log_debug("Automatically adding console shell.");

if (add_symlink("console-getty.service", "console-getty.service") < 0)

/* Don't add any further magic if we are in a container */
goto finish;

I can add a rule for detect_vm() and id = "uml" here, so that um Linux
runs console-getty.service out-of-the-box. After I do that,
systemd-vconsole-setup.service will fail precisely because systemd
sees a /dev/tty0 and gets confused.

 \ /
  Last update: 2013-07-16 21:21    [W:0.067 / U:5.968 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site