Comment 4 for bug 378862

Revision history for this message
Owen Jacobson (owen-jacobson) wrote :

Putting the script in a subdirectory of /usr/local/share or /usr/share seems like the right thing per the FHS. Storing the firstlogin-run flag file in /var/lib/misc seems equally like the right thing. I'm leery of putting runnable objects (even scripts) in /etc, but there's some precedent for it (/etc/bash.bashrc and friends, which is exactly how firstlogin works anyways).

Doesn't Debian or Ubuntu have a mechanism for this? Or do we live in the future, where all packages do everything they need in postinst or on first startup?