ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] spt installs mysql 4.1?
@ 2006-12-14 10:53 Andrey Khavryuchenko
  2006-12-14 11:07 ` Alexey I. Froloff
  0 siblings, 1 reply; 15+ messages in thread
From: Andrey Khavryuchenko @ 2006-12-14 10:53 UTC (permalink / raw)
  To: sisyphus

Hi!

Собираю маленький хостинговый контейнер для openvz:


$ cat profile/packages/main
#interactivesystem
#strace
#binutils
#mc
dev
basesystem
less
syslogd
etcnet
glibc-utils
glibc-gconv-modules
glibc-nss
#shadow-utils
#man-pages
#man-pages-ru

# network configuration
#dhcpcd
#iftop
#zcip
#portmap

# other
iptables
openssh-clients
openssh-server
rsync
apt
lftp
vim-console

$ cat profile/packages/hosting
MySQL-server
python-base
python-strict
python-module-MySQLdb

$ spt --apt-conf=/home/akhavr/ovz/profile/apt-i586.conf -v --noiso --image-type=tgz ~/ovz
[...]
libMySQL                     ##################################################
rsync                        ##################################################
libMySQL41                   ##################################################
libgcc4.1                    ##################################################
libstdc++4.1                 ##################################################
MySQL41-client               ##################################################
crontab-control              ##################################################
setproctitle                 ##################################################
vixie-cron                   ##################################################
crontabs                     ##################################################
logrotate                    ##################################################
MySQL41-server               ##################################################
sed: -e expression #1, char 21: unterminated `s' command
/var/tmp/rpm-tmp.74342: line 2: [: too many arguments
/var/tmp/rpm-tmp.74342: line 11: [: : integer expression expected
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Preparing help_topic table
Preparing help_category table
Preparing help_keyword table
Preparing help_relation table
Preparing time_zone_name table
Preparing time_zone table
Preparing time_zone_transition table
Preparing time_zone_transition_type table
Preparing time_zone_leap_second table
Installing all prepared tables
061214 13:44:40 [ERROR] chroot: Operation not permitted
061214 13:44:40 [ERROR] Aborting

061214 13:44:40 [Note] /usr/sbin/mysqld: Shutdown complete

Installation of grant tables failed!

Examine the logs in /var/lib/mysql/log for more information.
You can also try to start the mysqld daemon with:
/usr/sbin/mysqld --skip-grant &
You can use the command line tool
/usr/bin/mysql to connect to the mysql
database and look at the grant tables:

shell> /usr/bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql/log that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/bin/mysqlbug script!
                cat << END_OF_DATA
Please report any problems with the /usr/bin/mysqlbug script!

Почему вдруг MySQL41?

Что я делаю не так?

-- 
Andrey V Khavryuchenko            
Software Development Company http://www.kds.com.ua/


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [sisyphus] spt installs mysql 4.1?
  2006-12-14 10:53 [sisyphus] spt installs mysql 4.1? Andrey Khavryuchenko
@ 2006-12-14 11:07 ` Alexey I. Froloff
  2006-12-14 11:16   ` Andrey Khavryuchenko
  0 siblings, 1 reply; 15+ messages in thread
From: Alexey I. Froloff @ 2006-12-14 11:07 UTC (permalink / raw)
  To: ALT Linux Sisyphus

[-- Attachment #1: Type: text/plain, Size: 603 bytes --]

* Andrey Khavryuchenko <akhavr@> [061214 13:54]:
> Собираю маленький хостинговый контейнер для openvz:
> $ cat profile/packages/hosting
> MySQL-server
По своему опыту могу сказать, что в spt не работает установка ни
mysql ни pgsql.  Ещё криво работает создание пользователей,
которым потом будут вбиваться пароли.

Проще сделать минимальный образ, запустить, доставить что нужно и
уже этот контейнер запаковать.

-- 
Regards, Alexey I. Froloff
AIF5-RIPN, AIF5-RIPE
-------------------------------------------
  Inform-Mobil, Ltd. System Administrator
       http://www.inform-mobil.ru/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [sisyphus] spt installs mysql 4.1?
  2006-12-14 11:07 ` Alexey I. Froloff
@ 2006-12-14 11:16   ` Andrey Khavryuchenko
  2006-12-14 11:24     ` Konstantin A. Lepikhov
  2006-12-14 11:58     ` Alexey I. Froloff
  0 siblings, 2 replies; 15+ messages in thread
From: Andrey Khavryuchenko @ 2006-12-14 11:16 UTC (permalink / raw)
  To: sisyphus

Alexey,

"AIF" == Alexey I Froloff wrote:

 AIF> * Andrey Khavryuchenko <akhavr@> [061214 13:54]:
 >> Собираю маленький хостинговый контейнер для openvz:
 >> $ cat profile/packages/hosting
 >> MySQL-server
 AIF> По своему опыту могу сказать, что в spt не работает установка ни
 AIF> mysql ни pgsql.  Ещё криво работает создание пользователей,
 AIF> которым потом будут вбиваться пароли.

 AIF> Проще сделать минимальный образ, запустить, доставить что нужно и
 AIF> уже этот контейнер запаковать.

Да так и делаю, но это ж непорядок :(

Вешать багу на spt?

-- 
Andrey V Khavryuchenko            
Software Development Company http://www.kds.com.ua/


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [sisyphus] spt installs mysql 4.1?
  2006-12-14 11:16   ` Andrey Khavryuchenko
@ 2006-12-14 11:24     ` Konstantin A. Lepikhov
  2006-12-14 12:02       ` Andrey Khavryuchenko
  2006-12-14 11:58     ` Alexey I. Froloff
  1 sibling, 1 reply; 15+ messages in thread
From: Konstantin A. Lepikhov @ 2006-12-14 11:24 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

[-- Attachment #1: Type: text/plain, Size: 745 bytes --]

Hi Andrey!

Thursday 14, at 01:16:20 PM you wrote:

> Alexey,
> 
> "AIF" == Alexey I Froloff wrote:
> 
>  AIF> * Andrey Khavryuchenko <akhavr@> [061214 13:54]:
>  >> Собираю маленький хостинговый контейнер для openvz:
>  >> $ cat profile/packages/hosting
>  >> MySQL-server
>  AIF> По своему опыту могу сказать, что в spt не работает установка ни
>  AIF> mysql ни pgsql.  Ещё криво работает создание пользователей,
>  AIF> которым потом будут вбиваться пароли.
> 
>  AIF> Проще сделать минимальный образ, запустить, доставить что нужно и
>  AIF> уже этот контейнер запаковать.
> 
> Да так и делаю, но это ж непорядок :(
> 
> Вешать багу на spt?
Бага не в spt, а в MySQL. Да и не бага это, а misfeature.

-- 
WBR et al.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [sisyphus] spt installs mysql 4.1?
  2006-12-14 11:16   ` Andrey Khavryuchenko
  2006-12-14 11:24     ` Konstantin A. Lepikhov
@ 2006-12-14 11:58     ` Alexey I. Froloff
  2006-12-14 14:03       ` Andrey Khavryuchenko
  2006-12-14 14:18       ` Dmitry V. Levin
  1 sibling, 2 replies; 15+ messages in thread
From: Alexey I. Froloff @ 2006-12-14 11:58 UTC (permalink / raw)
  To: ALT Linux Sisyphus

[-- Attachment #1: Type: text/plain, Size: 275 bytes --]

* Andrey Khavryuchenko <akhavr@> [061214 14:17]:
> Вешать багу на spt?
Скорее на fakeroot.

-- 
Regards, Alexey I. Froloff
AIF5-RIPN, AIF5-RIPE
-------------------------------------------
  Inform-Mobil, Ltd. System Administrator
       http://www.inform-mobil.ru/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [sisyphus] spt installs mysql 4.1?
  2006-12-14 11:24     ` Konstantin A. Lepikhov
@ 2006-12-14 12:02       ` Andrey Khavryuchenko
  2006-12-14 12:09         ` Konstantin A. Lepikhov
  0 siblings, 1 reply; 15+ messages in thread
From: Andrey Khavryuchenko @ 2006-12-14 12:02 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Konstantin,

"KAL" == Konstantin A Lepikhov wrote:

 KAL> Thursday 14, at 01:16:20 PM you wrote:

 >> "AIF" == Alexey I Froloff wrote:
 >> 
 AIF> * Andrey Khavryuchenko <akhavr@> [061214 13:54]:
 >> >> Собираю маленький хостинговый контейнер для openvz:
 >> >> $ cat profile/packages/hosting
 >> >> MySQL-server
 AIF> По своему опыту могу сказать, что в spt не работает установка ни
 AIF> mysql ни pgsql.  Ещё криво работает создание пользователей,
 AIF> которым потом будут вбиваться пароли.
 >> 
 AIF> Проще сделать минимальный образ, запустить, доставить что нужно и
 AIF> уже этот контейнер запаковать.
 >> 
 >> Да так и делаю, но это ж непорядок :(
 >> 
 >> Вешать багу на spt?
 KAL> Бага не в spt, а в MySQL. Да и не бага это, а misfeature.

Каким образом это misfeature в MySQL если выбирается MySQL41 ?

-- 
Andrey V Khavryuchenko            
Software Development Company http://www.kds.com.ua/


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [sisyphus] spt installs mysql 4.1?
  2006-12-14 12:02       ` Andrey Khavryuchenko
@ 2006-12-14 12:09         ` Konstantin A. Lepikhov
  0 siblings, 0 replies; 15+ messages in thread
From: Konstantin A. Lepikhov @ 2006-12-14 12:09 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

[-- Attachment #1: Type: text/plain, Size: 254 bytes --]

Hi Andrey!

Thursday 14, at 02:02:55 PM you wrote:

<skip>
>  KAL> Бага не в spt, а в MySQL. Да и не бага это, а misfeature.
> 
> Каким образом это misfeature в MySQL если выбирается MySQL41 ?
это вопрос к мантейнеру MySQL41.

-- 
WBR et al.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [sisyphus] spt installs mysql 4.1?
  2006-12-14 11:58     ` Alexey I. Froloff
@ 2006-12-14 14:03       ` Andrey Khavryuchenko
  2006-12-14 14:18       ` Dmitry V. Levin
  1 sibling, 0 replies; 15+ messages in thread
From: Andrey Khavryuchenko @ 2006-12-14 14:03 UTC (permalink / raw)
  To: sisyphus

Alexey, Konstantin,

"AIF" == Alexey I Froloff wrote:

 AIF> * Andrey Khavryuchenko <akhavr@> [061214 14:17]:
 >> Вешать багу на spt?
 AIF> Скорее на fakeroot.

"KAL" == Konstantin A Lepikhov wrote:

 KAL> Thursday 14, at 02:02:55 PM you wrote:
 >> Каким образом это misfeature в MySQL если выбирается MySQL41 ?
 KAL> это вопрос к мантейнеру MySQL41.

Так кого дёргать?  spt?  fakeroot?  MySQL41?  Всех троих?

-- 
Andrey V Khavryuchenko            
Software Development Company http://www.kds.com.ua/


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [sisyphus] spt installs mysql 4.1?
  2006-12-14 11:58     ` Alexey I. Froloff
  2006-12-14 14:03       ` Andrey Khavryuchenko
@ 2006-12-14 14:18       ` Dmitry V. Levin
  2006-12-14 16:12         ` Andrey Khavryuchenko
  2006-12-14 16:38         ` Alexey I. Froloff
  1 sibling, 2 replies; 15+ messages in thread
From: Dmitry V. Levin @ 2006-12-14 14:18 UTC (permalink / raw)
  To: ALT Linux Sisyphus

[-- Attachment #1: Type: text/plain, Size: 207 bytes --]

On Thu, Dec 14, 2006 at 02:58:26PM +0300, Alexey I. Froloff wrote:
> * Andrey Khavryuchenko <akhavr@> [061214 14:17]:
> > Вешать багу на spt?
> Скорее на fakeroot.

При чём тут fakeroot?


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [sisyphus] spt installs mysql 4.1?
  2006-12-14 14:18       ` Dmitry V. Levin
@ 2006-12-14 16:12         ` Andrey Khavryuchenko
  2006-12-14 16:46           ` Alexey I. Froloff
  2006-12-14 16:38         ` Alexey I. Froloff
  1 sibling, 1 reply; 15+ messages in thread
From: Andrey Khavryuchenko @ 2006-12-14 16:12 UTC (permalink / raw)
  To: ALT Linux Sisyphus

Dmitry,

"DVL" == Dmitry V Levin wrote:

 DVL> On Thu, Dec 14, 2006 at 02:58:26PM +0300, Alexey I. Froloff wrote:
 >> * Andrey Khavryuchenko <akhavr@> [061214 14:17]:
 >> > Вешать багу на spt?
 >> Скорее на fakeroot.

 DVL> При чём тут fakeroot?

Вот и я не знаю.  *Моя* проблема в том, что я не смог сгенерировать шаблон,
т.к. какого-то чёрта влез MySQL41 вместо MySQL-server(-5.0.x)

-- 
Andrey V Khavryuchenko            
Software Development Company http://www.kds.com.ua/


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [sisyphus] spt installs mysql 4.1?
  2006-12-14 14:18       ` Dmitry V. Levin
  2006-12-14 16:12         ` Andrey Khavryuchenko
@ 2006-12-14 16:38         ` Alexey I. Froloff
  2006-12-14 17:22           ` Dmitry V. Levin
  1 sibling, 1 reply; 15+ messages in thread
From: Alexey I. Froloff @ 2006-12-14 16:38 UTC (permalink / raw)
  To: ALT Linux Sisyphus

[-- Attachment #1: Type: text/plain, Size: 479 bytes --]

* Dmitry V. Levin <ldv@> [061214 18:22]:
> > > Вешать багу на spt?
> > Скорее на fakeroot.
> При чём тут fakeroot?
Это я про useradd.  Права на /etc/tcb/USER/shadow* получаются
кривоватые, наверно из-за использования setfsuid()/setfsgid().
Глубоко не копал, выкрутился firsttime.d-скриптом.

-- 
Regards, Alexey I. Froloff
AIF5-RIPN, AIF5-RIPE
-------------------------------------------
  Inform-Mobil, Ltd. System Administrator
       http://www.inform-mobil.ru/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [sisyphus] spt installs mysql 4.1?
  2006-12-14 16:12         ` Andrey Khavryuchenko
@ 2006-12-14 16:46           ` Alexey I. Froloff
  2006-12-14 18:48             ` Andrey Khavryuchenko
  0 siblings, 1 reply; 15+ messages in thread
From: Alexey I. Froloff @ 2006-12-14 16:46 UTC (permalink / raw)
  To: ALT Linux Sisyphus

[-- Attachment #1: Type: text/plain, Size: 634 bytes --]

* Andrey Khavryuchenko <akhavr@> [061214 19:23]:
> Вот и я не знаю.  *Моя* проблема в том, что я не смог
> сгенерировать шаблон, т.к. какого-то чёрта влез MySQL41 вместо
> MySQL-server(-5.0.x)
4.0 из 2.4 Master у меня не отрабатывал %post при установке под
spt...

Про MySQL41 был анонс от мантейнера, где он допускал возможность
такого поведения и предлагал вешать баги.

http://wiki.sisyphus.ru/changes , Ноябрь, 27.11.2006, второй
апзац.

-- 
Regards, Alexey I. Froloff
AIF5-RIPN, AIF5-RIPE
-------------------------------------------
  Inform-Mobil, Ltd. System Administrator
       http://www.inform-mobil.ru/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [sisyphus] spt installs mysql 4.1?
  2006-12-14 16:38         ` Alexey I. Froloff
@ 2006-12-14 17:22           ` Dmitry V. Levin
  2006-12-15  7:35             ` Alexey I. Froloff
  0 siblings, 1 reply; 15+ messages in thread
From: Dmitry V. Levin @ 2006-12-14 17:22 UTC (permalink / raw)
  To: ALT Linux Sisyphus

[-- Attachment #1: Type: text/plain, Size: 412 bytes --]

On Thu, Dec 14, 2006 at 07:38:20PM +0300, Alexey I. Froloff wrote:
> * Dmitry V. Levin <ldv@> [061214 18:22]:
> > > > Вешать багу на spt?
> > > Скорее на fakeroot.
> > При чём тут fakeroot?
> Это я про useradd.  Права на /etc/tcb/USER/shadow* получаются
> кривоватые, наверно из-за использования setfsuid()/setfsgid().

А какие именно права на /etc/tcb/USER/shadow* получаются кривоватые?


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [sisyphus] spt installs mysql 4.1?
  2006-12-14 16:46           ` Alexey I. Froloff
@ 2006-12-14 18:48             ` Andrey Khavryuchenko
  0 siblings, 0 replies; 15+ messages in thread
From: Andrey Khavryuchenko @ 2006-12-14 18:48 UTC (permalink / raw)
  To: sisyphus; +Cc: gns, hiddenman

Alexey,

"AIF" == Alexey I Froloff wrote:

 AIF> * Andrey Khavryuchenko <akhavr@> [061214 19:23]:
 >> Вот и я не знаю.  *Моя* проблема в том, что я не смог
 >> сгенерировать шаблон, т.к. какого-то чёрта влез MySQL41 вместо
 >> MySQL-server(-5.0.x)
 AIF> 4.0 из 2.4 Master у меня не отрабатывал %post при установке под
 AIF> spt...

 AIF> Про MySQL41 был анонс от мантейнера, где он допускал возможность
 AIF> такого поведения и предлагал вешать баги.

Ага, нашёл.  #10424

 AIF> http://wiki.sisyphus.ru/changes , Ноябрь, 27.11.2006, второй
 AIF> апзац.

-- 
Andrey V Khavryuchenko            
Software Development Company http://www.kds.com.ua/


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [sisyphus] spt installs mysql 4.1?
  2006-12-14 17:22           ` Dmitry V. Levin
@ 2006-12-15  7:35             ` Alexey I. Froloff
  0 siblings, 0 replies; 15+ messages in thread
From: Alexey I. Froloff @ 2006-12-15  7:35 UTC (permalink / raw)
  To: ALT Linux Sisyphus

[-- Attachment #1: Type: text/plain, Size: 733 bytes --]

* Dmitry V. Levin <ldv@> [061214 20:59]:
> > Это я про useradd.  Права на /etc/tcb/USER/shadow* получаются
> > кривоватые, наверно из-за использования setfsuid()/setfsgid().
> А какие именно права на /etc/tcb/USER/shadow* получаются кривоватые?
$ hsh-shell --rooter .hsh          
[root@inferno .in]# useradd test
[root@inferno .in]# ls -l /etc/tcb/test/
total 4
-rw-r----- 1 test auth 20 Dec 15 10:31 shadow
-rw------- 1 root root  0 Dec 15 10:31 shadow-
-rw------- 1 root root  0 Dec 15 10:31 shadow.lock

А всё должно быть test:auth...

-- 
Regards, Alexey I. Froloff
AIF5-RIPN, AIF5-RIPE
-------------------------------------------
  Inform-Mobil, Ltd. System Administrator
       http://www.inform-mobil.ru/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2006-12-15  7:35 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-14 10:53 [sisyphus] spt installs mysql 4.1? Andrey Khavryuchenko
2006-12-14 11:07 ` Alexey I. Froloff
2006-12-14 11:16   ` Andrey Khavryuchenko
2006-12-14 11:24     ` Konstantin A. Lepikhov
2006-12-14 12:02       ` Andrey Khavryuchenko
2006-12-14 12:09         ` Konstantin A. Lepikhov
2006-12-14 11:58     ` Alexey I. Froloff
2006-12-14 14:03       ` Andrey Khavryuchenko
2006-12-14 14:18       ` Dmitry V. Levin
2006-12-14 16:12         ` Andrey Khavryuchenko
2006-12-14 16:46           ` Alexey I. Froloff
2006-12-14 18:48             ` Andrey Khavryuchenko
2006-12-14 16:38         ` Alexey I. Froloff
2006-12-14 17:22           ` Dmitry V. Levin
2006-12-15  7:35             ` Alexey I. Froloff

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git