Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 530314 - net-misc/networkmanager: add a news item for reminding people that ifnet file is replaced by keyfile?
Summary: net-misc/networkmanager: add a news item for reminding people that ifnet file...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 529964
  Show dependency tree
 
Reported: 2014-11-24 10:33 UTC by Pacho Ramos
Modified: 2014-12-02 14:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2014-11-24 10:33:51 UTC
In summary, it's for remembering the users once more what is shown in elog messages (as latest version won't crash when the plugin is not found, but people will still need to configure their networks again). This only affects to people running openRC as systemd people needed to do this migration long time ago:
                if ! version_is_at_least 0.9.10.0-r1 ${REPLACING_VERSIONS}; then
                        ewarn "Ifnet plugin is now disabled because of it being unattended"
                        ewarn "and unmaintained for a long time, leading to some unfixed bugs"
                        ewarn "and new problems appearing. We will now use upstream 'keyfile'"
                        ewarn "plugin."
                        ewarn "Because of this, you will likely need to reconfigure some of"
                        ewarn "your networks. To do this you can rely on Gnome control center,"
                        ewarn "nm-connection-editor or nmtui tools for example."
                fi
Comment 1 Pacho Ramos gentoo-dev 2014-11-25 09:08:39 UTC
Other (probably easier and enough) option would be to show the message also at pkg_pretend to warn people sooner :)
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2014-11-26 10:46:30 UTC
what about showing that message as long as an ifnet configuration is found ?
Like everytime this is relevant, not once when upgrading.
Comment 3 Pacho Ramos gentoo-dev 2014-11-26 11:09:44 UTC
(In reply to Gilles Dartiguelongue from comment #2)
> what about showing that message as long as an ifnet configuration is found ?
> Like everytime this is relevant, not once when upgrading.

It cannot be done because "${EROOT}etc/NetworkManager/NetworkManager.conf" will only be still present when it has been edited after it was installed by older NM versions, if not, the file could no longer exists while the networks were still not configured with new plugin :/

That is the reason both warnings and both cases are covered in ebuild now
Comment 4 Pacho Ramos gentoo-dev 2014-12-02 14:33:25 UTC
we agreed no more warnings are needed