ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] I: updated package - scpm
@ 2005-04-08 16:07 Sviataslau Svirydau
  0 siblings, 0 replies; only message in thread
From: Sviataslau Svirydau @ 2005-04-08 16:07 UTC (permalink / raw)
  To: sisyphus

Приветствую,

В /incoming/Daedalus/ залита очередная сборка scpm (system configuration 
profile management): scpm-1.0.2-alt0.2.src.rpm
Она отличается от предыдущей тем, что уже немножко работает :)

Я пока проверял работу с сетевыми настройками (использую net-scripts, 
как поведет себя с etcnet не знаю):

# scpm enable - необходимо выполнить один раз после первичной установки, 
будет создан профиль default с текущими настройками.

# scpm activate_group sshd - добавление настроек sshd в профиль

# scpm add test - создание профиля test, он станет активным

<модификация настроек>
# scpm save - сохранение настроек

# scpm switch default - переключение на профиль default.

Например, у меня есть 2 профиля, один со статическим ip, другой - с 
испльзованием dhcp:

==================================
# scpm active
default
# ip a l eth0
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:0b:db:e0:2e:99 brd ff:ff:ff:ff:ff:ff
    inet 10.6.3.197/20 brd 10.6.15.255 scope global eth0
# scpm switch dhcp
Checking for modified resources
Saving resources
Checking for Resources to be started/shut down
Checking for dependencies
  service network has to be restarted
  service sshd has to be restarted
  service ifplugd has to be restarted
Switching to profile dhcp
  stopping network (service) [ok]
  stopping sshd (service) [ok]
  stopping ifplugd (service) [ok]
  restoring /etc/sysconfig/network (file)
  restoring /etc/sysconfig/network-scripts (file)
  starting network (service) [ok]
  starting ifplugd (service) [ok]
  starting sshd (service) [ok]
# ip a l eth0
2: eth0: <BROADCAST,MULTICAST,NOTRAILERS,UP> mtu 1500 qdisc pfifo_fast 
qlen 1000
    link/ether 00:0b:db:e0:2e:99 brd ff:ff:ff:ff:ff:ff
    inet 10.6.9.14/20 brd 10.6.15.255 scope global eth0
==================================

Тем не менее, еще много чего не протестировано, и еще больше не будет 
работать так, как работает в SuSE.
Например, у нас не будет работать автоматическое вычисление зависимостей 
между сервисами, поскольку оно вычисляется на основе прописанных в 
инитскрипты "Required-Start"...

Собсно, тестируйте, кому интересно...

-- 
Best Regards,
Sviataslau Svirydau <Sviataslau_Svirydau at epam.com>
phone:  +375 (17) 210 1662, ext. 1503
fax:    +375 (17) 210 1168
mobile: +375 (29) 641 4214
-- 
If it's not in the computer, it doesn't exist.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-08 16:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-08 16:07 [sisyphus] I: updated package - scpm Sviataslau Svirydau

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