<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/package/system/procd/files, branch master</title>
<subtitle>MTK 20170518 : Mediatek SDK based on OpenWRT Barrier Breaker</subtitle>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/'/>
<entry>
<title>procd: fix procd_lock() when prepare_roofs</title>
<updated>2018-01-28T01:51:06+00:00</updated>
<author>
<name>Yousong Zhou</name>
<email>yszhou4tech@gmail.com</email>
</author>
<published>2018-01-28T01:43:30+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=60ad837bea4a006a54fd8b659083f7bf648da781'/>
<id>60ad837bea4a006a54fd8b659083f7bf648da781</id>
<content type='text'>
This fixes the following errors when doing "make package/install"

    /home/yousong/git-repo/lede-project/lede/build_dir/target-mips_24kc_musl/root-malta/lib/functions/procd.sh: line 47: /home/yousong/git-repo/l
    ede-project/lede/build_dir/target-mips_24kc_musl/root-malta/var/lock/procd_urandom_seed.lock: No such file or directory
    flock: 1000: Bad file descriptor

Fixes FS#1260

Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the following errors when doing "make package/install"

    /home/yousong/git-repo/lede-project/lede/build_dir/target-mips_24kc_musl/root-malta/lib/functions/procd.sh: line 47: /home/yousong/git-repo/l
    ede-project/lede/build_dir/target-mips_24kc_musl/root-malta/var/lock/procd_urandom_seed.lock: No such file or directory
    flock: 1000: Bad file descriptor

Fixes FS#1260

Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>procd: procd_send_signal use signal names</title>
<updated>2018-01-02T16:02:44+00:00</updated>
<author>
<name>Kevin Darbyshire-Bryant</name>
<email>ldir@darbyshire-bryant.me.uk</email>
</author>
<published>2018-01-02T14:34:51+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=37bb463daa21e2c97365c6543b2bfdfe673c5baa'/>
<id>37bb463daa21e2c97365c6543b2bfdfe673c5baa</id>
<content type='text'>
Usage documentation for 'procd_send_signal' states "The signal is SIGHUP
by default, and must be specified by NAME."  Make actual behaviour match
the stated documented behaviour.

https://wiki.openwrt.org/inbox/procd-init-scripts

Suggested-by: Jo-Philip Wich &lt;jow@mein.io&gt;
Signed-off-by: Kevin Darbyshire-Bryant &lt;ldir@darbyshire-bryant.me.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Usage documentation for 'procd_send_signal' states "The signal is SIGHUP
by default, and must be specified by NAME."  Make actual behaviour match
the stated documented behaviour.

https://wiki.openwrt.org/inbox/procd-init-scripts

Suggested-by: Jo-Philip Wich &lt;jow@mein.io&gt;
Signed-off-by: Kevin Darbyshire-Bryant &lt;ldir@darbyshire-bryant.me.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>procd: introduce procd_lock for init script protection</title>
<updated>2018-01-02T06:52:27+00:00</updated>
<author>
<name>Roman Yeryomin</name>
<email>roman@advem.lv</email>
</author>
<published>2017-12-14T21:54:26+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=e410f785a4d5676eb71715e8c5c4b3445c6478e3'/>
<id>e410f785a4d5676eb71715e8c5c4b3445c6478e3</id>
<content type='text'>
Use flock to protect init script from concurrent execution
(of the same script).
Important for services which generate native config files.

Signed-off-by: Roman Yeryomin &lt;roman@advem.lv&gt;
Signed-off-by: Andrejs Hanins &lt;ahanins@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use flock to protect init script from concurrent execution
(of the same script).
Important for services which generate native config files.

Signed-off-by: Roman Yeryomin &lt;roman@advem.lv&gt;
Signed-off-by: Andrejs Hanins &lt;ahanins@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>procd: service_data: Support data within the service itself</title>
<updated>2017-11-10T22:31:27+00:00</updated>
<author>
<name>Pierre Lebleu</name>
<email>pme.lebleu@gmail.com</email>
</author>
<published>2017-10-25T16:05:15+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=832b6b8305f738fe7a5efbefc1ce48a062b0deda'/>
<id>832b6b8305f738fe7a5efbefc1ce48a062b0deda</id>
<content type='text'>
Use the same approach than the service_triggers for the service_data.

Signed-off-by: Pierre Lebleu &lt;pme.lebleu@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the same approach than the service_triggers for the service_data.

Signed-off-by: Pierre Lebleu &lt;pme.lebleu@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>procd: mdns: Support txt values with spaces</title>
<updated>2017-09-01T06:58:09+00:00</updated>
<author>
<name>Karl Palsson</name>
<email>karlp@etactica.com</email>
</author>
<published>2017-08-30T17:44:00+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=7a423c389a162d2945901f0b5e7c604d36c64526'/>
<id>7a423c389a162d2945901f0b5e7c604d36c64526</id>
<content type='text'>
Properly quote the arguments so that you can register a service with TXT
entries that contains spaces.

Example:
   procd_add_mdns myservice tcp 9999 "key=descriptive text field 1" \
         "another=something equally verbose"

Output before:
$ avahi-browse -r -v _myservice._tcp
_myservice._tcp      local
   hostname = [blah.local]
   address = [192.168.255.74]
   port = [9999]
   txt = ["verbose" "equally" "another=something" "1" "field" "text" "key=descriptive"]

Output now:
$ avahi-browse -r -v _myservice._tcp
_myservice._tcp      local
   hostname = [blah.local]
   address = [192.168.255.74]
   port = [9999]
   txt = ["another=something equally verbose" "key=descriptive text field 1"]

Signed-off-by: Karl Palsson &lt;karlp@etactica.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Properly quote the arguments so that you can register a service with TXT
entries that contains spaces.

Example:
   procd_add_mdns myservice tcp 9999 "key=descriptive text field 1" \
         "another=something equally verbose"

Output before:
$ avahi-browse -r -v _myservice._tcp
_myservice._tcp      local
   hostname = [blah.local]
   address = [192.168.255.74]
   port = [9999]
   txt = ["verbose" "equally" "another=something" "1" "field" "text" "key=descriptive"]

Output now:
$ avahi-browse -r -v _myservice._tcp
_myservice._tcp      local
   hostname = [blah.local]
   address = [192.168.255.74]
   port = [9999]
   txt = ["another=something equally verbose" "key=descriptive text field 1"]

Signed-off-by: Karl Palsson &lt;karlp@etactica.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>procd: fix hotplug.json syntax</title>
<updated>2017-08-18T16:43:54+00:00</updated>
<author>
<name>Florian Eckert</name>
<email>fe@dev.tdt.de</email>
</author>
<published>2017-08-18T13:06:25+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=5209cfa534293cb6d27574b51d03bd69a5defb0c'/>
<id>5209cfa534293cb6d27574b51d03bd69a5defb0c</id>
<content type='text'>
Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>procd: fix hotplug-preinit.json syntax</title>
<updated>2017-08-18T16:43:54+00:00</updated>
<author>
<name>Florian Eckert</name>
<email>fe@dev.tdt.de</email>
</author>
<published>2017-08-18T13:06:04+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=a307480e2dad6754ea9dfd2c0627da57609b4150'/>
<id>a307480e2dad6754ea9dfd2c0627da57609b4150</id>
<content type='text'>
Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>procd: support term_timeout parameter</title>
<updated>2017-06-26T08:02:20+00:00</updated>
<author>
<name>Jo-Philipp Wich</name>
<email>jo@mein.io</email>
</author>
<published>2017-06-20T11:44:10+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=2c5f16ecac58b0ea88afdccc6febe9d39f016a6e'/>
<id>2c5f16ecac58b0ea88afdccc6febe9d39f016a6e</id>
<content type='text'>
Expose "term_timeout" parameter in procd.sh to allow init scripts to
request a longer termination timeout.

This is required to fix FS#859 in a later commit.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Expose "term_timeout" parameter in procd.sh to allow init scripts to
request a longer termination timeout.

This is required to fix FS#859 in a later commit.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>procd: assign /dev/tty* nodes to "tty" group</title>
<updated>2017-06-26T08:02:20+00:00</updated>
<author>
<name>Jo-Philipp Wich</name>
<email>jo@mein.io</email>
</author>
<published>2017-06-10T18:51:33+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=124ab1dc0a6235007f60953a796bf29122dfa242'/>
<id>124ab1dc0a6235007f60953a796bf29122dfa242</id>
<content type='text'>
Adjust default permissions and ownership of /dev/tty* nodes from
0600/root:root to 0660/root:tty in order to support granting
unprivileged user access when needed.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adjust default permissions and ownership of /dev/tty* nodes from
0600/root:root to 0660/root:tty in order to support granting
unprivileged user access when needed.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>procd: remove procd-nand package</title>
<updated>2017-05-29T21:50:32+00:00</updated>
<author>
<name>Matthias Schiffer</name>
<email>mschiffer@universe-factory.net</email>
</author>
<published>2017-04-21T18:37:58+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=393817df5d7046fadf137f9b0a363cb00551d2de'/>
<id>393817df5d7046fadf137f9b0a363cb00551d2de</id>
<content type='text'>
We always want to support staged upgrades now, so it's better to include
upgraded into the main package. /lib/upgrade/nand.sh is moved to
base-files.

The procd-nand-firstboot package is removed for now, it may return later
as a separate package.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We always want to support staged upgrades now, so it's better to include
upgraded into the main package. /lib/upgrade/nand.sh is moved to
base-files.

The procd-nand-firstboot package is removed for now, it may return later
as a separate package.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
