| Summary: | В файле /etc/inid.d/fetchmail UID>500, а должен быть UID>=500 | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | egor <egor> |
| Component: | fetchmail-daemon | Assignee: | Mikhail Zabaluev <mhz> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P4 | CC: | azol, legion, mike |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
solution will be like that:
UID_MIN=`grep -s ^UID_MIN /etc/login.defs |head -1 |awk \'{print $2}\'`
[ -n \"$UID_MIN\" ] || UID_MIN=500
NON_SYSTEM_USERS=`awk -F: -v \"uid_min=$UID_MIN\" \'{if ($3>=uid_min) print $1}\' </etc/passwd`
Another problem (#0000220) delays closing of this bug.
solution will be like that:
UID_MIN=`grep -s ^UID_MIN /etc/login.defs |head -1 |awk \'{print $2}\'`
[ -n \"$UID_MIN\" ] || UID_MIN=500
NON_SYSTEM_USERS=`awk -F: -v \"uid_min=$UID_MIN\" \'{if ($3>=uid_min) print $1}\' </etc/passwd`
Another problem (#0000220) delays closing of this bug.
If a well-thought-out solution needs to be postponed for so much, maybe we\'d better get by with a quick fix which solves the problem at hand? If a well-thought-out solution needs to be postponed for so much, maybe we\'d better get by with a quick fix which solves the problem at hand? Fixed in 5.9.12-alt1 Fixed in 5.9.12-alt1 |
--- fetchmail~ Tue Mar 13 11:50:42 2001 +++ fetchmail Sun Nov 11 19:37:03 2001 @@ -16,7 +16,7 @@ # Check that fetchmailrc exists. [ -x /usr/bin/fetchmail ] || exit -NON_SYSTEM_USERS=`awk -F: \'{if ($3>500) print $1}\' </etc/passwd` +NON_SYSTEM_USERS=`awk -F: \'{if ($3>=500) print $1}\' </etc/passwd` LOCKFILE=/var/lock/subsys/fetchmail RETVAL=0 </textarea> </td> </tr> <tr> <td align=center bgcolor=#c8c8e8> <b>Steps To Reproduce</b> </td> <td colspan=5 bgcolor=#d8d8d8> <textarea cols=60 rows=5 name=f_steps_to_reproduce wrap=\"virtual\"> --- ---