#255 Enable nmstate service
Merged a year ago by sgallagh. Opened a year ago by quiquell.
https://github.com/qinqon/rpms-fedora-release enable-nmstate-service  into  rawhide

Enable presets for nmstate.service
Enrique Llorente • a year ago  
90-default.preset
file modified
+6 -1
@@ -383,4 +383,9 @@

  

  # Enable Waydroid

  # https://bugzilla.redhat.com/show_bug.cgi?id=2157810

- enable waydroid-container.service 

\ No newline at end of file

+ enable waydroid-container.service

+ 

+ # Enable nmstate to apply network configuration from /etc/nmstate/*.yml

+ # https://github.com/coreos/fedora-coreos-tracker/issues/1175

+ # https://github.com/coreos/fedora-coreos-config/pull/2269

+ enable nmstate.service

no initial comment

Enable presets for nmstate.service

This service will apply network configuration present at /etc/nmstate

- https://github.com/coreos/fedora-coreos-tracker/issues/1175
- https://github.com/coreos/fedora-coreos-config/pull/2269

need to add an enable nmstate.service line?

Maybe add some more context:

Enable nmstate to apply network configuration from /etc/nmstate/*.yml

rebased onto 790a38aba9f3a469e0d9831633db932046f35421

a year ago

rebased onto 6ac0706

a year ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/54c431ed1cbb44dcb1f7bcd64dcb7664

Please see https://docs.fedoraproject.org/en-US/packaging-guidelines/DefaultServices/#_how_to_enable_a_service_by_default for instructions on how to request a preset. (It tells you to file a BZ which has a template of questions to answer).

Some questions:

What happens if /etc/nmstate is missing or empty? Does it fail to run or just exit with a non-error condition?

Does enabling this service implicitly change the behavior of NetworkManager (e.g. it uses the declarative format for configuration, overriding any existing configuration).

Depending on the answers, you may need to get approval from FESCo.

Please see https://docs.fedoraproject.org/en-US/packaging-guidelines/DefaultServices/#_how_to_enable_a_service_by_default for instructions on how to request a preset. (It tells you to file a BZ which has a template of questions to answer).

https://bugzilla.redhat.com/show_bug.cgi?id=2180507

Some questions:

What happens if /etc/nmstate is missing or empty? Does it fail to run or just exit with a non-error condition?

Currently, nmstate will fail with error when /etc/nmstate missing, and exit without error when folder is empty.

https://github.com/nmstate/nmstate/pull/2283 will change nmstate to ignore error when /etc/nmstate missing.

Does enabling this service implicitly change the behavior of NetworkManager (e.g. it uses the declarative format for configuration, overriding any existing configuration).

Yes. Nmstate will change configuration of NetworkManager using the file stored in /etc/nmstate folder. Any files name ending with .yml in /etc/nmstate folder will be applied to system and rename to .applied suffix after sucess to prevent repeat apply on next boot.

Depending on the answers, you may need to get approval from FESCo.

Thanks

Pull-Request has been merged by sgallagh

a year ago

Any chance we could get this for f38 too?

Metadata