summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-01-19 19:23:13 +0000
committerThierry Vignaud <tv@mageia.org>2012-01-19 19:23:13 +0000
commiteee077af623e986df4b558250adec5658355900b (patch)
tree6514c5f9fc2492818504e6d739fc2061e5b5145b /perl-install/install
parent1e9271441108b751ee0319365d004fa7bb69a359 (diff)
downloaddrakx-backup-do-not-use-eee077af623e986df4b558250adec5658355900b.tar
drakx-backup-do-not-use-eee077af623e986df4b558250adec5658355900b.tar.gz
drakx-backup-do-not-use-eee077af623e986df4b558250adec5658355900b.tar.bz2
drakx-backup-do-not-use-eee077af623e986df4b558250adec5658355900b.tar.xz
drakx-backup-do-not-use-eee077af623e986df4b558250adec5658355900b.zip
(start_udev) fix mounting /dev/pts & /dev/shm
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/install/install2.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 25c6895d2..34cab73c4 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,4 @@
+- fix mounting /dev/pts & /dev/shm
- drakx-in-chroot:
o add support for --gdb
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index 4112b0932..4b5a93610 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -296,8 +296,8 @@ sub start_udev() {
$ENV{UDEVRULESD} = "/run/udev/rules.d";
# Start up udev and trigger cold plugs
- mkdir("/dev/$_", 0755) foreach qw(pts shm);
run_program::run("mount", "-t", "devtmpfs", "-o", "mode=0755,nosuid", "devtmpfs", "/dev");
+ mkdir("/dev/$_", 0755) foreach qw(pts shm);
run_program::run("mount", "-t", "devpts", "-o", "gid=5,mode=620,noexec,nosuid", "devpts", "/dev/pts");
run_program::run("mount", "-t", "tmpfs", "-o", "mode=1777,nosuid,nodev", "tmpfs", "/dev/shm");