ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] systemd и /etc/vconsole.conf
@ 2014-03-05  9:18 diver
  2014-03-05  9:29 ` Viacheslav Dubrovskyi
  0 siblings, 1 reply; 3+ messages in thread
From: diver @ 2014-03-05  9:18 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Здравствуйте,

проясните для общего развития, как такое происходит.


Долгое время не отображало кириллицу в консоле, не особо нуждался, но
недавно решил починить. Погуглил, почитал наш #28805, где сказано что
все должно работать.

Но у меня не работало пока я не создал /etc/vconsole.conf, с таким содержимым:
KEYMAP=ru
FONT=cyr-sun16

Хотя в тоже время
$ rpm -qf /etc/vconsole.conf
systemd-210-alt1

Делаю:
$ mv /etc/vconsole.conf /etc/vconsole.conf-
$ apt-get install --reinstall systemd
Чтение списков пакетов... Завершено
Построение дерева зависимостей... Завершено
0 будет обновлено, 0 новых установлено, 1 пакетов будет
переустановлено, 0 пакетов будет удалено и 0 не будет обновлено.
Необходимо получить 0B/1997kB архивов.
После распаковки потребуется дополнительно 0B дискового пространства.
Продолжить? [Y/n] y
Совершаем изменения...
Preparing...
###################################################################################################
[100%]
1: systemd
###################################################################################################
[100%]
Running /usr/lib/rpm/posttrans-filetriggers
Завершено.

$ cat /etc/vconsole.conf
cat: /etc/vconsole.conf: Нет такого файла или каталога
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Вот собственно и вопрос. Это как так получается? :/

P.S. Все из-за того, что хотел убедится или то что я нагугли для файла
vconsole.conf соответствует дефолту в Альт.


-- 
LRU: #407670

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

* Re: [sisyphus] systemd и /etc/vconsole.conf
  2014-03-05  9:18 [sisyphus] systemd и /etc/vconsole.conf diver
@ 2014-03-05  9:29 ` Viacheslav Dubrovskyi
  2014-03-05  9:41   ` diver
  0 siblings, 1 reply; 3+ messages in thread
From: Viacheslav Dubrovskyi @ 2014-03-05  9:29 UTC (permalink / raw)
  To: sisyphus

05.03.2014 11:18, diver wrote:
> $ cat /etc/vconsole.conf
> cat: /etc/vconsole.conf: Нет такого файла или каталога
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Вот собственно и вопрос. Это как так получается? :/
Этот файл %ghost
http://git.altlinux.org/gears/s/systemd.git?p=systemd.git;a=blob;f=systemd.spec;h=6ba3deb815cac9549f641f29b5cfc0309ff9df84;hb=sisyphus#l948

http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html

As we mentioned in the Section called The %files List, if a file is 
specified in the %files list, that file will automatically be included 
in the package. There are times when a file should be owned by the 
package but not installed - log files and state files are good examples 
of cases you might desire this to happen.
The way to achieve this, is to use the %ghost directive. By adding this 
directive to the line containing a file, RPM will know about the ghosted 
file, but will not add it to the package.

-- 
WBR,
Viacheslav Dubrovskyi



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

* Re: [sisyphus] systemd и /etc/vconsole.conf
  2014-03-05  9:29 ` Viacheslav Dubrovskyi
@ 2014-03-05  9:41   ` diver
  0 siblings, 0 replies; 3+ messages in thread
From: diver @ 2014-03-05  9:41 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

2014-03-05 11:29 GMT+02:00 Viacheslav Dubrovskyi:
> 05.03.2014 11:18, diver wrote:
>> Вот собственно и вопрос. Это как так получается? :/
>
> Этот файл %ghost
> http://git.altlinux.org/gears/s/systemd.git?p=systemd.git;a=blob;f=systemd.spec;h=6ba3deb815cac9549f641f29b5cfc0309ff9df84;hb=sisyphus#l948
>
> http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html

Спасибо, стал умнее :)
А как предполагается получить этот файл в установленной системе при
миграции на systemd?

-- 
LRU: #407670

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

end of thread, other threads:[~2014-03-05  9:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-05  9:18 [sisyphus] systemd и /etc/vconsole.conf diver
2014-03-05  9:29 ` Viacheslav Dubrovskyi
2014-03-05  9:41   ` diver

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