vmail:*:1005:1005:Virtual Mail User:/var/spool/virtual:/dev/null vmail:*:1005: /usr/ports/mail/maildrop# cd /usr/ports/mail/maildrop && make WITH_AUTHLIB=yes MAILDROP_TRUSTED_USERS=vmail MAILDROP_SUID=1005 MAILDROP_SGID=1005 Make install pkg-static: Unknown user: '1005' pkg-static: Unknown user: '1005' no install
The bug is not on pkg side but on the maildrop port which passed uid/gid rather than names. The reason to use names, is that when installing the package anywhere even if the uid are different than when package gets installed it will end up being owned by the proper user
Hi, I'm looking into this one. Thanks for reporting and pointing me to it.
Hi again, I did not even remember this, but the port has this comment in the Makefile heading: # MAILDROP_SGID=<groupname> Maildrop will be installed with suid # permissions for MAILDROP_SUID, and sgid # permissions for MAILDROP_SGID. # NOTE: must be a valid username/groupname # at installation time, numeric uids/gids # and non existing users will cause the # installed package to miss files. Which clearly states the variable should contain a valid username/groupname. The reason the variable is "UID/GID" is historical, I took the port with this variable name and changing it would make working configurations fail. I'm open to suggestions on how to make the message more prominent, but I expect people using these variables to having read the Makefile, since that's the only way to know these customisations are available in the first place.
Not without reason have come up with !!! What to do is come up to me now and write ??
cd /usr/ports/mail/maildrop && make WITH_AUTHLIB=yes MAILDROP_TRUSTED_USERS=vmail MAILDROP_SUID=vmail MAILDROP_SGID=vmail && make install ===> Installing for maildrop-2.8.3_2 ===> maildrop-2.8.3_2 depends on executable: courierauthconfig - found ===> maildrop-2.8.3_2 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so) ===> maildrop-2.8.3_2 depends on shared library: libcourier-unicode.so - found (/usr/local/lib/libcourier-unicode.so) ===> Checking if maildrop already installed ===> Registering installation for maildrop-2.8.3_2 Installing maildrop-2.8.3_2... pkg-static: Unknown user: '1005' pkg-static: Unknown user: '1005'
(In reply to Aleks from comment #5) I'm unable to reproduce this issue, but there is something strange in yout command input/output: > cd /usr/ports/mail/maildrop && make WITH_AUTHLIB=yes > MAILDROP_TRUSTED_USERS=vmail MAILDROP_SUID=vmail MAILDROP_SGID=vmail && > make install First of all the command line arguments are needed for both the make and the make install commands, they are not transitioned over automatically. > ===> Installing for maildrop-2.8.3_2 > ===> maildrop-2.8.3_2 depends on executable: courierauthconfig - found > ===> maildrop-2.8.3_2 depends on shared library: libpcre.so - found > (/usr/local/lib/libpcre.so) > ===> maildrop-2.8.3_2 depends on shared library: libcourier-unicode.so - > found (/usr/local/lib/libcourier-unicode.so) > ===> Checking if maildrop already installed > ===> Registering installation for maildrop-2.8.3_2 > Installing maildrop-2.8.3_2... > pkg-static: Unknown user: '1005' > pkg-static: Unknown user: '1005' Not sure where the 1005 is coming from, since you are not passing it to the "make install" command line. Can I see your /etc/make.conf file (at least the relevant part). I suspect you have some definitions for MAILDROP_SUID and MAILDROP_SGID in your make.conf which are applying when not overridden from the command line.
Hi, do you have any further feedback about this issue? Thanks.
жду погоду I am waiting for the weather
(In reply to Aleks from comment #8) > жду погоду > I am waiting for the weather I'm sorry I don't understand, how the weather (meaning meteorological conditions) related to this? I'm sorry I can't read Cyrillic. Could you explain?
Do you have any further feedback? If you don't reply I'll assume it was a local problem on your machine and close this bug accordingly in a few days.
decision = /etc/services vmail<-><------>1005/tcp vmail<-><------>1005/udp