butch unpack busybox and butch unpack sabotage-core cause havoc #554

Open
opened 5 years ago by rofl0r · 0 comments
rofl0r commented 5 years ago (Migrated from github.com)
Owner

basically they unlink a package before linking the pack in place, which is almost fatal in case of busybox, and makes butch itself disfunctional during the operation.

so the command should probably refrain from doing the unlink action if the no_unlink tag is given, as other commands do too.

(in the case of unlinking busybox, the system can be restored by using the existing busybox binary in /opt/busybox/bin to restore /bin/busybox and /bin/sh, and then setting PATH to /opt/busybox/bin and running butch relink busybox)

basically they unlink a package before linking the pack in place, which is almost fatal in case of busybox, and makes butch itself disfunctional during the operation. so the command should probably refrain from doing the unlink action if the no_unlink tag is given, as other commands do too. (in the case of unlinking busybox, the system can be restored by using the existing busybox binary in /opt/busybox/bin to restore /bin/busybox and /bin/sh, and then setting PATH to /opt/busybox/bin and running butch relink busybox)
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: sabotage-linux/sabotage#554
Loading…
There is no content yet.