Re: [PATCH] SEM Key Clash with Open-iSCSI initiator and FHS correction for ipc socket

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

 



Roland Friedwagner wrote:
 - Fix logging semaphore key clash between iscsd and tgtd

I tend to think we have that/similar clash also between multiple tgtd instances, e.g running two instances and using strace, I can see that both did "semget(0x54475444, 1, IPC_CREAT|0666)" is that also something
we need to address?

Or.


# ps -afe | grep tgt
root     11775  2331  0 18:50 pts/0    00:00:00 strace -ff -o /tmp/tgt0 ./tgtd -C 3260 --iscsi portal=0.0.0.0:3260
root     11777     1  0 18:50 ?        00:00:00 ./tgtd -C 3260 --iscsi portal=0.0.0.0:3260
root     11778 11777  0 18:50 ?        00:00:00 ./tgtd -C 3260 --iscsi portal=0.0.0.0:3260
root     11780  2331  0 18:50 pts/0    00:00:00 strace -ff -o /tmp/tgt1 ./tgtd -C 3261 --iscsi portal=0.0.0.0:3261
root     11782     1  0 18:50 ?        00:00:00 ./tgtd -C 3261 --iscsi portal=0.0.0.0:3261
root     11783 11782  0 18:50 ?        00:00:00 ./tgtd -C 3261 --iscsi portal=0.0.0.0:3261

# grep sem /tmp/tgt*
/tmp/tgt0.11777:semget(0x54475444, 1, IPC_CREAT|0666)   = 32769
/tmp/tgt0.11777:semctl(32769, 0, SETVAL, 0x1)           = 0
/tmp/tgt0.11777:semtimedop(32769, 0x7fff99e98450, 1, {0, 10000000}) = 0
/tmp/tgt0.11777:semop(32769, 0x7fff99e98450, 1)         = 0
/tmp/tgt0.11777:semtimedop(32769, 0x7fff99e98480, 1, {0, 10000000}) = 0
/tmp/tgt0.11777:semop(32769, 0x7fff99e98480, 1)         = 0
/tmp/tgt0.11778:semop(32769, 0x7fff99e984a0, 1)         = 0
/tmp/tgt0.11778:semop(32769, 0x7fff99e984a0, 1)         = 0
/tmp/tgt0.11778:semop(32769, 0x7fff99e984a0, 1)         = 0
/tmp/tgt0.11778:semop(32769, 0x7fff99e984a0, 1)         = 0
/tmp/tgt1.11782:semget(0x54475444, 1, IPC_CREAT|0666)   = 32769
/tmp/tgt1.11782:semctl(32769, 0, SETVAL, 0x1)           = 0
/tmp/tgt1.11782:semtimedop(32769, 0x7fff76a45830, 1, {0, 10000000}) = 0
/tmp/tgt1.11782:semop(32769, 0x7fff76a45830, 1)         = 0
/tmp/tgt1.11782:semtimedop(32769, 0x7fff76a45860, 1, {0, 10000000}) = 0
/tmp/tgt1.11782:semop(32769, 0x7fff76a45860, 1)         = 0
/tmp/tgt1.11783:semop(32769, 0x7fff76a45880, 1)         = 0
/tmp/tgt1.11783:semop(32769, 0x7fff76a45880, 1) = 0
/tmp/tgt1.11783:semop(32769, 0x7fff76a45880, 1)         = 0
/tmp/tgt1.11783:semop(32769, 0x7fff76a45880, 1)         = 0


--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux