[Bug 170536] Review Request: ircd-hybrid : Internet Relay Chat server
bugzilla at redhat.com
bugzilla at redhat.com
Tue Nov 1 10:43:32 UTC 2005
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
Summary: Review Request: ircd-hybrid : Internet Relay Chat server
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=170536
------- Additional Comments From paul at city-fan.org 2005-11-01 05:43 EST -------
(In reply to comment #12)
> (In reply to comment #11)
> > I did rpmbuild directly on the SRPM, FC4.
> >
> > Modules are now stripped.
> >
> > OK, openssl-devel requires zlib-devel.
> >
> > rpmlint still complains about non-standard uid and gid. Note that uid and gid
> > conflicts need to be avoided, see
> > http://fedoraproject.org/wiki/PackageUserCreation Currently there is no ideal
> > solution, though you can register ircd to avoid conflicts.
>
> I'm not sure to well understand this problem. If in the spec file i replace
> %{_sbindir}/useradd -s /sbin/nologin -M -r -d %{_var}/lib/ircd \
> -c "IRC service account" ircd &>/dev/null || :
> by
> %{_sbindir}/fedora-useradd 10 -s /sbin/nologin -M -r -d %{_var}/lib/ircd \
> -c "IRC service account" ircd &>/dev/null || :
> rpmlint still complains about non-standard uid and gid.
> I don't understand what you mean abour register ircd.
> Sorry for that but i'm a "new" packager and i still have to learn ...
It will do. Don't worry about it. It's entirely up to you if you want to use the
optional fedora-useradd mechanism, and I believe you register the UID to use by
editing the wiki page http://fedoraproject.org/wiki/PackageUserRegistry (UID 10
is already taken).
> > The start problem is because you define ircd's home to be %{_var}/lib/ircd,
> > which doesn't exist.
> If i remerber well the defined home in useradd is created by default if it does
> not exist ?
You've used the -M option in useradd, which means "The user’s home directory
will not be created, even if the system wide settings from
/etc/login.defs is to create home dirs". You should create this directory in the
%install section of your spec and make sure that your package "owns" that
directory by including it in the %files list, with an appropriate %attr clause
to make the directory owned by user ircd and have the right permissions.
--
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the fedora-extras-list
mailing list