From: "Четвериков К.В." <chetverikov@mann-schroeder.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] P8: Listen localhost:631 не срабатывает в cupsd.conf
Date: Tue, 11 Apr 2017 11:44:04 +0300
Message-ID: <d0a50968-ca6f-5fcf-6014-e8e893b531e9@mann-schroeder.ru> (raw)
In-Reply-To: <CANM4RuiasZVa6vzkEKNCN-6_QLFFkrgRhgPWf5L0EU1p-4U+kQ@mail.gmail.com>
Спасибо за наводку! Деактивация cups.socket (который в свою очередь
является симлинком на org.cups.cupsd.socket) решает проблему. Если
смотреть глубже, то в файле org.cups.cupsd.socket, нужно изменить
значение параметра ListenStream=631 на ListenStream=localhost:631, но
сохранить изменённый файл как /etc/systemd/system/cups.socket и сделать
systemctl reenable cups.socket.
Остаётся вопрос по поводу того, считать ли это фичей, или всё-же багом?
На мой взгляд, нужно по умолчанию этот файл поставлять с
ListenStream=localhost:631 в соответствии с cupsd.conf.
11.04.2017 07:55, Eugene Prokopiev пишет:
> 7 апреля 2017 г., 16:28 пользователь Четвериков К.В.
> <chetverikov@mann-schroeder.ru> написал:
>
>> Здравствуйте товарищи! В /etc/cups/cupsd.conf есть опция Listen
>> localhost:631, которая, как я понимаю, должна отвечать за доступность cups
>> только с localhost, но 631 порт светится на всю локалку
> Посмотрите на systemctl status cups.socket помимо systemctl status cups
>
--
С уважением,
Четвериков Константин
Тел. +7 (495) 617-617-2 доб. 212 Моб. +7 926 215 39 83
e-mail: chetverikov@mann-schroeder.ru www.mann-schroeder.ru
prev parent reply other threads:[~2017-04-11 8:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-07 13:28 Четвериков К.В.
2017-04-11 4:55 ` Eugene Prokopiev
2017-04-11 8:44 ` Четвериков К.В. [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d0a50968-ca6f-5fcf-6014-e8e893b531e9@mann-schroeder.ru \
--to=chetverikov@mann-schroeder.ru \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git