* [Comm] cdrtools build in hasher @ 2005-08-24 7:52 ` Alexander Volkov 2005-08-25 9:20 ` Dmitry V. Levin 0 siblings, 1 reply; 11+ messages in thread From: Alexander Volkov @ 2005-08-24 7:52 UTC (permalink / raw) To: community Всем привет! Попытался в М2.4 пересобрать cdrtools: hsh -v --apt-config=./apt.conf work cdrtools-2.01-alt6a37.src.rpm ... rmchroot: Changed working directory to `/home/hasher/work/chroot'. `/bin/ash.static' -> `.host/sh' `/usr/bin/find.static' -> `.host/find' rmchroot: Installed .host programs. hasher-priv: master: open: /dev/nullhasher-priv: slave: open: /dev/null: Permission denied : Permission denied rmchroot: Failed to remove files owned by user2. removed `/home/hasher/work/lockdir/pid' removed directory: `/home/hasher/work/lockdir' доки курил, FAQ тоже, не нашёл. Где грабли? -- Regards, Alexander. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] cdrtools build in hasher 2005-08-24 7:52 ` [Comm] cdrtools build in hasher Alexander Volkov @ 2005-08-25 9:20 ` Dmitry V. Levin 2005-08-25 10:05 ` Alexander Volkov 2005-08-25 10:18 ` Alexander Volkov 0 siblings, 2 replies; 11+ messages in thread From: Dmitry V. Levin @ 2005-08-25 9:20 UTC (permalink / raw) To: ALT Linux general discussion list [-- Attachment #1: Type: text/plain, Size: 871 bytes --] On Wed, Aug 24, 2005 at 11:52:31AM +0400, Alexander Volkov wrote: > Всем привет! > Попытался в М2.4 пересобрать cdrtools: > hsh -v --apt-config=./apt.conf work cdrtools-2.01-alt6a37.src.rpm > ... > rmchroot: Changed working directory to `/home/hasher/work/chroot'. > `/bin/ash.static' -> `.host/sh' > `/usr/bin/find.static' -> `.host/find' > rmchroot: Installed .host programs. > hasher-priv: master: open: /dev/nullhasher-priv: slave: open: /dev/null: > Permission denied > : Permission denied > rmchroot: Failed to remove files owned by user2. > removed `/home/hasher/work/lockdir/pid' > removed directory: `/home/hasher/work/lockdir' > > доки курил, FAQ тоже, не нашёл. Где грабли? Грабли с правами доступа к файлу /home/hasher/work/chroot/dev/null. Хотел бы я знать, как вам удалось такие права установить. Первый раз такое вижу. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] cdrtools build in hasher 2005-08-25 9:20 ` Dmitry V. Levin @ 2005-08-25 10:05 ` Alexander Volkov 2005-08-25 20:34 ` Dmitry V. Levin 2005-08-25 10:18 ` Alexander Volkov 1 sibling, 1 reply; 11+ messages in thread From: Alexander Volkov @ 2005-08-25 10:05 UTC (permalink / raw) To: ALT Linux Community On Thu, 25 Aug 2005 13:20:16 +0400, Dmitry V. Levin wrote: > Грабли с правами доступа к файлу /home/hasher/work/chroot/dev/null. dev]# ls -l total 4 srw-rw-rw- 1 hasher hasher 0 Jun 25 15:20 log crw-rw-rw- 1 root hashman 1, 3 Jun 25 15:20 null drwxr-xr-x 2 hasher hasher_a 4096 Jun 22 12:59 pts crw-r--r-- 1 root hashman 1, 9 Jun 25 15:20 random crw-r--r-- 1 root hashman 1, 9 Jun 25 15:20 urandom crw-rw-rw- 1 root hashman 1, 5 Jun 25 15:20 zero > Хотел бы я знать, как вам удалось такие права установить. и не думал... ну не рутом же собирал... владельца на hasher поменять? -- Regards, Alexander. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] cdrtools build in hasher 2005-08-25 10:05 ` Alexander Volkov @ 2005-08-25 20:34 ` Dmitry V. Levin 0 siblings, 0 replies; 11+ messages in thread From: Dmitry V. Levin @ 2005-08-25 20:34 UTC (permalink / raw) To: ALT Linux general discussion list [-- Attachment #1: Type: text/plain, Size: 762 bytes --] On Thu, Aug 25, 2005 at 02:05:17PM +0400, Alexander Volkov wrote: > On Thu, 25 Aug 2005 13:20:16 +0400, Dmitry V. Levin wrote: > > >Грабли с правами доступа к файлу /home/hasher/work/chroot/dev/null. > dev]# ls -l > total 4 > srw-rw-rw- 1 hasher hasher 0 Jun 25 15:20 log > crw-rw-rw- 1 root hashman 1, 3 Jun 25 15:20 null > drwxr-xr-x 2 hasher hasher_a 4096 Jun 22 12:59 pts > crw-r--r-- 1 root hashman 1, 9 Jun 25 15:20 random > crw-r--r-- 1 root hashman 1, 9 Jun 25 15:20 urandom > crw-rw-rw- 1 root hashman 1, 5 Jun 25 15:20 zero > > >Хотел бы я знать, как вам удалось такие права установить. > и не думал... ну не рутом же собирал... > владельца на hasher поменять? Не надо менять, права штатные. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] cdrtools build in hasher 2005-08-25 9:20 ` Dmitry V. Levin 2005-08-25 10:05 ` Alexander Volkov @ 2005-08-25 10:18 ` Alexander Volkov 2005-08-25 20:32 ` Dmitry V. Levin 2005-08-26 9:32 ` Alexey Borovskoy 1 sibling, 2 replies; 11+ messages in thread From: Alexander Volkov @ 2005-08-25 10:18 UTC (permalink / raw) To: ALT Linux Community On Thu, 25 Aug 2005 13:20:16 +0400, Dmitry V. Levin wrote: > Грабли с правами доступа к файлу /home/hasher/work/chroot/dev/null. > Хотел бы я знать, как вам удалось такие права установить. > Первый раз такое вижу. нее, что-то тут не чисто. Хэшер из бэкпортов. Права ставил - не помогало. Дашьше снёс каталог work и вновь создал - не помогло: ... initroot: Unpacked initial package list. initroot: Created entry point: /home/hasher/work/chroot/.host/entry hasher-priv: master: open: /dev/null: Permission denied hasher-priv: slave: open: /dev/null: Permission denied initroot: Failed to create RPM database. removed `/home/hasher/work/lockdir/pid' removed directory: `/home/hasher/work/lockdir' и как такое объяснить? -- Regards, Alexander. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] cdrtools build in hasher 2005-08-25 10:18 ` Alexander Volkov @ 2005-08-25 20:32 ` Dmitry V. Levin 2005-08-26 10:56 ` Alexander Volkov 2005-08-26 9:32 ` Alexey Borovskoy 1 sibling, 1 reply; 11+ messages in thread From: Dmitry V. Levin @ 2005-08-25 20:32 UTC (permalink / raw) To: ALT Linux general discussion list [-- Attachment #1: Type: text/plain, Size: 871 bytes --] On Thu, Aug 25, 2005 at 02:18:04PM +0400, Alexander Volkov wrote: > On Thu, 25 Aug 2005 13:20:16 +0400, Dmitry V. Levin wrote: > > >Грабли с правами доступа к файлу /home/hasher/work/chroot/dev/null. > >Хотел бы я знать, как вам удалось такие права установить. > >Первый раз такое вижу. > > нее, что-то тут не чисто. > Хэшер из бэкпортов. Права ставил - не помогало. Дашьше снёс каталог work и > вновь создал - не помогло: > ... > initroot: Unpacked initial package list. > initroot: Created entry point: /home/hasher/work/chroot/.host/entry > hasher-priv: master: open: /dev/null: Permission denied > hasher-priv: slave: open: /dev/null: Permission denied > initroot: Failed to create RPM database. > removed `/home/hasher/work/lockdir/pid' > removed directory: `/home/hasher/work/lockdir' > > и как такое объяснить? uname -a? -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] cdrtools build in hasher 2005-08-25 20:32 ` Dmitry V. Levin @ 2005-08-26 10:56 ` Alexander Volkov 0 siblings, 0 replies; 11+ messages in thread From: Alexander Volkov @ 2005-08-26 10:56 UTC (permalink / raw) To: ALT Linux Community On Fri, 26 Aug 2005 00:32:59 +0400, Dmitry V. Levin wrote: >> и как такое объяснить? > uname -a? Linux xeon.vladregion.ru 2.4.26-std-smp-alt9 #1 SMP Sat Jan 8 13:06:56 MSK 2005 i686 unknown unknown GNU/Linux -- Regards, Alexander. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] cdrtools build in hasher 2005-08-25 10:18 ` Alexander Volkov 2005-08-25 20:32 ` Dmitry V. Levin @ 2005-08-26 9:32 ` Alexey Borovskoy 2005-08-26 11:06 ` Alexander Volkov 1 sibling, 1 reply; 11+ messages in thread From: Alexey Borovskoy @ 2005-08-26 9:32 UTC (permalink / raw) To: ALT Linux Community [-- Attachment #1: Type: text/plain, Size: 908 bytes --] * Четверг 25 Август 2005 23:18 Alexander Volkov > On Thu, 25 Aug 2005 13:20:16 +0400, Dmitry V. Levin wrote: > > Грабли с правами доступа к файлу > > /home/hasher/work/chroot/dev/null. Хотел бы я знать, как вам > > удалось такие права установить. Первый раз такое вижу. > > нее, что-то тут не чисто. > Хэшер из бэкпортов. Права ставил - не помогало. Дашьше снёс > каталог work и вновь создал - не помогло: > initroot: Unpacked initial package list. > initroot: Created entry point: > /home/hasher/work/chroot/.host/entry hasher-priv: master: > open: /dev/null: Permission denied hasher-priv: slave: open: > /dev/null: Permission denied initroot: Failed to create RPM > database. > removed `/home/hasher/work/lockdir/pid' > removed directory: `/home/hasher/work/lockdir' > > и как такое объяснить? $ mount |grep nodev ? -- Алексей. GPG key fingerprint 949B BC0E 2C44 7528 4F63 2753 E37A 9E3F 11F3 BDE1 [-- Attachment #2: signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] cdrtools build in hasher 2005-08-26 9:32 ` Alexey Borovskoy @ 2005-08-26 11:06 ` Alexander Volkov 2005-08-26 11:50 ` Alexey Borovskoy 0 siblings, 1 reply; 11+ messages in thread From: Alexander Volkov @ 2005-08-26 11:06 UTC (permalink / raw) To: ALT Linux Community On Fri, 26 Aug 2005 13:32:15 +0400, Alexey Borovskoy wrote: > mount |grep nodev /dev/md3 on /home type ext3 (rw,nodev,grpquota,resuid=9,usrquota,data=journal) /dev/dvarc/video on /work type ext2 (rw,noexec,nosuid,nodev) /dev/pub/temp on /home/glafira type ext2 (rw,noexec,nosuid,nodev) /dev/home/public on /home/public type ext2 (rw,noexec,nosuid,nodev) /dev/md6 on /home/sidortsev type ext3 (rw,noexec,nosuid,nodev,data=journal) -- Regards, Alexander. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] cdrtools build in hasher 2005-08-26 11:06 ` Alexander Volkov @ 2005-08-26 11:50 ` Alexey Borovskoy 2005-08-30 11:45 ` Dmitry V. Levin 0 siblings, 1 reply; 11+ messages in thread From: Alexey Borovskoy @ 2005-08-26 11:50 UTC (permalink / raw) To: ALT Linux Community [-- Attachment #1: Type: text/plain, Size: 644 bytes --] * Суббота 27 Август 2005 00:06 Alexander Volkov > On Fri, 26 Aug 2005 13:32:15 +0400, Alexey Borovskoy wrote: > > mount |grep nodev > > /dev/md3 on /home type ext3 > (rw,nodev,grpquota,resuid=9,usrquota,data=journal) Уберите nodev и хэшер будет доволен. > /dev/dvarc/video on /work type ext2 (rw,noexec,nosuid,nodev) > /dev/pub/temp on /home/glafira type ext2 > (rw,noexec,nosuid,nodev) /dev/home/public on /home/public type > ext2 (rw,noexec,nosuid,nodev) /dev/md6 on /home/sidortsev type > ext3 (rw,noexec,nosuid,nodev,data=journal) -- Алексей. GPG key fingerprint 949B BC0E 2C44 7528 4F63 2753 E37A 9E3F 11F3 BDE1 [-- Attachment #2: signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] cdrtools build in hasher 2005-08-26 11:50 ` Alexey Borovskoy @ 2005-08-30 11:45 ` Dmitry V. Levin 0 siblings, 0 replies; 11+ messages in thread From: Dmitry V. Levin @ 2005-08-30 11:45 UTC (permalink / raw) To: ALT Linux general discussion list [-- Attachment #1: Type: text/plain, Size: 667 bytes --] On Sat, Aug 27, 2005 at 12:50:00AM +1300, Alexey Borovskoy wrote: > * Суббота 27 Август 2005 00:06 Alexander Volkov > > On Fri, 26 Aug 2005 13:32:15 +0400, Alexey Borovskoy wrote: > > > mount |grep nodev > > > > /dev/md3 on /home type ext3 > > (rw,nodev,grpquota,resuid=9,usrquota,data=journal) > > Уберите nodev и хэшер будет доволен. Между прочим, $ sed -ne '/Requirements/,/nodev/p' /usr/share/doc/hasher-*/README 3. Requirements. File system where workdir is located should not be mounted with "noexec" or "nodev" options. Поскольку диагностика забытого nodev не вполне очевидна, надо будет добавит этот случай в FAQ. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2005-08-30 11:45 UTC | newest] Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-08-24 7:52 ` [Comm] cdrtools build in hasher Alexander Volkov 2005-08-25 9:20 ` Dmitry V. Levin 2005-08-25 10:05 ` Alexander Volkov 2005-08-25 20:34 ` Dmitry V. Levin 2005-08-25 10:18 ` Alexander Volkov 2005-08-25 20:32 ` Dmitry V. Levin 2005-08-26 10:56 ` Alexander Volkov 2005-08-26 9:32 ` Alexey Borovskoy 2005-08-26 11:06 ` Alexander Volkov 2005-08-26 11:50 ` Alexey Borovskoy 2005-08-30 11:45 ` Dmitry V. Levin
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git