Article View: pl.comp.os.linux
Article #895983Re: Reguły dla udev bierzecie z udevadm?
From: Pszemol
Date: Sat, 21 May 2016 21:33
Date: Sat, 21 May 2016 21:33
22 lines
2422 bytes
2422 bytes
"marrgol" <marrgol@address.invalid> wrote in message
news:nhq518$s58$1@dont-email.me...
> On 2016-05-21 05:32, Pszemol wrote:
>> Najbardziej zainteresowało mnie %c jako wartość zwracaną do stdout przez
>> program uruchomiony przez PROGRAM="namer %p %E{ID_MODEL_ID] %m"
>> […]
>> Problem tylko taki, że PROGRAM= nie działa... :-)
>> […]
>> W czasie debugowania gdy wywołany z ręki program wpisuje się do sysloga
>> oraz
>> tworzy plik tekstowy w katalogu home - coś jest nie ten teges z
>> uruchomieniem z poziomu PROGRAM= reguły.
>
> Spróbuj PROGRAM="/ścieżka/do/namer . . . " zamiast samego '=namer'.
Wywołuję z pełną ścieżką od roota, znaczy się tak: /home/user/..../namer
Po prostu nie wiem czy program wywołany z udev ma się zachowywać
normalnie w kwestii dostępu do plików na dysku (jak z uprawnieniami?
uruchamiany jest jako jaki user? kernel?) jak z dostępem do syslog
oraz jak wygląda sprawa zwracanej wartości po zakończeniu procesu...
Czy Ty wiesz?
Technical Details
Message-ID:
<nhqk5e$htv$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mailReferences:
<nhf1or$3dn$1@dont-email.me> <nhfbtt$8r7$1@dont-email.me> <nhfhjr$usf$1@dont-email.me> <nhmt45$tt6$1@dont-email.me> <nhn205$lvr$1@dont-email.me> <nhokpi$39q$1@dont-email.me> <nhq518$s58$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "Pszemol" <Pszemol@PolBox.com> Newsgroups: pl.comp.os.linux Subject: Re: Reguły dla udev bierzecie z udevadm? Date: Sat, 21 May 2016 16:33:43 -0500 Organization: A noiseless patient Spider Lines: 1 Message-ID: <nhqk5e$htv$1@dont-email.me> References: <nhf1or$3dn$1@dont-email.me> <nhfbtt$8r7$1@dont-email.me> <nhfhjr$usf$1@dont-email.me> <nhmt45$tt6$1@dont-email.me> <nhn205$lvr$1@dont-email.me> <nhokpi$39q$1@dont-email.me> <nhq518$s58$1@dont-email.me> Reply-To: "Pszemol" <Pszemol@BigFoot.com> Mime-Version: 1.0 Injection-Date: Sat, 21 May 2016 21:32:30 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="1a6d3fa4af3609ccdbd33ac7cb86c1f1"; logging-data="18367"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/NvXClhCO5UG1J8eQ3Mvkf" X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8117.416 In-Reply-To: <nhq518$s58$1@dont-email.me> X-Newsreader: Microsoft Windows Live Mail 14.0.8117.416 Importance: Normal Cancel-Lock: sha1:rq/dMGbROMnhYxYn1FFqH6B07lE= X-Priority: 3 X-MSMail-Priority: Normal Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit