Re: [Fwd: system wide settings again ^^]



On Tue, 2008-08-05 at 16:43 +0100, Robert Piasek wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Dan,
> 
> 
> This time I've got different question about system wide settings.  Don't
> know if the problem is on my end or NM Makefile.
> 
> The file:
> /usr/share/dbus-1/system-services/org.freedesktop.NetworkManagerSystemSettings.service
> 
> contains entry:
> Exec=/usr/sbin/nm-system-settings --config  
> /etc/NetworkManager/nm-system-settings.conf
> 
> but after default installation I had no 
> /etc/NetworkManager/nm-system-settings.conf file
On my F9 machine the above file was created contining:
[main]
plugins=ifcfg-fedora
> 
> So I've created /etc/NetworkManager/nm-system-settings.conf as follow:
> [main]
> plugins=keyfile
> 
> When I tried to save the system wide settings I got another error
> (can't find it right now to link), but it was complaining that can't 
> save the settings. As I found out later on,  
> /etc/NetworkManager/system-connections/ didn't exist. NM tried to create it,
> but it created a FILE and die with an error. When I created the 
> directory manually and saved
> the example file everything worked fine.
> 
> Now my question is, does networkmanager create these files/folders by
> default during make install, or should it create when you
> try to save config file for the first time?
> 
> I've checked files which are installed by my script (which generally
> runs make install):
> (linked only etc files):
> 
> =>> [dir] /etc
> =>> [dir] /etc/dbus-1
> =>> [dir] /etc/dbus-1/system.d
> |-> [obj] /etc/dbus-1/system.d/NetworkManager.conf
> |-> [obj] /etc/dbus-1/system.d/nm-dhcp-client.conf
> |-> [obj] /etc/dbus-1/system.d/nm-dispatcher.conf
> |-> [obj] /etc/dbus-1/system.d/nm-avahi-autoipd.conf
> |-> [obj] /etc/dbus-1/system.d/nm-system-settings.conf
> =>> [dir] /etc/NetworkManager
> =>> [dir] /etc/NetworkManager/dispatcher.d
> =>> [dir] /etc/init.d
> |-> [obj] /etc/init.d/NetworkManager
> 
> 
> I've also checked src/Makefile.am and there is only:
> 
> rundir=$(localstatedir)/run/NetworkManager
> dispatcherdir=$(sysconfdir)/NetworkManager/dispatcher.d
> install-data-hook:
> ~           $(mkinstalldirs) -m 0700 $(DESTDIR)$(rundir)
> ~           $(mkinstalldirs) -m 0755 $(DESTDIR)$(dispatcherdir)
> 
> CLEANFILES = $(BUILT_SOURCES)
> 
> 
> 
> Should it be patched in NM or should distros come up with their own
> patches for it?
> 
> 
> 
> Thanks,
> 
> Rob
> 
> 
> 
> 
> 
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iQIcBAEBAgAGBQJImHUQAAoJELvLB8ABrzqYVt8QAM00u+5pYysyjmZCpmoY9CB9
> gswlLvULTDjj5wKToOVVBkTUQ/plfVOiwWwg58rnohFZjp3rtG2WWiJlHWPsumuU
> 2UZXlupo48fskuVJU6QpMn4yLPnkf9SwKsS/t9BCohM5mtECbQiSSAPnDKDchrS+
> /nk0mmX560wFEcAdtveZlHYQ0msFc9hBVsigysagtLN1WFAzrU9U175V3GyCY4W4
> Hu18s74TR1UOwB9kGT/reGhlmirEl7sIn5Uf1g5Fcl8GSPMuh4k5/AvRy25cqtZ5
> xPsiKF7JgvReCz38dzFa7Q+L+hw6qdp7RU9gGdkJk+frASZYz0MIOVbig3B+sLCv
> eG20TBoDRG4hAey41sDdkQWn4WUw0vglSelaEMq3/UZCnalR+wP5Z4wIlnyNRrXy
> E0aUq+AsSykslgOjv5r/PxfP9mXnJJ5S2g092/c/9UgXuMzT8+UYIkBcIpf7XiKw
> i6xwdn5PRHVT5RcQgrTsLry+zgQlSsZwITuKg0BIZ7JoOMxdjCVCCN2LUX2le3Np
> +vzO412akAJXQjk52wh8YYwnS1a9H3++NZUqSSo9ZpzaEabXbPAnF+vyANHo45B5
> NFrMBoTp/CO+yD20G3SXzTfDhAkVOsna1NM47PCxx//hlpV2mNefLfTCY0oIGkpV
> 2fv65bWBNJBQPoYgzR1A
> =1GnW
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
--
=======================================================================
"Take that, you hostile sons-of-bitches!" -- James Coburn, in the finale
of _The_President's_Analyst_
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam sbcglobal net



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]