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

Bug#34408: samba: sambaconfig hoses inetd.conf if interrupted at first prompt (fwd)



Guys,

Is this request reasonable? Should a postinst script be made bullet
proof against a user hitting Control-C in the middle of its execution?
This will complicate the postinst script a lot.

Thanks,

peloy.-

----- Forwarded message from ben@bgpc.dymaxion.ca -----

Subject: Bug#34408: samba: sambaconfig hoses inetd.conf if interrupted at first prompt
From: <ben@bgpc.dymaxion.ca>
To: submit@bugs.debian.org
X-Mailer: bug 3.1.7
Date: Fri, 12 Mar 1999 09:49:27 -0400

Package: samba
Version: 1.9.18p10-7

If sambaconfig is run, but then interrupted at the first prompt, it
has already disabled netbios-* in /etc/inetd.conf and shutdown samba
in preparation for the next step.  Unfortunately, this means that if
you ^C to interrupt the script, your inetd.conf is hosed.  I think
sambaconfig should be a bit more robust, only committing changes to
inetd.conf *after* all dialog from the user has been accepted, and
possibly also disabling ^C when it does the actual modifications to
inetd.conf.

Ben

-- System Information
Debian Release: 2.1
Kernel Version: Linux bgpc 2.2.1 #1 Thu Mar 11 09:41:54 AST 1999 i586 unknown

Versions of the packages samba depends on:
ii  netbase         3.11-1.2       Basic TCP/IP networking binaries
ii  libc6           2.0.7.19981211 GNU C Library: shared libraries


----- End forwarded message -----


Reply to: