Fatdog901 pflask bug

versatile 64-bit multi-user Linux distribution

Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators

Post Reply
fatdoguser
Posts: 175
Joined: Sat Aug 05, 2023 10:54 am
Has thanked: 22 times
Been thanked: 79 times

Fatdog901 pflask bug

Post by fatdoguser »

Fatdog 901 has the same /usr/bin/pflask version as 813, but they are different file sizes and the (smaller) Fatdog 901 version doesn't work correctly

In Fatdog 901

Code: Select all

pflask --caps=-sys_chroot

and within that

Code: Select all

chroot / 

... and you're still permitted to chroot

In Fatdog 813 you correctly get a Operation Not Permitted

Dropping a copy of Fatdog 813 /usr/bin/pflask binary into Fatdog 901 fixes the issue but that obviously isn't ideal.

jamesbond
Posts: 605
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 99 times
Been thanked: 325 times

Re: Fatdog901 pflask bug

Post by jamesbond »

@fatdoguser thank you for reporting.
Pflask in 814 was built and linked with libcap-ng, in 901 it wasn't.
I've rebuilt it. Pflask now uses and depends on libcap-ng (as it should be).
You can uninstall the built-in pflask and re-install from the gslapt repo.

fatdoguser
Posts: 175
Joined: Sat Aug 05, 2023 10:54 am
Has thanked: 22 times
Been thanked: 79 times

Re: Fatdog901 pflask bug

Post by fatdoguser »

Thanks @jamesbond

But you missed a bit :shock: :thumbdown: ;)

Rather than 'Reinstall' in gslapt I used the Remove option and that ran fine. Then opting for Install and that presents a error "Failed to download pflask: MD5 checksum mismatch, override with --no-md5"

jamesbond
Posts: 605
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 99 times
Been thanked: 325 times

Re: Fatdog901 pflask bug

Post by jamesbond »

Ah you're too fast for me :D

Perhaps you tried to access the repo when the index was still rebuilding after the upload.
Please re-update gslapt, and the install again.
I just tested, it installs fine here. :thumbup2:

If gslapt refuses to update then clear slapt-get cache by deleting all files in /var/slapt-get (including the hidden files); then run update again.

Don't forget to make sure you have libcap-ng installed.

fatdoguser
Posts: 175
Joined: Sat Aug 05, 2023 10:54 am
Has thanked: 22 times
Been thanked: 79 times

Re: Fatdog901 pflask bug

Post by fatdoguser »

@jamesbond

Installed pflask from gslapt, tested drop chroot capabilities and works :D

Thanks. :thumbup2:

Post Reply

Return to “FatDog64”