From: "Sergey Y. Afonin" <asy@altlinux.ru> To: ALT Devel discussion list <devel@altlinux.ru> Subject: Re: [devel] Re: непонятки с rpm Date: Wed, 27 Apr 2005 18:25:39 +0500 Message-ID: <200504271825.39703.asy@altlinux.ru> (raw) In-Reply-To: <426F5F6B.3070403@vzljot.ru> On Wednesday 27 April 2005 14:46, Vitaly Ostanin wrote: > > если сделать rpm -U, то файл исчезает почему-то... Или тут надо просто в > > %pre в новом пакете лоб добавить ?.. > > Нужно проверить, что исчезает файл, который менялся после > установки, Это я, как раз, и проверял. Если файл не менялся, его и не надо сохранять. Такое поведение именно с измененным. > и опечатки в noreplace. Вообще-то, noreplace я для галочки упомянул. Судя по документации, noreplace регламентирует только перезапись, если такой файл уже есть. А тут его никто не перезаписывает... > Кстати, по спеку смотреть проще ;) Он немеряный (кстати, так и не доходят руки пройтись по спеку полностью). В установленном в files: %ghost %_sysconfdir/mail/access %attr(0644,root,root) %config(noreplace) %_sysconfdir/mail/access.* В накатываемом: %ghost %_sysconfdir/mail/access %attr(0644,root,root) %config(noreplace) %_sysconfdir/mail/access.main %dir %_sysconfdir/mail/access.d %attr(0644,root,root) %config(noreplace) %_sysconfdir/mail/access.d/*.access %dir %_sysconfdir/mail/access.d.shared %attr(0644,root,root) %config(noreplace) %_sysconfdir/mail/access.d.shared/*.access Или все-таки, надо полностью спеки ? Это Sendmail. Эти вот самые access.* (кроме access.main) и пропадают при -U. Кстати, access.main.rpmnew тоже не создается рядом с нетронутым старым... -- С уважением, Сергей Афонин asy@altlinux.ru
prev parent reply other threads:[~2005-04-27 13:25 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-04-26 16:04 [devel] " Sergey Y. Afonin 2005-04-27 9:46 ` [devel] " Vitaly Ostanin 2005-04-27 13:25 ` Sergey Y. Afonin [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200504271825.39703.asy@altlinux.ru \ --to=asy@altlinux.ru \ --cc=devel@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git