sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e56a7d51157cbf2dde47515a5abd8cf17a5d2313)
- From: Vlad Glagolev <stealth AT tiberian.ru>
- To: Thomas Orgis <thomas-forum AT orgis.org>
- Cc: sm-commit AT lists.ibiblio.org
- Subject: Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e56a7d51157cbf2dde47515a5abd8cf17a5d2313)
- Date: Wed, 22 Apr 2015 17:33:31 +0300
Oh, I see. But it's still better to remount anything if we need to,
that is why it's important to check current /etc/fstab for noexec
option to avoid extra remount.
On Wed, 22 Apr 2015 16:13:20 +0200
Thomas Orgis <thomas-forum AT orgis.org> wrote:
> Am Wed, 22 Apr 2015 12:07:21 +0300
> schrieb Vlad Glagolev <stealth AT tiberian.ru>:
>
> > we can't simply remount, because that will keep 'exec' option.
>
> Really?
>
> bash-4.3# grep /boot /etc/fstab
> /dev/sda1 /boot ext2 defaults,noexec,nosuid 0 2
> bash-4.3# mount | grep boot
> /dev/sda1 on /boot type ext2 (rw,noexec,nosuid)
> bash-4.3# mount -o remount,noexec /boot
> bash-4.3# mount | grep boot
> /dev/sda1 on /boot type ext2 (rw,noexec,nosuid)
> bash-4.3# mount -o remount,exec /boot
> bash-4.3# mount | grep boot
> /dev/sda1 on /boot type ext2 (rw,nosuid)
> bash-4.3# mount -o remount /boot
> bash-4.3# mount | grep boot
> /dev/sda1 on /boot type ext2 (rw,noexec,nosuid)
> bash-4.3# vim /etc/fstab
> bash-4.3# grep /boot /etc/fstab
> /dev/sda1 /boot ext2 defaults,nosuid 0 2
> bash-4.3# mount -o remount,exec /boot
> bash-4.3# mount | grep boot
> /dev/sda1 on /boot type ext2 (rw,nosuid)
> bash-4.3# mount -o remount /boot
> bash-4.3# mount | grep boot
> /dev/sda1 on /boot type ext2 (rw,nosuid)
> bash-4.3# umount /boot
> bash-4.3# mount /boot
> bash-4.3# mount | grep boot
> /dev/sda1 on /boot type ext2 (rw,nosuid)
>
>
> > we must check for noexec option for /tmp in current /etc/fstab.
>
> Sure … to avoid messing with the mount to begin with. But I still have
> the impression that remounting without further options restores the
> options in fstab. Is that wrong?
>
>
> Alrighty then,
>
> Thomas
--
Vlad Glagolev
-
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e56a7d51157cbf2dde47515a5abd8cf17a5d2313),
Vlad Glagolev, 04/22/2015
-
Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e56a7d51157cbf2dde47515a5abd8cf17a5d2313),
Thomas Orgis, 04/22/2015
-
Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e56a7d51157cbf2dde47515a5abd8cf17a5d2313),
Vlad Glagolev, 04/22/2015
-
Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e56a7d51157cbf2dde47515a5abd8cf17a5d2313),
Thomas Orgis, 04/22/2015
- Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e56a7d51157cbf2dde47515a5abd8cf17a5d2313), Vlad Glagolev, 04/22/2015
-
Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e56a7d51157cbf2dde47515a5abd8cf17a5d2313),
Thomas Orgis, 04/22/2015
-
Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e56a7d51157cbf2dde47515a5abd8cf17a5d2313),
Vlad Glagolev, 04/22/2015
-
Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e56a7d51157cbf2dde47515a5abd8cf17a5d2313),
Thomas Orgis, 04/22/2015
Archive powered by MHonArc 2.6.24.