Public bug reported:

Binary package hint: ubiquity

In the method mount_source() the code

            misc.execute('mount', '-t', 'unionfs', '-o',
                         'dirs=' + map(lambda x: '%s=ro' % x, self.mountpoints),
                         'unionfs', self.source)

occurs at lines 684-686 (in the 1.5.1 source I downloaded).  I think the
middle line doesn't make sense, apparently concatenating a string with a
list of strings, and that you probably meant

                          'dirs=' + ':'.join(map(lambda x: '%s=ro' % x,
self.mountpoints)),

instead.  I think you want to join() on ':' since the unionfs man page
says colon is the separator for directories in the dirs option.

Sorry if I'm wasting your time.  I was reading the install.py code while
waiting for the installer to finish (yeah, I was kind of bored :) ) and
I noticed that line that doesn't seem to make sense.  I didn't actually
observe an error.

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Potential typo in /ubiquity/scripts/install.py
https://bugs.launchpad.net/bugs/118742
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to