Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558730 - net-misc/networkmanager-1.0.2-r1 - keepfile parsed by NetworkManager
Summary: net-misc/networkmanager-1.0.2-r1 - keepfile parsed by NetworkManager
Status: RESOLVED FIXED
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: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-25 15:57 UTC by Elias Probst
Modified: 2015-09-08 02:52 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 Elias Probst 2015-08-25 15:57:07 UTC
The keepfile created by the NetworkManager ebuild to maintain the empty directory /etc/NetworkManager/system-connections/ is parsed by NetworkManager leading to this error message in its journal/log:

Aug 25 17:51:51 moria NetworkManager[26794]: <warn>  keyfile: error loading connection from file /etc/NetworkManager/system-connections/.keep_net-misc_networkmanager-0: invalid connection: connection.type: property is missing

I wonder whether the keepfile is still needed or whether NetworkManager would nowadays create this directory on its own when needed.
Maybe there's also another/better way to deal with this.
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-08-25 18:38:09 UTC
(In reply to Elias Probst from comment #0)
> Maybe there's also another/better way to deal with this.

Yes: a tiny patch to ignore config files starting with ".keep_"
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-09-08 02:51:37 UTC
The problem with attempting to parse '.keep' files was already fixed upstream in networkmanager-1.0.4: https://bugzilla.gnome.org/show_bug.cgi?id=735824

Auto-creating the /etc/NetworkManager/system-connections/ would be nice, but is not really a bug that hurts gentoo (it just forces us to add 2 extra lines in the ebuild).

Marking issue as fixed.