[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#570486: Configuration /var with noexec option breaks base system installation



Package: installation-reports
Severity: normal



-- Package-specific info:

Boot method: CD
Image version: Lenny netinstall v5.0.3 : http://cdimage.debian.org/debian-cd/5.0.3/i386/iso-cd/debian-503-i386-netinst.iso
Date: Tue, Sep 29 2009 09:30:00 +0200

Machine: x86 mono-cpu virtual machine on an VMWare ESXi 4 host
Partitions:
Disk /dev/sda: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000da11b

  Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         122      979933+  82  Linux swap / Solaris
/dev/sda2             123        1305     9502447+   5  Extended
/dev/sda5             123         244      979933+  83  Linux
/dev/sda6             245         305      489951   83  Linux
/dev/sda7             306         670     2931831   83  Linux
/dev/sda8             671        1035     2931831   83  Linux
/dev/sda9            1036        1157      979933+  83  Linux
/dev/sda10           1158        1305     1188778+  83  Linux

Sys. de fich. Type    1K-blocs       Occupé Disponible Capacité Monté sur
/dev/sda5     ext3      964500     93952    821552  11% /
tmpfs        tmpfs      258148         0    258148   0% /lib/init/rw
udev         tmpfs       10240       596      9644   6% /dev
tmpfs        tmpfs      258148         0    258148   0% /dev/shm
/dev/sda6     ext3      474440     19267    430676   5% /boot
/dev/sda10    ext3     1170048     34572   1076040   4% /home
/dev/sda9     ext3      964500     17640    897864   2% /tmp
/dev/sda7     ext3     2885780    293204   2445988  11% /usr
/dev/sda8     ext3     2885780    196096   2543096   8% /var


Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [O]
Detect network card:    [O]
Configure network:      [O]
Detect CD:              [O]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Install base system:    [E]
Clock/timezone setup:   [O]
User/password setup:    [O]
Install tasks:          [O]
Install boot loader:    [O]
Overall install:        [O]

Comments/Problems:

During partitions configuration, I choosed to create a dedicated partition for /var and to configure it with options
noatime and noexec.
Afterward, the installation process failed on the step "base system installation" saying the it could not install
base system.
This was because /target/var was mounted noexec, so scripts cannot be executed

I bypassed the problem by opening a console and executing the command "mount -o remount,exec /target/var"
then exiting the console, and relaunching the base system installation

My advice is to force, during install, mount of /var as exec, just like every partition is forced as rw, even if we
select "ro" from the options of a partition


-- 

Please make sure that the hardware-summary log file, and any other
installation logs that you think would be useful are attached to this
report. Please compress large files using gzip.

Once you have filled out this report, mail it to submit@bugs.debian.org.

Attachment: hardware-summary.txt.gz
Description: GNU Zip compressed data


Reply to: