Screen 1:
This is the last of the install scripts screens... after having to enter in the quickstart password about 50 times ( user and pass is quickstart )

Screen 2:
Getting folder permissions errors when doing a `drush quickstart-create` ...
it does everything but setup the settings file and build the db

Screen 3:
Trying to `sudo drush qc` (i know stupid, but just to prove a point)

This is a fresh 12.04 install with user and pass set as quickstart.

CommentFileSizeAuthor
Capture3.PNG34.07 KBphilosurfer
Capture2.PNG81.16 KBphilosurfer
Capture.PNG100.45 KBphilosurfer

Comments

mike stewart’s picture

Looking at the first capture suggests your quickstart needs a password to run sudo ... which is better/more secure -- but drush quickstart scripts require loosened security. (I'd really like that to fix that or make it at least optional for those of us that prefer a hardened environment).

I think someone else mentioned to me in IRC (frob?) having to type in password over and over. (meh!) I haven't seen that except when my quickstart user isn't setup to automatically login. Ifyou go to System Settings > User Accounts > Unlock > Automatic Login it should resolve requiring a password over and over when first installing quickstart. Or do you mean after quickstart environment is already built, you need to enter sudo password over and over when running a drush script? in which case... I answered question in first paragraph and now I'm curious if /etc/sudoers.d/quickstart file is being created. What its contents look like. and the permissions on the file.

if you try to change anything here, be vewy, vewy caweful... changing things around sudoers is like hunting wabbits -- vewy scawy. (make a snapshot first)

mike stewart’s picture

Status: Active » Postponed (maintainer needs more info)
philosurfer’s picture

Status: Postponed (maintainer needs more info) » Active

going in reverse:

/etc/sudoers.d/quickstart is set to readonly, and content is the following:

quickstart ALL=(ALL) NOPASSWD: ALL

User Account is set to auto login.

:-/

the_g_bomb’s picture

This could be related to the error I found #1652710: Error on setting sudoers file permissons

you could try running:

sudo chmod 0440 /etc/sudoers.d/quickstart

Obviously snapshot first to pwotect the wascawy wabbits

the_g_bomb’s picture

Status: Active » Needs review

Sorry should have set the Status when I replied.

mike stewart’s picture

Status: Needs review » Closed (fixed)

I think #4 is correct. and I've included in the current dev branch of DrupalPro an Ubuntu 12.04 Drupal stack based on Unity. checkout: http://drupal.org/project/drupalpro - beta2 is available for download now.

Also, I'm not sure why I haven't noticed this error. and it could be a problem still in the beta2 image -- but the code above should fix, and the fix has been committed so the next image build should be clean.

mike stewart’s picture

I've added an update which should fix this. I haven't tried this, but in beta1 image, something like the following should do the trick to update:

#go to homedir
cd
#copy quickstart repo (don't move as it'll break symlinks in setup)
cp -R quickstart drupalpro
#change to drupalpro
cd drupalpro
#setup remote
git remote set-url origin http://git.drupal.org/project/drupalpro.git http://git.drupal.org/project/quickstart.git
#prepare to cleanup by adding everything uncommited to index
git add .
#reset repo to initial state
git reset --hard
#pull in latest drupalpro code, which includes update.sh
git pull --rebase
#checkout the branch with the update
git checkout -b 7.x-3.x
#run the update
./setup_scripts/update.sh