* [linux-lvm] Directory becomes sticky socket?
@ 2002-02-04 9:46 Chad C. Walstrom
2002-02-04 10:41 ` William Blunn
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Chad C. Walstrom @ 2002-02-04 9:46 UTC (permalink / raw)
To: debian-user; +Cc: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 1195 bytes --]
[Note: Please include me in the Cc: of your reply, for expediency's sake.]
I'm not sure how this came about, but I cannot remove the directory
/usr/share/doc/libldap2.
[09:36:47] chewie@skuld (505)$ ls -lad libldap2
s-w--w---T 16806 236536206 1076048101 1084824775 Oct 1 2004 libldap2=
[09:36:52] chewie@skuld (506)$ file libldap2
libldap2: sticky socket
[09:36:58] chewie@skuld (507)$ sudo rm -rf /usr/share/doc/libldap2
rm: cannot unlink `/usr/share/doc/libldap2': Operation not permitted
System: Debian unstable (Sid)
Kernel: 2.4.17-k7
Filesystem: ext3 on an LVM logical volume (no extra patches to the
kernel, vanilla 2.4.17).
I've tried removing it while root as well with no success. I've tried
using fsck.{ext2,ext3} with no avail. I relize that I'm going to have
to do something fairly low-level to the FS to recover this problem. Any
pointers or suggestions you may have would be quite welcome.
Thanks.
--
Chad Walstrom <chewie@wookimus.net> | a.k.a. ^chewie
http://www.wookimus.net/ | s.k.a. gunnarr
Get my public key, ICQ#, etc. $(mailx -s 'get info' chewie@wookimus.net)
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Directory becomes sticky socket?
2002-02-04 9:46 [linux-lvm] Directory becomes sticky socket? Chad C. Walstrom
@ 2002-02-04 10:41 ` William Blunn
2002-02-04 12:06 ` [linux-lvm] " Nathan E Norman
2002-02-05 4:08 ` [linux-lvm] " Heinz J . Mauelshagen
2 siblings, 0 replies; 5+ messages in thread
From: William Blunn @ 2002-02-04 10:41 UTC (permalink / raw)
To: debian-user; +Cc: linux-lvm, Chad C. Walstrom
> I'm not sure how this came about, but I cannot remove the directory
> /usr/share/doc/libldap2.
>
> [09:36:47] chewie@skuld (505)$ ls -lad libldap2
> s-w--w---T 16806 236536206 1076048101 1084824775 Oct 1 2004 libldap2=
> [09:36:52] chewie@skuld (506)$ file libldap2
> libldap2: sticky socket
> [09:36:58] chewie@skuld (507)$ sudo rm -rf /usr/share/doc/libldap2
> rm: cannot unlink `/usr/share/doc/libldap2': Operation not permitted
>
> System: Debian unstable (Sid)
> Kernel: 2.4.17-k7
> Filesystem: ext3 on an LVM logical volume (no extra patches to the
> kernel, vanilla 2.4.17).
>
> I've tried removing it while root as well with no success. I've tried
> using fsck.{ext2,ext3} with no avail. I relize that I'm going to have
> to do something fairly low-level to the FS to recover this problem. Any
> pointers or suggestions you may have would be quite welcome.
I think: Use "ls -li" to find the object's inode. Then use debugfs to
clear the object's inode. Then fsck it to clear up any hanging bits in
the FS.
Bill
^ permalink raw reply [flat|nested] 5+ messages in thread
* [linux-lvm] Re: Directory becomes sticky socket?
2002-02-04 9:46 [linux-lvm] Directory becomes sticky socket? Chad C. Walstrom
2002-02-04 10:41 ` William Blunn
@ 2002-02-04 12:06 ` Nathan E Norman
2002-02-05 4:08 ` [linux-lvm] " Heinz J . Mauelshagen
2 siblings, 0 replies; 5+ messages in thread
From: Nathan E Norman @ 2002-02-04 12:06 UTC (permalink / raw)
To: debian-user; +Cc: Chad C. Walstrom, linux-lvm
[-- Attachment #1: Type: text/plain, Size: 1416 bytes --]
On Mon, Feb 04, 2002 at 09:44:10AM -0600, Chad C. Walstrom wrote:
> [Note: Please include me in the Cc: of your reply, for expediency's sake.]
>
> I'm not sure how this came about, but I cannot remove the directory
> /usr/share/doc/libldap2.
>
> [09:36:47] chewie@skuld (505)$ ls -lad libldap2
> s-w--w---T 16806 236536206 1076048101 1084824775 Oct 1 2004 libldap2=
> [09:36:52] chewie@skuld (506)$ file libldap2
> libldap2: sticky socket
> [09:36:58] chewie@skuld (507)$ sudo rm -rf /usr/share/doc/libldap2
> rm: cannot unlink `/usr/share/doc/libldap2': Operation not permitted
>
> System: Debian unstable (Sid)
> Kernel: 2.4.17-k7
> Filesystem: ext3 on an LVM logical volume (no extra patches to the
> kernel, vanilla 2.4.17).
>
> I've tried removing it while root as well with no success. I've tried
> using fsck.{ext2,ext3} with no avail. I relize that I'm going to have
> to do something fairly low-level to the FS to recover this problem. Any
> pointers or suggestions you may have would be quite welcome.
# chattr -i /usr/share/doc/libldap2
# rm -r /usr/share/doc/libldap2
If the dir /usr/share/doc/libldap2 contains more borked files, provide
a "-R" to chattr.
--
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Ltd. | than a perfect plan tomorrow.
mailto:nnorman@micromuse.com | -- Patton
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Directory becomes sticky socket?
2002-02-04 9:46 [linux-lvm] Directory becomes sticky socket? Chad C. Walstrom
2002-02-04 10:41 ` William Blunn
2002-02-04 12:06 ` [linux-lvm] " Nathan E Norman
@ 2002-02-05 4:08 ` Heinz J . Mauelshagen
2002-02-05 12:38 ` Chad C. Walstrom
2 siblings, 1 reply; 5+ messages in thread
From: Heinz J . Mauelshagen @ 2002-02-05 4:08 UTC (permalink / raw)
To: linux-lvm
Chad,
check for processes having the socket open, stop them and retry.
An optional "chmod o-t /usr/share/doc/libldap2" may be necessary.
On Mon, Feb 04, 2002 at 09:44:10AM -0600, Chad C. Walstrom wrote:
> [Note: Please include me in the Cc: of your reply, for expediency's sake.]
>
> I'm not sure how this came about, but I cannot remove the directory
> /usr/share/doc/libldap2.
>
> [09:36:47] chewie@skuld (505)$ ls -lad libldap2
> s-w--w---T 16806 236536206 1076048101 1084824775 Oct 1 2004 libldap2=
> [09:36:52] chewie@skuld (506)$ file libldap2
> libldap2: sticky socket
> [09:36:58] chewie@skuld (507)$ sudo rm -rf /usr/share/doc/libldap2
> rm: cannot unlink `/usr/share/doc/libldap2': Operation not permitted
>
> System: Debian unstable (Sid)
> Kernel: 2.4.17-k7
> Filesystem: ext3 on an LVM logical volume (no extra patches to the
> kernel, vanilla 2.4.17).
>
> I've tried removing it while root as well with no success. I've tried
> using fsck.{ext2,ext3} with no avail. I relize that I'm going to have
> to do something fairly low-level to the FS to recover this problem. Any
> pointers or suggestions you may have would be quite welcome.
>
> Thanks.
>
> --
> Chad Walstrom <chewie@wookimus.net> | a.k.a. ^chewie
> http://www.wookimus.net/ | s.k.a. gunnarr
> Get my public key, ICQ#, etc. $(mailx -s 'get info' chewie@wookimus.net)
--
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen@Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Directory becomes sticky socket?
2002-02-05 4:08 ` [linux-lvm] " Heinz J . Mauelshagen
@ 2002-02-05 12:38 ` Chad C. Walstrom
0 siblings, 0 replies; 5+ messages in thread
From: Chad C. Walstrom @ 2002-02-05 12:38 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 930 bytes --]
On Tue, Feb 05, 2002 at 11:07:59AM +0100, Heinz J . Mauelshagen wrote:
> Chad, check for processes having the socket open, stop them and retry.
> An optional "chmod o-t /usr/share/doc/libldap2" may be necessary.
I should have done that first, I suppose. I did end up shutting down to
single user mode, unmounting the logical volume, and using debugfs to
clear the inode (which still reported the file as being a socket). This
actually happend to one other file, and a third was a corrupted symbolic
link of some kind. Regardless, with these three files cleared,
fsck.ext3 happily cleared dtime's and reset inode sizes until I had a
working system again. Thanks to all who sent me suggestions.
--
Chad Walstrom <chewie@wookimus.net> | a.k.a. ^chewie
http://www.wookimus.net/ | s.k.a. gunnarr
Get my public key, ICQ#, etc. $(mailx -s 'get info' chewie@wookimus.net)
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-02-05 12:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-04 9:46 [linux-lvm] Directory becomes sticky socket? Chad C. Walstrom
2002-02-04 10:41 ` William Blunn
2002-02-04 12:06 ` [linux-lvm] " Nathan E Norman
2002-02-05 4:08 ` [linux-lvm] " Heinz J . Mauelshagen
2002-02-05 12:38 ` Chad C. Walstrom
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).