Commit 2bbf5dd
committed
fix: ll-package-manager process start abnormal
Remove the DBus connection check for ll-package-manager and always
start a new process. The previous logic attempted to reuse an existing
instance but the connection check was unreliable and introduced
complexity. Simplify by always spawning a new process via sudo and
sleeping to ensure readiness.
Log: ll-cli now always starts a new package-manager process instead of
reusing existing one
Influence:
1. Test normal command execution after the change
2. Verify that only one package-manager process runs when invoked
multiple times (if needed)
3. Ensure that existing operations (install, remove, etc.) still work
correctly
4. Check for any race conditions or startup failures due to concurrent
launches
5. Validate that the sleeping interval (1s) is sufficient for the
package-manager to initialize1 parent a38a61c commit 2bbf5dd
1 file changed
Lines changed: 9 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
714 | 714 | | |
715 | 715 | | |
716 | 716 | | |
717 | | - | |
718 | | - | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | | - | |
724 | | - | |
725 | | - | |
726 | | - | |
727 | | - | |
728 | | - | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | | - | |
734 | | - | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
735 | 726 | | |
736 | 727 | | |
737 | 728 | | |
| |||
0 commit comments