emerge --pretend --config actually goes forward with the --config. There are several side effects: 1) If the user is not root, emerge tries to run the config anyway. This is confusing, (if not particularly dangerous) because the --config for mysql asks, "Insert a password for the mysql 'root' user", which could be misconstrued. 2) If the user is root, emerge runs the config as if the --pretend option were not there. dell mysql # emerge --pretend --config =dev-db/mysql-4.1.21 Configuring pkg... * MySQL DATADIR is /var/lib/mysql * Creating the mysql database and setting proper * permissions on it ... * Insert a password for the mysql 'root' user * Avoid ["'\_%] characters in the password > * Retype the password > . * Loading "zoneinfo", this step may require a few seconds ... * Stopping the server ... * Done If there's no better idea, --pretend --config should probably just say emerge: "config" actions do not support "--pretend" (same as --sync --pretend). I didn't think my emerge --info was relevant, and didn't want to take up that much space unnecessarily. Please let me know if you need it.
Thanks, this is fixed in svn r4600.
This has been released in 2.1.2_pre2-r5.