edubuntu-bugs team mailing list archive
-
edubuntu-bugs team
-
Mailing list archive
-
Message #08268
[Bug 1780996] Re: Convert triggers to noawait
** Description changed:
This is a bug collecting all remaining packages that need to be
converted to noawait in xenial or bionic.
+
+ [Impact]
+ "await" triggers are run before a package is configured. If B activates A, then A's trigger code in the postinst must be run before A can be configured.
+
+ Triggers do not specify a ordering dependency however, so apt can very
+ well have A in a state where it is not configurable, and installing B
+ then fails. This is a limitation of triggers: They are not exposed in
+ Packages files, so we don't see them.
+
+ What this means is that packages with await triggers either need to have
+ all triggering packages depend on them (e.g. B Depends A), or they need
+ to be moved to noawait.
+
+ This bug is about moving triggers to be noawait, by changing "activate"
+ to "activate-noawait" and/or "interest" to "interest-noawait". If it
+ turns out the trigger should be "await", we should explictly use the
+ "interest-await" and "activate-await" variants in cosmic too.
+
+ [Test case]
+ There is no test case.
+
+ [Regression potential]
+ Packages triggering other packages are now configured even without the package being triggered being fully configured (they will be in the triggers-pending state).
+
+ In most cases, this is not a problem. However, packages should be usable
+ when configured, so for example, a package installing a gsettings schema
+ would need to depend on the appropriate gsettings stuff and keep
+ triggering it via await, as it would crash otherwise despite being
+ configured.
--
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to yorick in Ubuntu.
https://bugs.launchpad.net/bugs/1780996
Title:
Convert triggers to noawait
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1780996/+subscriptions
References