I used NM 1.32.12 in an embedded environment, I have another daemon which is 
responsible for creating and monitoring connection profiles via libnm. I 
recently experienced errors I cannot understand, I received an error "Unable to 
determine UID of the request" in the completion callback of 

Looking at the code , it leads to this function 
 that return NULL.
src/core/nm-dbus-manager.c · 1.32.12 · NetworkManager / 
NetworkManager — network management daemon

The problem is there are no error/warning logs in NM which could help me to 
understand (so I guess the various g_return_val_if_fail used in the function 
are not reached). The only difference I see (beside the error of course) is the 
completion time between the async request and its response in my daemon 
(roughly 4 seconds in case of error instead of practically instant).

From what I understand, it is related to authorization check but before this 
error, my daemon managed to create a NMClient and perform various getter on it.
Several things that I can add for information:
  - The system does not use polkit.
  - NM runs as root and the client runs as a limited user.
  - The problem is pretty hard to reproduce (see this two times on several 
thousand of the same sequence).

Can you please give advice on how I can investigate more on that ? Maybe some 
particular traces to activate ?

Thank you very much in advance for all the help you can bring.

Your privacy is important to us. Please see our Privacy 
Notice<https://www.sigfox.com/en/privacy-and-cookies-policy> for further 
details. The information contained in this Message is confidential. If you are 
not the addressee, you may not copy, forward, disclose or use any part of it. 
If you have received this Message in error, please delete it and all copies 
from your system and notify the sender immediately by return message. Any use 
of information contained in this Message not in accordance with its intended 
purpose, any dissemination or disclosure (either whole or partial), is 
prohibited unless expressly authorized. Email communication cannot be 
guaranteed to be timely secure, error or virus-free. The sender cannot be held 
responsible for any alteration, errors or omissions, which arise as a result.


La protection de vos données personnelles est primordiale pour notre 
établissement. Merci de consulter notre notice sur la protection des données 
personnelles <https://www.sigfox.com/en/privacy-and-cookies-policy> pour plus 
d’informations. Ce message et toutes les pièces jointes (ci-après le 'Message') 
sont établis à l'intention exclusive des destinataires. Les informations qui y 
figurent sont confidentielles. Si vous n'êtes pas le destinataire de ce 
Message, il vous est interdit de le copier, de le faire suivre, de le divulguer 
ou d'en utiliser tout ou partie. Si vous avez reçu ce Message par erreur, merci 
de le supprimer de votre système, ainsi que toutes ses copies, et de n'en 
garder aucune trace sur quelque support que ce soit. Veuillez également en 
avertir immédiatement l'expéditeur par retour du Message. Toute utilisation de 
ce Message non conforme à sa destination, toute diffusion ou toute publication 
totale ou partielle, est interdite sauf autorisation expresse. Il est 
impossible de garantir que les communications par messagerie électronique 
arrivent en temps utile, soient sécurisées ou dénuées de toute erreur ou virus. 
L'expéditeur ne peut être tenu responsable des modifications, erreurs ou 
omissions qui pourraient en résulter.
networkmanager-list mailing list

Reply via email to