[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] RPM/SRPM for nfs-utils-1.0.1-3.9 now available



On 23/12/2003, at 9:24 PM, Zeffie wrote:

or just "cheat" and ln -s /sbin/badsh /sbin/nologin

I think that would work too... also need to add /sbin/nologin to
/etc/shells

Thats exactly the kind of thinking that breaks the whole rpm concept...

I haven't been following this, but how the heck does adding a new
invalid shell to /etc/shells break your package management system?
R

The part about "just "cheat" and ln -s /sbin/badsh /sbin/nologin" creates a link that is not accounted for anywhere... and the adding it to /etc/shells
by hand should be done by the rpm's post and preun scripts.

rpm allows us to account for every file on the system and to know various things about them.. like md5 sums for example... and it's easy to build it

I understand, but I would have thought going /this/ far a tad overboard. I use packaging because it helps me maintain installed applications, lets me easily keep track of revisions, and {remove/install} everything cleanly.

Something like /sbin/nologin seems fair enough to keep in a package, but I'd hardly consider it 'breaking concepts' by doing something like this, especially considering its usually a two line script, and it's not really owned by anything (apart from the base system).

R