On Sat, Mar 17, 2012 at 09:02:10PM +0100, Andriy Samsonyuk wrote:
> LABEL=lv_var /var ext3 defaults,noatime,nosuid,nodev 0 2
> LABEL=lv_tmp /tmp ext3 defaults,noatime,nosuid,nodev 0 2
> LABEL=lv_home /home ext2 defaults,noatime,nosuid,nodev 0 2
> ***
>
> i simply changed LABEL=lv_* with /dev/sda? for correct partitions.
> As a result the partitions seemed to be mounted read only for the user.
> And X crashed with different errors :-/
> I still was able to write in /home and /tmp. But after changing the mount
> options for the last 3 to rw,nosuid,nodev and rw,nodev for /usr
> X works without problems. I am not sure which partition and which
> option made the difference.
It a shame you couldn't/didn't narrow down the exact cause. Also systems
operate quite happily with a read only /usr. The only problem is package
management, of course.
Also, you said could write to home?, which means it would have been rw
for owner/group anyway!
--
"Religion is excellent stuff for keeping common people quiet."
-- Napoleon Bonaparte
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120318075004.GA11367@tal">http://lists.debian.org/20120318075004.GA11367@tal
03-23-2012, 03:37 PM
Andrei Popescu
X-server problem
On Sb, 17 mar 12, 21:02:10, Andriy Samsonyuk wrote:
>
> i simply changed LABEL=lv_* with /dev/sda? for correct partitions.
> As a result the partitions seemed to be mounted read only for the user.
> And X crashed with different errors :-/
> I still was able to write in /home and /tmp. But after changing the mount
> options for the last 3 to rw,nosuid,nodev and rw,nodev for /usr
> X works without problems. I am not sure which partition and which
> option made the difference.
'rw' is default and I'm running all my systems with 'noatime'. This
points to the 'nosuid' on /usr (which I would have been my first guess
anyway).
Kind regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic