SUSE Support

Here When You Need Us

Squid status is giving error " Invalid escape sequences for /usr/lib/systemd/system/squid.service".

This document (7021170) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 12 Service Pack 2 (SLES 12 SP2)
SUSE Manager 3


Following the installation of SQUID and checking its status, the following error is observed :

# spacewalk-proxy status

squid.service - Squid caching proxy

Loaded: loaded (/usr/lib/systemd/system/squid.service; disabled; vendor preset: disabled)

Active: inactive (dead)

Aug 02 16:42:53 systemd[1]: [/usr/lib/systemd/system/squid.service:8] Invalid escape sequences in line, correcting: "/bin/sh -c "test -d \"`sed -n 's/^cache_dir\s\+[[:alnum:]]\+\s\+\([[:graph:]\/]\+\)\s.*/\1/p' /etc/squid/squid.conf | sed '1 q'`/00\" || /usr/sbin/squid -z -F -N -S -f /etc/squid/squid.conf""


The message "becomes normal" once squid has been started and the cache-directory-structure has been initialized.

A solution to this issue will be released in an upcoming Maintenance update.



This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7021170
  • Creation Date: 03-Aug-2017
  • Modified Date:03-Mar-2020
    • SUSE Manager

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.