All of lore.kernel.org
 help / color / mirror / Atom feed
* Changing over to systemd (no dhcp)
@ 2017-01-18 15:10 colin.helliwell
  2017-01-18 17:51 ` Rick Altherr
                   ` (4 more replies)
  0 siblings, 5 replies; 22+ messages in thread
From: colin.helliwell @ 2017-01-18 15:10 UTC (permalink / raw)
  To: yocto

[-- 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 --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2017-01-23 11:19 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-18 15:10 Changing over to systemd (no dhcp) colin.helliwell
2017-01-18 17:51 ` 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

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.