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

Re: MySQL preseed auto answer



Hi Dominique,

thanks but I don't understand you so fine.  I'll try to explain:

I'm using simple-cdd 0.3.9 debian-cd 3.1.1 but lenny 32 bit version for compatibility.If I put what you say me I obtain next error:

error: Cannot find a question for mysql-server/root_password
error: Cannot find a question for mysql-server/root_password
error: Cannot find a question for mysql-server/root_password_again
error: Cannot find a question for mysql-server/root_password_again
error: Cannot find a question for mysql-server/root_password
error: Cannot find a question for mysql-server/root_password_again


and I don't know which files I must tweak.

My preseed file is the next:

d-i netcfg/disable_dhcp boolean true
d-i netcfg/get_nameservers string 10.0.69.254
d-i netcfg/get_ipaddress string 10.0.69.234
d-i netcfg/get_netmask string 255.255.255.0
d-i netcfg/get_gateway string 10.0.69.254
d-i netcfg/confirm_static boolean true
d-i netcfg/get_hostname string astTron
d-i netcfg/get_domain string localdomain
d-i netcfg/wireless_wep string

d-i mirror/country string manual
d-i mirror/http/hostname string http.us.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string

d-i mirror/suite string stable
d-i mirror/udeb/suite string stable

d-i clock-setup/utc boolean true
d-i time/zone string Europe/Madrid
tzsetup-udeb time/zone select Europe/Madrid

d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server string hora.rediris.es

d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select atomic
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true

d-i passwd/root-password password xxxxx
d-i passwd/root-password-again password xxxxx

user-setup-udeb passwd/root-password password xxxxx
user-setup-udeb passwd/root-password-again password xxxxx

d-i passwd/user-fullname string Usuario de Administracion
d-i passwd/username string adminuser
d-i passwd/user-password password xxxxx
d-i passwd/user-password-again password xxxxx

user-setup-udeb passwd/user-fullname string Usuario de Administracion
user-setup-udeb passwd/username string adminuser
user-setup-udeb passwd/user-password password xxxxx
user-setup-udeb passwd/user-password-again password xxxxx

d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true

d-i apt-setup/services-select multiselect security, volatile
d-i apt-setup/security_host string security.debian.org
d-i apt-setup/volatile_host string volatile.debian.org

tasksel tasksel/first multiselect
d-i pkgsel/include string mysql-server-5.0 php5-mysql

mysql-server-5.0 mysql-server/root_password string
mysql-server-5.0 mysql-server/root_password seen true
mysql-server-5.0 mysql-server/root_password_again string
mysql-server-5.0 mysql-server/root_password_again seen true
mysql-server-5.0 mysql-server/root_password password xxxxx
mysql-server-5.0 mysql-server/root_password_again password xxxxx

popularity-contest popularity-contest/participate boolean false

d-i grub-installer/only_debian boolean true
d-i finish-install/reboot_in_progress note

Any help would be much appreciated

reagrds,

Sergio


El vie, 08-05-2009 a las 11:04 +0200, Dominique Karg escribió:
Sergio, this might help you.

I'm using the following mysql preseeding information using simple-cdd  
0.3.9 and debian-cd 3.1.0 on Lenny/amd64. Had to tweak some files tho  
in order to correctly create cd's on amd64

mysql-server-5.0 mysql-server/root_password string
mysql-server-5.0 mysql-server/root_password seen true
mysql-server-5.0 mysql-server/root_password_again string
mysql-server-5.0 mysql-server/root_password_again seen true

Greetings,

Dominique

Am 08.05.2009 um 10:58 schrieb Sergio Serrano:

> I have discover that when i do a debconf-get-selections --installer  
> I can see next answers:
>
> mysql-server-5.0 mysql-server/root_password pasword
> mysql-server-5.0 mysql-server/root_password_again password
>
>
> The problem is when I try to put this answer in preseed file throws  
> next error:
>
> error: Cannot find a question for mysql-server/root_password
> error: Cannot find a question for mysql-server/root_password_again
> ERROR: preseed file invalid: /home/av7admin/distribucion/profiles/ 
> initial.preseed
>
> It's like was a bug in simple-cdd packages or in debconf configure  
> for mysql-server-5.0 package.
>
> What do you think?
>
> Must I report to simple-cdd manteiner or mysql-server-5.0 manteiner?
>
> Thanks,
>
> Sergio
>
> El lun, 04-05-2009 a las 17:05 -0300, Lucas Brasilino escribió:
>>
>> > This is a bug? Anyone has trying this and solve the problem?
>> >
>> > Any help would be appreciated
>>
>> You should:
>>
>> 1) take a lot at it's postinst script and see if password is set/get
>> to/from debconf backend.
>>
>> 2) look at bug reports
>>
>> 3) contact maintainers team.
>>
>> regards
>> Lucas Brasilino
>>
>>


Reply to: