-
Bug
-
Resolution: Unresolved
-
Minor
-
None
Implied dependencies can be uninstalled, but they will forcibly be restored on startup (if bundled).
So allowing them to be uninstalled is pointless.
Steps to reproduce
- Install Caffeine API on 2.365.
- Get JavaBeans Activation Framework (JAF) API, JavaMail API, bouncycastle API, Instance Identity additionally.
- Uninstall as many of them (but not Caffeine API) as possible.
- Restart
Expected Results
Plugins remain uninstalled
Actual Results
2022-08-31 09:09:53.606+0000 [id=35] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /var/jenkins_home/plugins/javax-mail-api.jpi 2022-08-31 09:09:53.667+0000 [id=35] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /var/jenkins_home/plugins/bouncycastle-api.jpi 2022-08-31 09:09:53.733+0000 [id=35] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /var/jenkins_home/plugins/instance-identity.jpi
Notes
They remain disabled if they've been disabled before uninstallation, kind of defeating the purpose of forced installation, as JENKINS-68194 points out.
Suggestions
- (Preferred) Allow uninstallation, but add a marker file that prevents re-installation unless it's a mandatory dependency.
- Disallow uninstallation.
- relates to
-
JENKINS-72195 Plugins only implicitly depended on can be uninstalled but then are re-installed on startup
-
- Open
-
-
JENKINS-68194 Disabling plugins, "status" stays even after re-install
-
- Closed
-
[JENKINS-69487] It's pointless to uninstall implied dependencies
Description |
Original:
Implied dependencies can be uninstalled, but they will forcibly be restored on startup (if bundled).
So allowing them to be uninstalled is pointless. *Steps to reproduce* # Install Caffeine API on 2.365. # Get JavaBeans Activation Framework (JAF) API, JavaMail API, bouncycastle API, Instance Identity additionally. # Uninstall as many of them (but not Caffeine API) as possible. # Restart *Expected Results* Plugins remain uninstalled *Actual Results* {noformat} 2022-08-31 09:09:53.606+0000 [id=35] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /var/jenkins_home/plugins/javax-mail-api.jpi 2022-08-31 09:09:53.667+0000 [id=35] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /var/jenkins_home/plugins/bouncycastle-api.jpi 2022-08-31 09:09:53.733+0000 [id=35] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /var/jenkins_home/plugins/instance-identity.jpi {noformat} *Notes* They remain disabled if they've been disabled before uninstallation, kind of defeating the purpose of forced installation, as |
New:
Implied dependencies can be uninstalled, but they will forcibly be restored on startup (if bundled).
So allowing them to be uninstalled is pointless. *Steps to reproduce* # Install Caffeine API on 2.365. # Get JavaBeans Activation Framework (JAF) API, JavaMail API, bouncycastle API, Instance Identity additionally. # Uninstall as many of them (but not Caffeine API) as possible. # Restart *Expected Results* Plugins remain uninstalled *Actual Results* {noformat} 2022-08-31 09:09:53.606+0000 [id=35] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /var/jenkins_home/plugins/javax-mail-api.jpi 2022-08-31 09:09:53.667+0000 [id=35] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /var/jenkins_home/plugins/bouncycastle-api.jpi 2022-08-31 09:09:53.733+0000 [id=35] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /var/jenkins_home/plugins/instance-identity.jpi {noformat} *Notes* They remain disabled if they've been disabled before uninstallation, kind of defeating the purpose of forced installation, as *Suggestions* * (Preferred) Allow uninstallation, but add a marker file that prevents re-installation unless it's a mandatory dependency. * Disallow uninstallation. |
Link |
New:
This issue is blocking |
Link |
Original:
This issue is blocking |
Link |
New:
This issue relates to |
Link | New: This issue relates to JENKINS-72195 [ JENKINS-72195 ] |