Bug 435136 - /etc/cron.d/smolt requires smolt username but smolt-1.1-1 package doesn't create it
/etc/cron.d/smolt requires smolt username but smolt-1.1-1 package doesn't cre...
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: smolt (Show other bugs)
rawhide
All Linux
low Severity medium
: ---
: ---
Assigned To: Mike McGrath
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-27 11:26 EST by Gilles Detillieux
Modified: 2008-02-27 14:40 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-02-27 13:28:32 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Gilles Detillieux 2008-02-27 11:26:01 EST
Description of problem:
The /etc/cron.d/smolt crontab is set up to use the smolt username, as of the
update to version 1.1-1, but the smolt package doesn't create this username.  As
a result, cron logs these errors on startup:

Feb 26 17:09:52 localhost crond[2225]: CRON: error in (/etc/cron.d/smolt)
problem is (bad username)

Version-Release number of selected component (if applicable):
1.1-1.fc9.noarch (fc7 & fc8 likely also affected)

How reproducible:
Always

Steps to Reproduce:
1. "yum update" to update to smolt-1.1-1.fc9.noarch.rpm
2. reboot, or restart crond service
3. grep smolt /var/log/cron
  
Actual results:
Feb 26 17:09:52 localhost crond[2225]: CRON: error in (/etc/cron.d/smolt)
problem is (bad username)

Expected results:
No errors, cron reads crontab line and runs smoltSendProfile monthly.

Additional info:
%pre script should do a useradd, as most other packages do when they need a
dedicated username, and %preun script should likely do a userdel.  See rpcbind
or dovecot packages for examples of these.  Some packages (e.g. bind, gdm) don't
do userdel, but it's a bit tidier if they do.
Comment 1 Mike McGrath 2008-02-27 11:49:50 EST
Buah crap, new I missed something.
Comment 2 Jeffrey C. Ollie 2008-02-27 13:28:32 EST
Fixed in 1.1-2.
Comment 3 Fedora Update System 2008-02-27 14:39:12 EST
smolt-1.1-2.fc8 has been submitted as an update for Fedora 8
Comment 4 Fedora Update System 2008-02-27 14:40:01 EST
smolt-1.1-2.fc7 has been submitted as an update for Fedora 7

Note You need to log in before you can comment on or make changes to this bug.