[Bug 736847] New: Permissions on /tmp not set when using encrypted tmp
https://bugzilla.novell.com/show_bug.cgi?id=736847 https://bugzilla.novell.com/show_bug.cgi?id=736847#c0 Summary: Permissions on /tmp not set when using encrypted tmp Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: erik@lotspeich.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 I'm using OpenSUSE 12.1 with systemd. I have encrypted tmp on a partition with the following crypttab line: cr_sda7 /dev/disk/by-id/ata-ST9500420AS_5VJEXZNT-part7 /dev/urandom tmp The corresponding /etc/fstab line is as follows: /dev/mapper/cr_sda7 /tmp ext2 nofail,defaults 0 0 The problem is that the permissions on /tmp are not set to 1777 as they should be. Reproducible: Always Steps to Reproduce: Use /etc/crypttab & /etc/fstab lines as shown in bug description. Actual Results: The tmp filesystem is mounted correctly but the /tmp directory does not have the correct permissions. Expected Results: /tmp directory permissions set to 1777 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=736847
https://bugzilla.novell.com/show_bug.cgi?id=736847#c1
René Nieuwburg
https://bugzilla.novell.com/show_bug.cgi?id=736847
https://bugzilla.novell.com/show_bug.cgi?id=736847#c2
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=736847
https://bugzilla.novell.com/show_bug.cgi?id=736847#c3
Erik Lotspeich
https://bugzilla.novell.com/show_bug.cgi?id=736847
https://bugzilla.novell.com/show_bug.cgi?id=736847#c
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=736847
https://bugzilla.novell.com/show_bug.cgi?id=736847#c
Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=736847
https://bugzilla.novell.com/show_bug.cgi?id=736847#c4
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=736847
https://bugzilla.novell.com/show_bug.cgi?id=736847#c5
--- Comment #5 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=736847
https://bugzilla.novell.com/show_bug.cgi?id=736847#c6
--- Comment #6 from Erik Lotspeich
could you try to remove nofail in the options ?
This does not work either -- I added nofail to try to get it to work based in a suggestion in a forum. I forget the exact behavior, but I believe the system doesn't finish booting without the nofail. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=736847
https://bugzilla.novell.com/show_bug.cgi?id=736847#c7
--- Comment #7 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=736847
https://bugzilla.novell.com/show_bug.cgi?id=736847#c8
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=736847
https://bugzilla.novell.com/show_bug.cgi?id=736847#c9
--- Comment #9 from Erik Lotspeich
I've just tested on a 12.1, with all updated install and with /tmp crypted with /dev/urandom and it is correctly mounted with 1777 for /tmp
Which version of systemd package are you using ?
Please make sure you have all maintenance update applied.
I reported this bug some time ago right after the 12.1 release. I haven't tried since then though I know there have been at least 2 systemd updates. I will try again. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=736847
https://bugzilla.novell.com/show_bug.cgi?id=736847#c10
Stefan Behlert
participants (1)
-
bugzilla_noreply@novell.com