Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #203067

Re: noexec mount option not working in Debian 9 installer

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: noexec mount option not working in Debian 9 installer
Date 2018-12-06 16:00 +0100
Message-ID <x23ia-8aH-7@gated-at.bofh.it> (permalink)
References <wZMEN-5s1-3@gated-at.bofh.it> <x1Yiu-5iM-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu 06 Dec 2018 at 14:47:39 (+0530), Augustus Johnson wrote:
> Please help me with this issue.
> 
> I had set the noexec mount option on /tmp while installing Debian 9
> using firmware-9.5.0-amd64-DVD-1.iso.

You need to report what you actually did, not what you think you
achieved.

> But after the installation was completed, the mount option was found
> missing.  This same behaviour is noticed when installing the OS using
> preseed.

We can only guess. The most likely is that during installation you
edited /etc/fstab. Unfortunately, that's the fstab for the system
that's running *during installation*. The system you are building
is in /target, so you would need to edit /target/etc/fstab. However,
I'm not guaranteeing when /target/etc/fstab is last modified by the
installer. (For example, modifying /target/etc/network/interfaces
can be futile as the installer modifies it at the very last step.)

> root@mountoptions:~# mount | grep /tmp
> /dev/sda5 on /tmp type ext4 (rw,nosuid,nodev,relatime,data=ordered)

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

noexec mount option not working in Debian 9 installer Augustus Johnson <augustus0008@gmail.com> - 2018-11-30 09:50 +0100
  Re: noexec mount option not working in Debian 9 installer Augustus Johnson <augustus0008@gmail.com> - 2018-12-06 10:40 +0100
    Re: noexec mount option not working in Debian 9 installer Roberto C. Sánchez <roberto@debian.org> - 2018-12-06 15:30 +0100
    Re: noexec mount option not working in Debian 9 installer David Wright <deblis@lionunicorn.co.uk> - 2018-12-06 16:00 +0100
      Re: noexec mount option not working in Debian 9 installer Linux User <linux_maillist@yahoo.com> - 2018-12-07 05:20 +0100

csiph-web