You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
users/groups: we'd have to filter results according to UID/GID_MIN/MAX from /etc/login.defs - but that creates obvious blind spots
routeros: we'd have to decide what's relevant: extra bridges, VLANs, VLAN interfaces, bridge ports, ...?
svc_*: how to exclude default/system services?
At what point do we report too little or too much? Will users want to fine tune these things?
Reporting
Once we have that information, how do we present it?
bw items --unmanaged nodename
a dedicated bw audit?
at the end of bw verify?
at the end of bw apply?
The latter two might be annoying for a lot of users who don't need to manage everything. If we hide that info behind a CLI switch, however, it will likely go unnoticed. If we offer a switch to suppress the output, it would be annoying to opt out every time.
Purging
Users might want to automatically have these items deleted from their nodes. This presents some problems:
How are they inserted in the dependency tree?
svc_* can't be deleted
what if users need more fine-grained control than "delete all unmanaged items... or don't"?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Sometimes it would be nice to be able to do more about unmanaged stuff appearing on a node.
Discovery
For that purpose, we could add a classmethod to item classes:
Note that this returns full item IDs, so directory items could report unmanaged files, even though they're a different type.
This should work pretty well for:
Aaand that's about it. Other items yield some challenges:
/etc/login.defs
- but that creates obvious blind spotsAt what point do we report too little or too much? Will users want to fine tune these things?
Reporting
Once we have that information, how do we present it?
bw items --unmanaged nodename
bw audit
?The latter two might be annoying for a lot of users who don't need to manage everything. If we hide that info behind a CLI switch, however, it will likely go unnoticed. If we offer a switch to suppress the output, it would be annoying to opt out every time.
Purging
Users might want to automatically have these items deleted from their nodes. This presents some problems:
Beta Was this translation helpful? Give feedback.
All reactions