View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005983 | Kali Linux | Kali Websites & Docs | public | 2020-01-08 16:53 | 2020-01-14 11:59 |
Reporter | EnceledusGoofOff | Assigned To | g0tmi1k | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 2019.4 | ||||
Summary | 0005983: Kali ISO of Doom instructions need to be updated | ||||
Description | Hello, I'm seeing an issue where files such as an openvpn config that are within includes.chroot aren't making their way to the generated ISO file. I have an ISO builder, made following the Kali ISO of Doom Too instructions. That ISO builder is fully up-to-date and contains three files I include on ISOs. Those files are included in the kali-linux-rolling-amd64.log chroot_includes section (see keepopenVPN, client.conf, and every_5_mins, below):
However, those files are not on the ISO when I boot it. | ||||
Steps To Reproduce | Build a Kali ISO of Doom Too imager according to these instructions: build folder is located in /opt Edit /opt/build/kali-config/common/includes.chroot/etc/openvpn/client.conf Add directories and files (I tested with the actual script and with placeholders, no difference): /opt/build/kali-config/common/includes.chroot/usr/local/sbin/keepopenVPN Boot the generated ISO and allow to build Login and check files exist
| ||||
Attached Files | |||||
Are those files in /opt/build/chroot/ after a build ? What is the path of the iso image that you are testing ? How are you booting the live iso image ? |
|
Yes, the files remain in /opt/build/kali-config/common/includes.chroot/* after a build. |
|
So the files are part of the live system available in the ISO and you see them if you "boot" the live system. However for a few weeks now, the installer no longer copies the live system in the installed system, instead it starts from scratch with debootstrap and installs all the packages. So if you want to modify the installed system, you will have to find another solution: for example changing the debian installer preseeding to run some custom commands, see https://www.debian.org/releases/stable/i386/apbs05.en.html#preseed-hooks So there's no bug here, and I'm going to close this ticket. |
|
Actually I'll reframe this bug into a request to update the "kali iso of doom" blog post... because the instructions in that post are now inaccurate as you experienced. |
|
That's fair, rhertzog. Thanks for your time. |
|
rhertzog, which commit made this change? This breaks our automatic build process. I'd like to make a PR to make it optional / configurable. |
|
It's 45dfa51b334a8b9d5a89c71cc7b5ec578831bf3a that changed the type of installer (although we made further changes to the value passed to --debian-installer afterwards). |
|
Here's the change that you want to document in the updated blog post. --- a/auto/config Define options that vary across architecturescase "$arch" in
patch (574 bytes)
diff --git a/auto/config b/auto/config index c0d2f14..a6f6905 100755 --- a/auto/config +++ b/auto/config @@ -72,10 +72,10 @@ fi # Define options that vary across architectures case "$arch" in amd64) - lb_opts="$lb_opts --debian-installer cdrom" + lb_opts="$lb_opts --debian-installer live" ;; i386) - lb_opts="$lb_opts --debian-installer cdrom --linux-flavours 686-pae" + lb_opts="$lb_opts --debian-installer live --linux-flavours 686-pae" ;; armel|armhf) lb_opts="$lb_opts --binary-images hdd --binary-filesystem ext4 --chroot-filesystem none" |
|
Updated ~ https://www.offensive-security.com/kali-linux/kali-rolling-iso-of-doom/ |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2020-01-08 16:53 | EnceledusGoofOff | New Issue | |
2020-01-08 18:14 | rhertzog | Note Added: 0011838 | |
2020-01-08 18:24 | EnceledusGoofOff | Note Added: 0011839 | |
2020-01-08 20:13 | rhertzog | Note Added: 0011840 | |
2020-01-08 20:13 | rhertzog | Assigned To | => rhertzog |
2020-01-08 20:13 | rhertzog | Status | new => closed |
2020-01-08 20:13 | rhertzog | Resolution | open => no change required |
2020-01-08 20:21 | rhertzog | Assigned To | rhertzog => |
2020-01-08 20:21 | rhertzog | Severity | block => major |
2020-01-08 20:21 | rhertzog | Status | closed => confirmed |
2020-01-08 20:21 | rhertzog | Resolution | no change required => open |
2020-01-08 20:21 | rhertzog | Category | General Bug => Kali Websites & Docs |
2020-01-08 20:21 | rhertzog | Summary | Kali ISO of Doom not including files from includes.chroot? => Kali ISO of Doom instructions need to be updated |
2020-01-08 20:21 | rhertzog | Note Added: 0011841 | |
2020-01-08 22:05 | EnceledusGoofOff | Note Added: 0011842 | |
2020-01-09 19:27 | noahbirnel | Note Added: 0011848 | |
2020-01-10 07:53 | rhertzog | Note Added: 0011859 | |
2020-01-13 15:54 | rhertzog | File Added: patch | |
2020-01-13 15:54 | rhertzog | Note Added: 0011912 | |
2020-01-14 11:59 | g0tmi1k | Assigned To | => g0tmi1k |
2020-01-14 11:59 | g0tmi1k | Status | confirmed => resolved |
2020-01-14 11:59 | g0tmi1k | Resolution | open => fixed |
2020-01-14 11:59 | g0tmi1k | Note Added: 0011922 |