Forums

Strange noexec issue

Auteur Réponses
DKay Lundi 13 Octobre 2014 à 11:54
DKayAnonymous

Hey guys, I'm running into an issue where playonlinux warns me of the following:

[FS_Check] Warning: The following file is located on a noexec mounted filesystem.
It might prevent wine from working

/home/dkay/.PlayOnLinux/

But I'm not seeing noexec on my /home partition in /etc/fstab:


# /etc/fstab: static file system information
#
# <file system>    <dir>    <type>    <options>    <dump>    <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
tmpfs /dev/shm tmpfs nodev,nosuid,noexec 0 0

# /dev/sda2 LABEL=Scallywag
UUID=79d3dfb1-9b8a-4343-9c0c-47f89551007a    /             btrfs         rw,nodev,relatime,space_cache,subvol=_current/ROOT    0 0

# /dev/sda2 LABEL=Scallywag
UUID=79d3dfb1-9b8a-4343-9c0c-47f89551007a    /home         btrfs         rw,nosuid,nodev,relatime,space_cache,subvol=_current/home    0 0

# /dev/sda2 LABEL=Scallywag
UUID=79d3dfb1-9b8a-4343-9c0c-47f89551007a    /opt          btrfs         rw,nodev,relatime,space_cache,subvol=_current/opt    0 0

# /dev/sda2 LABEL=Scallywag
UUID=79d3dfb1-9b8a-4343-9c0c-47f89551007a    /var          btrfs         rw,nosuid,nodev,noexec,relatime,space_cache,subvol=_current/var    0 0

UUID=79d3dfb1-9b8a-4343-9c0c-47f89551007a /run/btrfs-root btrfs rw,nodev,nosuid,noexec,relatime,space_cache 0 0

/run/btrfs-root/_current/ROOT/var/lib /var/lib none bind 0 0

 

I could always remove noexec from the other partitions one by one until it works but I'd rather not mess with an already unorthodox setup if there's an easy fix

DKay Lundi 13 Octobre 2014 à 13:53
DKayAnonymous

Well, I don't like doing this but I had to remove noexec from both /run/btrfs-root and /var before it stopped complaining, strange.

petch Lundi 13 Octobre 2014 à 13:57
petch

Hi,
Open the PlayOnLinux console (Tools > PlayOnLinux console), what's the output of

POL_System_PartInfo /home/dkay/.PlayOnLinux/
DKay Lundi 13 Octobre 2014 à 14:12
DKayAnonymous

Here you go:

PlayOnLinux: /home/dkay/.PlayOnLinux > POL_System_PartInfo /home/dkay/.PlayOnLinux/
/dev/sda2 / btrfs rw,nodev,relatime,space_cache 0 0
/dev/sda2 /run/btrfs-root btrfs rw,nosuid,nodev,relatime,space_cache 0 0
/dev/sda2 /var btrfs rw,nosuid,nodev,relatime,space_cache 0 0
/dev/sda2 /var/lib btrfs rw,nosuid,nodev,relatime,space_cache 0 0
/dev/sda2 /opt btrfs rw,nodev,relatime,space_cache 0 0
/dev/sda2 /home btrfs rw,nosuid,nodev,relatime,space_cache 0 0

This is after removing noexec from /run/btrfs-root and /var, though /home never had a noexec parameter

 

petch Lundi 13 Octobre 2014 à 19:01
petch

Ok, this should return just one line, but the code is confused by btrfs subvolumes...

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com