Ticket #43883

check package health on user system

Open Date: 2022-02-17 05:01 Last Update: 2022-02-17 05:38

Reporter:
Owner:
Status:
Open [Owner assigned]
Component:
MileStone:
(None)
Priority:
3
Severity:
5 - Medium
Resolution:
None
File:
None

Details

I would have come up with a neat batch file, but (Free/MS-)DOS command.com doesn't support "for /f ... package.lsm) ..." syntax. :-(

So, I'd like to request to add a new pkg action called "check" or "health".

It shall just read the LSM file line by line and check, if all files are present at the disk. If so, echo "OK" to the user. If not, throw an error, of course and tell the user something about restoring a backup or reinstalling the package from the repo.

Maybe also add a "checkall" action to iterate "pkg check" thru all installed packages.

Ticket History (3/4 Histories)

2022-02-17 05:01 Updated by: bttr
  • New Ticket "check package health on user system" created
2022-02-17 05:07 Updated by: bttr
  • Details Updated
2022-02-17 05:14 Updated by: mateuszviste
Comment

the LST file could also be populated with BSUMs of all deployed files (at least for EXE, COM and BAT files) and compared with current status during a health check

2022-02-17 05:38 Updated by: bttr
Comment

I didn't want to make it that complex, but it makes sense.

Plus SYS files.

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login