Bug #3165
fo-cleanold overwrites /etc/cron.d/fossology with /etc/init.d/fossology
| Status: | Closed | Start date: | 07/31/2012 | |
|---|---|---|---|---|
| Priority: | High | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | CLI | |||
| Target version: | 2.2.0 | |||
| Rank: | 2 | Tester: | Mary |
Description
When running fo-cleanold with --delete-everything, line 5 below saves /etc/cron.d/fossology as /tmp/fossology-configs.pwhVzc/fossology. Line 6 then overwrites /tmp/fossology-configs.pwhVzc/fossology with /etc/init.d/fossology.
- $ sudo utils/fo-cleanold --delete-everything
- * Deleting everything **
- * Searching for old fossology config files **
- * Searching for new fossology config files **
- NOTE: found /etc/cron.d/fossology saving to /tmp/fossology-configs.pwhVzc/ and deleting as requested
- NOTE: found /etc/init.d/fossology saving to /tmp/fossology-configs.pwhVzc/ and deleting as requested
- NOTE: found /usr/local/etc/fossology/Db.conf saving to /tmp/fossology-configs.pwhVzc/ and deleting as requested
...
History
Updated by Bob Gobeille 8 months ago
- Target version changed from 2.1.0 to 2.2.0
Updated by Bob Gobeille 8 months ago
- Rank set to 99
Change unranked issues to rank 99 so they show up in a ranking report at the bottom. Otherwise, they show up on top.
Updated by larry shi 5 months ago
- Category set to CLI
- Status changed from New to Resolved
- Assignee set to larry shi
- Priority changed from Normal to High
- Rank changed from 99 to 2
fixed in svn 6336.
Updated by Mary Laser 2 months ago
- Tester set to Mary
Updated by Mary Laser about 1 month ago
- Status changed from Resolved to Closed
Verified with 6508 on pigwidgeon; closing.
laser@pigwidgeon:~/fossology$ svn info
Path: .
URL: https://fossology.svn.sourceforge.net/svnroot/fossology/trunk/fossology
Repository Root: https://fossology.svn.sourceforge.net/svnroot/fossology
Revision: 6508
Node Kind: directory
Schedule: normal
Last Changed Author: yaobinshi
Last Changed Rev: 6508
Last Changed Date: 2013-03-21 00:31:49 -0600 (Thu, 21 Mar 2013)
[sudo] password for laser:
- Deleting everything ***
- Searching for old fossology config files ***
- Searching for new fossology config files ***
NOTE: found /etc/cron.d/fossology saving to /tmp/fossology-configs.vrVbVV//etc/cron.d/ and deleting as requested
NOTE: found /etc/init.d/fossology saving to /tmp/fossology-configs.vrVbVV//etc/init.d/ and deleting as requested
...