[Groonga-commit] groonga/groonga at 493ddf9 [master] packages debian: fix dir-or-file-in-var-run lintian error

Back to archive index
Kentaro Hayashi null+****@clear*****
Wed Nov 28 11:05:11 JST 2018


Kentaro Hayashi	2018-11-28 11:05:11 +0900 (Wed, 28 Nov 2018)

  Revision: 493ddf990076c6538910f76a21c400e5956ae193
  https://github.com/groonga/groonga/commit/493ddf990076c6538910f76a21c400e5956ae193

  Message:
    packages debian: fix dir-or-file-in-var-run lintian error
    
    It is a good manner not to assume /var/run is persistent.
    
     E: groonga-server-common: dir-or-file-in-var-run var/run/groonga/
    
    It should be re-created dynamically.

  Removed files:
    packages/debian/groonga-server-common.dirs
  Modified files:
    packages/debian/groonga-httpd.service

  Modified: packages/debian/groonga-httpd.service (+1 -0)
===================================================================
--- packages/debian/groonga-httpd.service    2018-11-28 08:32:06 +0900 (440da34d4)
+++ packages/debian/groonga-httpd.service    2018-11-28 11:05:11 +0900 (119d5af6b)
@@ -10,6 +10,7 @@ User=root
 Group=root
 EnvironmentFile=-/etc/default/groonga-httpd
 ExecStartPre=-/bin/mkdir -p /var/log/groonga/httpd
+ExecStartPre=-/bin/mkdir -p /var/run/groonga
 ExecStart=/usr/sbin/groonga-httpd
 ExecStop=/usr/sbin/groonga-httpd -s stop
 

  Deleted: packages/debian/groonga-server-common.dirs (+0 -1) 100644
===================================================================
--- packages/debian/groonga-server-common.dirs    2018-11-28 08:32:06 +0900 (88bec280a)
+++ /dev/null
@@ -1 +0,0 @@
-var/run/groonga
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20181128/3c833f57/attachment.html>


More information about the Groonga-commit mailing list
Back to archive index