Comment 19 for bug 806291

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote : Re: [needs-packaging] Boot-Repair

Hi,

If you already have a script that chooses the best 'su' command, why not using it in the desktop file, then? That would be better than having a desktop file that don't run anything because you're missing rights, IMHO.

and about the deletion, this is what I get when I run it in a chroot:

 cleanubiquitybefore
/usr/bin/cleanubiquitybefore: line 49: initialization: command not found
/usr/bin/cleanubiquitybefore: line 26: log_preparation: command not found
mkdir: cannot create directory `/clean-ubiquity': Permission denied
[debug]Delete the content of TMP_FOLDER_TO_BE_CLEARED and put os-prober in memory
rm: cannot remove `/bin': Is a directory
rm: cannot remove `/boot': Is a directory
rm: cannot remove `/build': Is a directory
rm: cannot remove `/dev': Is a directory
rm: cannot remove `/etc': Is a directory
rm: cannot remove `/home': Is a directory
rm: cannot remove `/lib': Is a directory
rm: cannot remove `/lib64': Is a directory
rm: cannot remove `/media': Is a directory
rm: cannot remove `/mnt': Is a directory
rm: cannot remove `/opt': Is a directory
rm: cannot remove `/proc': Is a directory
rm: cannot remove `/root': Is a directory
rm: cannot remove `/run': Is a directory
rm: cannot remove `/sbin': Is a directory
rm: cannot remove `/selinux': Is a directory
rm: cannot remove `/srv': Is a directory
rm: cannot remove `/sys': Is a directory
rm: cannot remove `/tmp': Is a directory
rm: cannot remove `/usr': Is a directory
rm: cannot remove `/var': Is a directory
unshare failed: Operation not permitted
ERROR: you must be root
ERROR: you must be root
ERROR: you must be root
ERROR: you must be root
  WARNING: Running as a non-root user. Functionality may be unavailable.
  No volume groups found
...
you can see the "cannot remove' part, with root directories... This is what let me guess there is something wrong somewhere.

thanks,
Fabrice