From 4216c5f061525af47a3ac5f684a80fce3c2ad39a Mon Sep 17 00:00:00 2001 From: Razvan Crainea Date: Wed, 5 Oct 2016 11:34:54 +0300 Subject: [PATCH] /var/log/cgrates directory is no longer created and used Since the directory is no longer created, the postinstall script fails and the package cannot be installed. A temporary fix is to manually create the directory, but it is no longer used anyway in the config file. --- packages/jessie/postinst | 1 - packages/squeeze/postinst | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/jessie/postinst b/packages/jessie/postinst index e0ad60d55..d74109cec 100755 --- a/packages/jessie/postinst +++ b/packages/jessie/postinst @@ -28,7 +28,6 @@ case "$1" in configure) adduser --quiet --system --group --disabled-password --shell /bin/false --gecos "CGRateS" cgrates || true - chown -R cgrates:cgrates /var/log/cgrates/ chown -R cgrates:cgrates /var/spool/cgrates/ chown -R cgrates:cgrates /var/lib/cgrates/ chown -R cgrates:cgrates /usr/share/cgrates/ diff --git a/packages/squeeze/postinst b/packages/squeeze/postinst index 35c0fd111..28fa01ff1 100755 --- a/packages/squeeze/postinst +++ b/packages/squeeze/postinst @@ -28,7 +28,6 @@ case "$1" in configure) adduser --quiet --system --group --disabled-password --shell /bin/false --gecos "CGRateS" cgrates || true - chown -R cgrates:cgrates /var/log/cgrates/ chown -R cgrates:cgrates /var/lib/cgrates/ chown -R cgrates:cgrates /var/spool/cgrates/ chown -R cgrates:cgrates /usr/share/cgrates/