View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002469 | Kali Linux | General Bug | public | 2015-08-03 06:03 | 2018-01-29 12:25 |
Reporter | Mister_X | Assigned To | g0tmi1k | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | suspended | ||
Summary | 0002469: Automatically unmount proc and sys when interrupting the ISO build script | ||||
Description | In some cases, when the build script gets interrupted by Ctrl-C, proc and sys and still mounted which is a problem when you want to delete the whole directory (fresh restart/whatever other reason). A 'trap' should be added in order to automatically ummount those when Ctrl-C or when the script is killed. An issue that can arise is the trap being run several times because the user hit Ctrl-C several times and there is a trick for that. | ||||
Additional Information | Let me know if you need help adding that, I can do it very easily, I've been using it on a few of my scripts. | ||||
Need to also unmount /dev/pts |
|
Except that all the mount are handled by live-build and not by our build script. If you have a fix for live build, I would gladly take it but I don't see it as easy as you assume... because the mount and umount are not done in the same process. live-build calls a bunch of helper scripts one after the other. |
|
It was build using build.sh from the live-build-config git. So it can easily be added in there. |
|
That's not a proper fix but I would accept a patch for this at the issue has been annoying me as well. |
|
Due to the age of the OS (Kali Moto [v1], Kali Safi [v2], Kali Rolling 2016.x), these legacy versions are no longer supported. Please could you see if you are able to replicate this issue with the latest version of Kali Linux - https://www.kali.org/downloads/)? If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing,and also give information about your setup? |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2015-08-03 06:03 | Mister_X | New Issue | |
2015-08-03 06:06 | Mister_X | Note Added: 0003650 | |
2015-09-03 09:41 | rhertzog | Note Added: 0003892 | |
2015-09-03 09:42 | rhertzog | Product Version | kali-dev => |
2015-09-03 09:42 | rhertzog | Summary | Automatically unmount proc and sys when interrupting the script => Automatically unmount proc and sys when interrupting the ISO build script |
2015-09-07 23:06 | Mister_X | Note Added: 0003965 | |
2015-09-08 07:16 | rhertzog | Note Added: 0003969 | |
2018-01-29 12:25 | g0tmi1k | Assigned To | => g0tmi1k |
2018-01-29 12:25 | g0tmi1k | Status | new => closed |
2018-01-29 12:25 | g0tmi1k | Resolution | open => suspended |
2018-01-29 12:25 | g0tmi1k | Note Added: 0008113 |