]>
Commit | Line | Data |
---|---|---|
7e765181 | 1 | P if fixed in preen step |
ab05f33a | 2 | F if not fixed in fast mode |
7e765181 | 3 | * if not offered to fix |
4 | *if not actually checked | |
5 | ================================ | |
6 | PHASE 1: looking for duplicates | |
7 | ||
ab05f33a | 8 | * don't delete both if one is placeholder * |
9 | ||
7e765181 | 10 | Each users_id must be unique |
11 | Alloc new ID | |
ab05f33a | 12 | F Each login name must be unique |
7e765181 | 13 | If full names match, delete; else unregister |
ab05f33a | 14 | F* Each user can appear at most once in the krbmap |
15 | F* Each principal can appear at most once in the krbmap | |
7e765181 | 16 | Each mach_id must be unique |
17 | Alloc new ID | |
ab05f33a | 18 | F* Each machine name must be unique |
19 | F* Each hostalias name must be unique | |
20 | F* Each hostalias name must not be the same as any machine name | |
772b7afc | 21 | Each snet_id must be unique |
22 | Alloc new ID | |
235fd664 | 23 | F* Each subnet name must be unique |
7e765181 | 24 | Each clu_id must be unique |
25 | Alloc new ID | |
ab05f33a | 26 | F* Each cluster must have a unique name |
7e765181 | 27 | Each list_id must be unique |
28 | Alloc new ID | |
ab05f33a | 29 | F* Each list must have a unique name |
7e765181 | 30 | Each filsys_id must be unique |
31 | Alloc new ID | |
235fd664 | 32 | F* Each filesys name must be unique |
7e765181 | 33 | Each nfsphys_id must be unique |
34 | Alloc new ID | |
ab05f33a | 35 | Each string must be unique |
36 | Delete second copy and remember this for phase 2 | |
37 | Each string_id must be unique | |
38 | Delete all copies | |
235fd664 | 39 | F* Each printer name must be unique |
7e765181 | 40 | |
41 | PHASE 2: checking references | |
42 | ||
ab05f33a | 43 | Each reference to a string must not point to a duplicate string |
44 | Reset it to point to the first copy of that string | |
45 | Each reference to a string must point to a real string | |
46 | Reset it to point to string 0 | |
7e765181 | 47 | Each user's POP pobox must be on a real machine |
48 | Delete pobox | |
49 | Each user's SMTP pobox must have a string | |
50 | Delete pobox | |
ab05f33a | 51 | P Every machine must be on a subnet |
52 | Set to placeholder subnet | |
53 | P Every machine owner must exist | |
54 | Set dummy owner | |
55 | Every subnet owner must exist | |
56 | Set dummy owner | |
7e765181 | 57 | P Every entry in the machine-cluster map must reference machine & cluster |
58 | Delete entry | |
59 | P Every piece of cluster data must be attached to a real cluster. | |
60 | Delete data | |
ab05f33a | 61 | P Every list ACE must exist |
7e765181 | 62 | Make list it's own acl |
63 | P Every member must be a member of a real list | |
64 | Delete the member | |
65 | P Every USER member must be a real user | |
66 | Delete the member | |
67 | P Every LIST member must be a real list | |
68 | Delete the member | |
69 | P Every STRING member must be a real string | |
70 | Delete the member | |
71 | P Every KERBEROS member must be a real string | |
72 | Delete the member | |
73 | P Every service USER owner must be a real user | |
74 | Make user 0 own service | |
75 | P Every service LIST owner must be a real list | |
76 | Make list 0 own service | |
77 | Every server/host tuple must refer to a real machine | |
78 | Delete tuple | |
ab05f33a | 79 | Every NFS physical's machine must exist |
80 | Delete entry | |
7e765181 | 81 | Every filesys must be on a real machine |
82 | Put it on machine 0 | |
83 | P Every filesys' owning user must exist | |
84 | Make it user 0 | |
85 | P Every filesys' owning group must exist | |
86 | Make it list 0 | |
ab05f33a | 87 | Every NFS filesys' phys_id must exist |
88 | P Set to correct one if found | |
89 | else create one | |
7e765181 | 90 | Every fsgroup must exist |
91 | Delete the fsgroup | |
ab05f33a | 92 | *Every fsgroup must be of type FSGROUP |
7e765181 | 93 | Change type |
94 | P Every fsgroup member must exist | |
95 | Delete member | |
23386be8 | 96 | P Every USER quota must be for a real user |
97 | Delete quota | |
98 | P Every GROUP quota must be for a real list | |
7e765181 | 99 | Delete quota |
100 | Every quota must be on a real filesys | |
101 | Delete quota | |
102 | P Every quota's phys_id must match the filesys' phys_id | |
103 | Fix phys_id | |
7e765181 | 104 | **Zephyr checks |
105 | * Every hostaccess must be for a real machine | |
106 | * Every hostaccess USER must exist | |
107 | * Every hostaccess LIST must exist | |
dabf20aa | 108 | Every printer must have real printer, spool, and quota machines |
235fd664 | 109 | Delete the printer |
dabf20aa | 110 | * Every printer must have a real log machine |
111 | Reset to WSLOGGER.MIT.EDU | |
112 | Every print ac/lpc_acl must exist | |
113 | Make it list 0 | |
ab05f33a | 114 | P Every user in the krbmap must exist |
115 | Delete map entry | |
116 | P Every string in the krbmap must exist | |
117 | Delete map entry | |
7e765181 | 118 | * Every list used in capacls must exist |
119 | ||
120 | PHASE 3: finding unused objects | |
121 | ||
7e765181 | 122 | Every list must have at least one member (if -w flag not specified) |
123 | Print warning | |
124 | P Every string must be used at least once | |
125 | Delete string | |
126 | ||
127 | PHASE 4: checking counts | |
128 | ||
129 | * Every POP pobox must be on a POP server | |
130 | P The count of POP boxes must match value1 of the service/host tuple | |
131 | update count | |
132 | P The total quota on an NFSphys must match the recorded allocation | |
133 | update count |