[arch-dev-public] [signoff] openssh 5.4p1-2

Thomas Bächler thomas at archlinux.org
Wed Mar 10 17:31:42 CET 2010


Am 10.03.2010 17:16, schrieb Pierre Schmitz:
>> This is really not my day and I already regret touching this package. :-)
>> The problem with using readlink /proc/$pid/exe is that during an update of
>> a running sshd that link will point nowhere. As a result the restart will
>> fail.
>>
>> What do you think about using /proc/$pid/cmdline instead?
> 
> Just found out that this wont work with ssh_args set in /ec/conf.d/sshd. My 
> last resort would be stripping that possible "(deleted)" fro mthe readlink 
> output.

The sshd symlink is not actually a symlink, it is something weird. It
will always seem to point to the right "path" as far as I know, even
when the binary is changed or deleted.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-dev-public/attachments/20100310/f3873595/attachment.bin>


More information about the arch-dev-public mailing list