Skip to content

tmpfs set in fstab to "noexec" breaks script - suggestion #3

Description

@nzkiwi68

I forgot, but for better security tmpfs is set in fstab with noexec set, but this breaks the script.

Took a while to figure that out and many thanks to my good friend Brett who ran the problem down.

Suggestion
Perhaps the script can test for noexec in tmpfs and throw up a clear warning?

Current error if tempfs has noexec set

Unpacking objects: 100% (26/26), 28.07 KiB | 1.87 MiB/s, done.
From https://github.com/google/gasket-driver
 * [new ref]         refs/pull/50/head -> pr-50
Switched to branch 'pr-50'
 dpkg-buildpackage -us -uc -ui -tc -b
dpkg-buildpackage: info: source package gasket-dkms
dpkg-buildpackage: info: source version 1.0-18.4
dpkg-buildpackage: info: source distribution noble
dpkg-buildpackage: info: source changed by Nicola Ferralis <feranick@hotmail.com>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
Can't exec "debian/rules": Permission denied at /usr/share/perl5/Dpkg/BuildDriver/DebianRules.pm line 198.
dpkg-buildpackage: error: debian/rules clean subprocess failed with unknown status code -1
debuild: fatal error at line 1185:
dpkg-buildpackage -us -uc -ui -tc -b failed
Error: Failed to build gasket-dkms

btw - thanks! This is awesome for getting the Coral TPU working in Trixie.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions