All of lore.kernel.org
 help / color / mirror / Atom feed
* user/group XXX does not exist, using root with RPM/DNF packaging in Hardknott and Honister
@ 2021-09-24 14:02 Zoltan Boszormenyi
  2021-09-24 16:22 ` Khem Raj
  2021-09-24 17:17 ` Mark Hatle
  0 siblings, 2 replies; 8+ messages in thread
From: Zoltan Boszormenyi @ 2021-09-24 14:02 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

Hi,

I have a special package that creates users and groups
via inherit useradd. This package doesn't depend on any
others but it is depended on, both via DEPENDS and RDEPENDS
by packages using those users/groups in their do_install
scripts.

This works for packaging becase these ownerships
are encoded in the packages, confirmed by rpm -qp --dump ...

However, during do_rootfs, a couple of
"user/group XXX does not exist, using root"
messages appear for the packages depending on others
creating these users/groups.

log.do_rootfs shows that the package installation ordering
does not follow RDEPENDS. Instead, it's practically an
alphabetical order when running dnf.

This doesn't just involve my custom packages, but also clamav
plus another one in which I ship a small limited set of
virus signatures, also chown'd to clamav and with RDEPENDS
on clamav.

What is the correct solution to this?

Thanks in advance,
Zoltán Böszörményi

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

end of thread, other threads:[~2021-09-25 17:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-24 14:02 user/group XXX does not exist, using root with RPM/DNF packaging in Hardknott and Honister Zoltan Boszormenyi
2021-09-24 16:22 ` Khem Raj
2021-09-24 16:36   ` [OE-core] " Zoltan Boszormenyi
2021-09-24 17:04     ` Khem Raj
2021-09-24 17:17 ` Mark Hatle
2021-09-25  8:48   ` Zoltan Boszormenyi
2021-09-25  9:18     ` Richard Purdie
2021-09-25 17:25       ` Böszörményi Zoltán

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.