On Fri, 2014-12-05 at 08:08 +0000, Zhang, Zhengguang wrote: > Hi, Mikko > > Thanks for your feedback. > > The context is: currently Tizen ConnMan is multiuser compliant, when > system boots up, ConnMan will check whether the user has permission to > auto connect wifi service which has been connected before. If ConnMan > can’t get the user name or user id, it can’t decide whether to permit > the user for the operation. In current Tizen IVI, if systemd does not > write utmp entries for logged users, is there any way to get the > related user info(user name or user id) from ConnMan side? Besides, > the way should be compliant with Tizen Common too.
What if the default user doesn't log in? If someone else, who doesn't have permission to autoconnect wifi, logs in, shouldn't the end result be that wifi doesn't get connected? If so, then ConnMan shouldn't connect before there are some logged in users. To me it would seem logical to initiate the autoconnection as part of the user login procedure, which would mean that ConnMan shouldn't initiate the connection itself, but just wait for the logged in user to do that. If there really is some good reason why ConnMan should be the initiator, then ConnMan can use logind's dbus API to monitor which users are logged in, so when a user with the required privileges logs in, ConnMan can autoconnect wifi at that point. -- Tanu _______________________________________________ IVI mailing list [email protected] https://lists.tizen.org/listinfo/ivi
