All of lore.kernel.org
 help / color / mirror / Atom feed
From: <colin.helliwell@ln-systems.com>
To: <yocto@yoctoproject.org>
Subject: Changing over to systemd (no dhcp)
Date: Wed, 18 Jan 2017 15:10:23 -0000	[thread overview]
Message-ID: <049201d2719c$fea9e670$fbfdb350$@ln-systems.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1314 bytes --]

We have a configuration for our embedded system which is working via SysV,
but we're investigating moving over to systemd. 

Not sure if this is 'wise' - if anyone has technological arguments
for/against then I'd be interested - but I wanted to investigate it anyway.

 

I've modified local.conf (right or wrong) with

  DISTRO_FEATURES_append = " systemd"

  VIRTUAL-RUNTIME_init_manager = "systemd"

  DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"

  VIRTUAL-RUNTIME_initscripts = ""

  KERNEL_ENABLE_CGROUPS = "1"

 

I also found a readme
(https://cgit.freedesktop.org/systemd/systemd/tree/README#n37) about the
kernel requirements for systemd, and it does at least now boot.

However although eth0 is coming up ('ifconfig eth0'), there doesn't seem to
be any dhcp happening - no IP etc.

Previously (under SysV) I had the busybox dhcp client; now it seems that is
missing. There's a symlink /etc/systemd/system/busybox-udhcpc.service to
/dev/null

I'm using 

  Poky Jethro

  Kernel 4.4.0

  Busybox 1.23.2 (with 'CONFIG_FEATURE_SYSTEMD=y')

 

I wondered if this is just a simple switch I'm missing somewhere, or is
there a whole load more modifications I need to dig into and hand-craft?
(Was hoping for something 'out of the box'..)

 

Thanks

 


[-- Attachment #2: Type: text/html, Size: 3836 bytes --]

             reply	other threads:[~2017-01-18 15:10 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-18 15:10 colin.helliwell [this message]
2017-01-18 17:51 ` Changing over to systemd (no dhcp) Rick Altherr
2017-01-18 21:35 ` Andre McCurdy
2017-01-19  0:21   ` Rick Altherr
2017-01-19  7:21     ` colin.helliwell
2017-01-19  8:31       ` ChenQi
2017-01-19 10:06         ` colin.helliwell
2017-01-20  2:11           ` ChenQi
2017-01-20 13:59             ` colin.helliwell
2017-01-21 13:08               ` Leon Woestenberg
2017-01-23  7:47                 ` colin.helliwell
2017-01-23  7:57                   ` Mike Looijmans
2017-01-23  9:19                   ` Patrick Ohly
2017-01-23 11:02               ` Mike Looijmans
2017-01-23 11:19                 ` Maciej Borzęcki
2017-01-19  7:20 ` Kristian Amlie
2017-01-19  9:18 ` Mike Looijmans
2017-01-20  6:15   ` Michael Gloff
2017-01-20 14:27     ` Mike Looijmans
2017-01-21 12:41       ` Leon Woestenberg
2017-01-23  7:15         ` Mike Looijmans
2017-01-20  6:33 ` Khem Raj

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='049201d2719c$fea9e670$fbfdb350$@ln-systems.com' \
    --to=colin.helliwell@ln-systems.com \
    --cc=yocto@yoctoproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.