Skip to contentSkip to conversation

Doesn't create global config file or its directory (/etc/iwd/)

DISCUSSION Diederik de Haas 2 participants 3 messages Dec 27, 2021 – Jan 9, 2022

lore
Share & tools
lore

Diederik de Haas

author
#0 lore raw

Hi,

I recently filed a Debian Bug against iwd and this is a forward for it:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002575

"I needed the "EnableNetworkConfiguration=true" setting, which IIUC should be done in /etc/iwd/main.conf, but I noticed that that file and directory didn't exist. I resolved it by using mkdir and creating the file with vim (as root) and I'm assuming/hoping things like permissions are set correctly. But I did wonder whether I was doing it incorrectly (and I may have, but it's working)."

The Debian maintainer informed me that there isn't such a config file in the upstream source code and I think it would be helpful if the directory with the correct permissions and the config file, which could f.e. only contain a commented reference to the iwd.config man page, would be created OOTB.

Cheers,
Diederik

#1 lore raw

Hi Diederik,

Quoted 4 lines

The Debian maintainer informed me that there isn't such a config file in the upstream source code and I think it would be helpful if the directory with the correct permissions and the config file, which could f.e. only contain a commented reference to the iwd.config man page, would be created OOTB.

I added a sample doc/main.conf in commit:
04fccea63bd4 ("doc: Add sample main.conf file"). We used to have something similar, but it was removed by commit:
e915156be1c6 ("doc: Remove obsolete main.conf example file")

The sample covers main.conf options that should be most relevant towards the use case you describe. If I missed some, we can add them as needed. Let us know if this is what the Debian package maintainer had in mind.

Regards,
-Denis

author
#2 lore raw
Quoted 8 lines · On Monday, 3 January 2022 21:34:32 CET Denis Kenzior wrote:

I added a sample doc/main.conf in commit:
04fccea63bd4 ("doc: Add sample main.conf file"). We used to have something similar, but it was removed by commit:
e915156be1c6 ("doc: Remove obsolete main.conf example file")

The sample covers main.conf options that should be most relevant towards the use case you describe. If I missed some, we can add them as needed. Let us know if this is what the Debian package maintainer had in mind.

from the Debian maintainer:
Looks good to me. Thanks!

Also thanks from my side :)

Cheers,
Diederik