You are not logged in.

#1 2017-10-15 13:25:55

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 223

[systemd] Failed to populate /etc. Cannot assign requested address.

I searched over the forum but didn't find answers. Has anyone seen this after updated to systemd v235?

systemd[1]: Failed to populate /etc with preset unit settings, ignoring: Cannot assign requested address

Offline

#2 2017-10-15 16:26:28

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [systemd] Failed to populate /etc. Cannot assign requested address.

Mod note: Moving to Applications and DEs.

Offline

#3 2017-10-15 17:01:22

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,674
Website

Re: [systemd] Failed to populate /etc. Cannot assign requested address.

Nope. Where are you seeing this?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2017-10-15 18:13:50

lo1
Member
Registered: 2017-09-25
Posts: 584

Re: [systemd] Failed to populate /etc. Cannot assign requested address.

@WorMzy that'd be interesting. @enihcam, is it just something scratching your mind or you do see some affliction/error in your running system? Right now i can't afford an update, i'm still running systemd 234, but i'd like to understand this.

Offline

#5 2017-10-15 22:20:10

Uriel_Bernhard48
Member
Registered: 2017-08-08
Posts: 29

Re: [systemd] Failed to populate /etc. Cannot assign requested address.

I have same issue. It happens on boot within initramfs stage, right after systemd starts:

archlinux systemd[1]: systemd 235 running in system mode. (+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +G
archlinux systemd[1]: Detected architecture x86-64.
archlinux systemd[1]: Running in initial RAM disk.
archlinux systemd[1]: Running with unpopulated /etc.
archlinux systemd[1]: No hostname configured.
archlinux systemd[1]: Set hostname to <archlinux>.
archlinux systemd[1]: Initializing machine ID from random generator.
archlinux systemd[1]: Failed to populate /etc with preset unit settings, ignoring: Cannot assign requested address
archlinux systemd[1]: Reached target Timers.
archlinux systemd[1]: Reached target Local File Systems.

Last edited by Uriel_Bernhard48 (2017-10-15 22:23:17)

Offline

#6 2017-10-15 22:38:29

lo1
Member
Registered: 2017-09-25
Posts: 584

Re: [systemd] Failed to populate /etc. Cannot assign requested address.

Uriel_Bernhard48 wrote:

I have same issue. It happens on boot within initramfs stage, right after systemd starts:

archlinux systemd[1]: No hostname configured.

If you know what i mean, that's not best practice (i mean, set a hostname properly).

Probably i've got no clue since OP didn't mention It.

Edit: i've been too aggressive. Check if

echo $HOSTNAME

actually give out the hostname you've configured, because there's clearly something wrong about that.

Last edited by lo1 (2017-10-15 22:43:38)

Offline

#7 2017-10-15 22:56:42

Uriel_Bernhard48
Member
Registered: 2017-08-08
Posts: 29

Re: [systemd] Failed to populate /etc. Cannot assign requested address.

@lo1 It's message from initramfs, not real system. Don't worry about it.

Offline

#8 2017-10-15 23:17:16

lo1
Member
Registered: 2017-09-25
Posts: 584

Re: [systemd] Failed to populate /etc. Cannot assign requested address.

Uriel_Bernhard48 wrote:

@lo1 It's message from initramfs, not real system. Don't worry about it.

Yeah sorry, I was going to re-edit cause actually

 archlinux systemd[1]: Running with unpopulated /etc. 

is the interesting clue, not a consequence as i thought. Better wait the savvy here, though i wish to understand if this is causing issues running your loaded system.

Offline

#9 2017-10-16 00:44:22

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 223

Re: [systemd] Failed to populate /etc. Cannot assign requested address.

lo1 wrote:

@WorMzy that'd be interesting. @enihcam, is it just something scratching your mind or you do see some affliction/error in your running system? Right now i can't afford an update, i'm still running systemd 234, but i'd like to understand this.

I'm seeing this from dmesg in my three archlinux-based systems (VM, Router, and laptop):

[  +0.012029] systemd[1]: systemd 235 running in system mode. (+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS 
[  +0.000182] systemd[1]: Detected architecture x86-64.
[  +0.000004] systemd[1]: Running in initial RAM disk.
[  +0.000008] systemd[1]: Running with unpopulated /etc.
[  +0.000056] systemd[1]: Initializing machine ID from random generator.
[  +0.016207] systemd[1]: Failed to populate /etc with preset unit settings, ignoring: Cannot assign requested address
[  +0.007292] systemd[1]: Reached target Local File Systems.
[  +0.000104] systemd[1]: Reached target Timers.
[  +0.000228] systemd[1]: Created slice system.slice.
[  +0.000090] systemd[1]: Listening on Journal Socket (/dev/log).

Last edited by enihcam (2017-10-16 00:47:37)

Offline

#10 2017-10-16 00:55:43

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [systemd] Failed to populate /etc. Cannot assign requested address.

So it happens in the initramfs and makes no difference. Sounds like something to just ignore.

Offline

#11 2017-10-16 10:07:45

Uriel_Bernhard48
Member
Registered: 2017-08-08
Posts: 29

Re: [systemd] Failed to populate /etc. Cannot assign requested address.

It's not really an issue, just question what does it mean. It's presented with warning severity in journal.

Offline

#12 2017-10-26 16:35:00

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,360

Re: [systemd] Failed to populate /etc. Cannot assign requested address.

Seems it is discussed upstream at https://github.com/systemd/systemd/issues/7100


Mike C

Offline

#13 2017-10-26 17:00:21

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: [systemd] Failed to populate /etc. Cannot assign requested address.

Maybe we could include /etc/machine-id in the initramfs? That should stop systemd from seeing an unpopulated /etc.

Last edited by progandy (2017-10-26 17:00:51)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#14 2017-10-26 20:08:25

loqs
Member
Registered: 2014-03-06
Posts: 19,097

Re: [systemd] Failed to populate /etc. Cannot assign requested address.

I would leave this issue to be resolved by upstream or at least resolve 54943 first as it actually causes breakage and being a systemd 234 issue predates this one.
Edit:
Should be fixed in systemd 236 https://github.com/systemd/systemd/pull/7360 / https://github.com/systemd/systemd/comm … fbb8fcc277

Last edited by loqs (2017-11-17 16:56:37)

Offline

Board footer

Powered by FluxBB