<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Thanks Daniel, that was quick.<br><br>Change this how?<br><br>Jean.<br><br><br><br><br><br>&gt; Date: Thu, 22 Oct 2009 09:59:27 -0700<br>&gt; From: dantti85-pk@yahoo.com.br<br>&gt; To: packagekit@lists.freedesktop.org<br>&gt; Subject: Re: [packagekit] Debconf and PackageKit Was Re: Packagekit and        Ubuntu<br>&gt; <br>&gt; Yes,<br>&gt; It has been there for a long time,<br>&gt; but hopefully in a few days the new<br>&gt; dbus frontend will change this.<br>&gt; <br>&gt; Daniel.<br>&gt; <br>&gt; <br>&gt; &gt;<br>&gt; &gt;De: Jean Hubbard<br>&gt; &gt;Assunto: Re: [packagekit] Debconf and PackageKit Was Re: Packagekit and Ubuntu<br>&gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt;Has non-interactive debconf support been in PK for sometime or is this new in the 0.5 series?<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;&gt; Date: Fri, 25 Sep 2009 08:35:19 +0100<br>&gt; &gt;&gt; From: hughsient@gmail.com<br>&gt; &gt;&gt; To: packagekit@lists.freedesktop.org<br>&gt; &gt;&gt; Subject: Re: [packagekit] Debconf and PackageKit Was Re: Packagekit and    Ubuntu<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; 2009/9/24 Sebastian Heinlein &lt;sebi@glatzor.de&gt;:<br>&gt; &gt;&gt; &gt; I have made up this plan to integrate debconf and conf file conflicts<br>&gt; &gt;&gt; &gt; into PackageKit. These issues will be handled during a running<br>&gt; &gt;&gt; &gt; transaction which will paused while waiting for an answer from the<br>&gt; &gt;&gt; &gt; user - new transaction will be blocked so long. To avoid an endless<br>&gt; &gt;&gt; &gt; block the caller-active property and a time out will be used.<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; If that's what we have to do, that's what we have to do. I can't say I<br>&gt; &gt;&gt; like it, but if we can run things un-attended, ten it doesn't break<br>&gt; &gt;&gt; too many of the use cases.<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; &gt; If the backend recognizes a conf file conflict, pauses the transaction<br>&gt; &gt;&gt; &gt; and reports this to the packagekit daemon. The daemon checks if the<br>&gt; &gt;&gt; &gt; caller is still active. If so it sends a ConfigFileConlift signal with<br>&gt; &gt;&gt; &gt; the old and new file as attributes. The user would call a<br>&gt; &gt;&gt; &gt; ResolveConfigFileConflict method with the new file or possible<br>&gt; &gt;&gt; &gt; predefined values like "keep" or "replace". The daemon sends the<br>&gt; &gt;&gt; &gt; answer to the backend.<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; Sounds sane.<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; &gt; If the caller is no longer available on the bus the daemon will report<br>&gt; &gt;&gt; &gt; this to the backend, which will choose a default action.<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; Doesn't the backend know if the caller is active or not?<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; &gt; Would be basically the same as for config file conflicts. We could<br>&gt; &gt;&gt; &gt; use the proxy debconf frontend. This allows to communicate with<br>&gt; &gt;&gt; &gt; debconf using a socket. The backend would listen on the socket and<br>&gt; &gt;&gt; &gt; behave like a normal debconf frontend. A configuration question would<br>&gt; &gt;&gt; &gt; be send to the backend and from the daemon to the user using a signal.<br>&gt; &gt;&gt; &gt; The signal would need some further thinking since there are different<br>&gt; &gt;&gt; &gt; kind of possible questions e.g. yes/no, lists. See above for answer and<br>&gt; &gt;&gt; &gt; caller-active handling.<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; Right.<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; &gt; A further issue is the communication with the backend. Currently we<br>&gt; &gt;&gt; &gt; cannot access the caller-active property from a spawned backend.<br>&gt; &gt;&gt; &gt; Should we send this information to the backend or limit this advanced<br>&gt; &gt;&gt; &gt; features to native backends?<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; There's no reason why we can't proxy this, the problem is that<br>&gt; &gt;&gt; typically we set the data as environment variables (NETWORK etc) which<br>&gt; &gt;&gt; don't change during the transaction. I'm not sure if you can change an<br>&gt; &gt;&gt; running process' environment. Other ways to contact the running<br>&gt; &gt;&gt; instance is just to dump more stuff to stdin, but if it's like the yum<br>&gt; &gt;&gt; backend it's blocking whilst it's running to command.<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; Either way, I think it's best if the backend itself knows if the<br>&gt; &gt;&gt; caller is active or not.<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; Richard.<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; p.s. Thanks for working on this.<br>&gt; &gt;&gt; _______________________________________________<br>&gt; &gt;&gt; PackageKit mailing list<br>&gt; &gt;&gt; PackageKit@lists.freedesktop.org<br>&gt; &gt;&gt; http://lists.freedesktop.org/mailman/listinfo/packagekit<br>&gt; &gt;<br>&gt; &gt;________________________________<br>&gt; New Windows 7: Simplify what you do everyday. Find the right PC for you.<br>&gt; <br>&gt; <br>&gt;       ____________________________________________________________________________________<br>&gt; Veja quais são os assuntos do momento no Yahoo! +Buscados<br>&gt; http://br.maisbuscados.yahoo.com<br>&gt; _______________________________________________<br>&gt; PackageKit mailing list<br>&gt; PackageKit@lists.freedesktop.org<br>&gt; http://lists.freedesktop.org/mailman/listinfo/packagekit<br>                                               <br /><hr />New Windows 7: Find the right PC for you. <a href='http://windows.microsoft.com/shop' target='_new'>Learn more.</a></body>
</html>