Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 2017 07:14:11 +0000
From:      Matthias Andree <matthias.andree@gmx.de>
To:        freebsd-ports@freebsd.org,"Geovani B. R." <igeo.cu@gmail.com>
Subject:   Re: Bug in Mailman version 2.1.23
Message-ID:  <67D7C87D-3EDB-4F22-9562-B4B204D4BBF2@gmx.de>
In-Reply-To: <97d1a2f6-6354-601d-cdda-ab974135c48c@gmail.com>
References:  <97d1a2f6-6354-601d-cdda-ab974135c48c@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 25=2E April 2017 07:28:16 MESZ schrieb "Geovani B=2E R=2E" <igeo=2Ecu@gm=
ail=2Ecom>:
>On FreeBSD 10=2E3-RELEASE-p7
>
>Mailman 2=2E1=2E23_1 + Postfix 3=2E1=2E4,1
>
>
>Mailman returns me this error when trying to manage a list after login:
>
>
>
>Bug in Mailman version 2=2E1=2E23
>
>We're sorry, we hit a bug!
>
>Please inform the webmaster for this site of this problem=2E Printing of=
=20
>traceback and other system information has been explicitly inhibited,=20
>but the webmaster can find this information in the Mailman error logs=2E
>
>
>
>The Mailman error logs show this:
>
>
>Apr 25 01:24:52 2017 admin(71569):=20
>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
>admin(71569): [----- Mailman Version: 2=2E1=2E23 -----]
>admin(71569): [----- Traceback ------]
>admin(71569): Traceback (most recent call last):
>admin(71569):   File "/usr/local/mailman/scripts/driver", line 117, in=20
>run_main
>admin(71569):     main()
>admin(71569):   File "/usr/local/mailman/Mailman/Cgi/admin=2Epy", line=20
>241, in main
>admin(71569):     mlist=2ESave()
>admin(71569):   File "/usr/local/mailman/Mailman/MailList=2Epy", line
>590,=20
>in Save
>admin(71569):     self=2E__save(dict)
>admin(71569):   File "/usr/local/mailman/Mailman/MailList=2Epy", line
>567,=20
>in __save
>admin(71569):     os=2Elink(fname, fname_last)
>admin(71569): OSError: [Errno 1] Operation not permitted
>admin(71569): [----- Python Information -----]
>admin(71569): sys=2Eversion     =3D   2=2E7=2E13 (default, Jan  3 2017,
>01:24:10)
>[GCC 4=2E2=2E1 Compatible FreeBSD Clang 3=2E4=2E1 (tags/RELEASE_34/dot1-f=
inal=20
>208032)]
>admin(71569): sys=2Eexecutable  =3D   /usr/local/bin/python2=2E7
>admin(71569): sys=2Eprefix      =3D   /usr/local
>admin(71569): sys=2Eexec_prefix =3D   /usr/local
>admin(71569): sys=2Epath        =3D   ['/usr/local/mailman/pythonlib',=20
>'/usr/local/mailman', '/usr/local/mailman/scripts',=20
>'/usr/local/mailman', '/usr/local/lib/python27=2Ezip',=20
>'/usr/local/lib/python2=2E7', '/usr/local/lib/python2=2E7/plat-freebsd10'=
,=20
>'/usr/local/lib/python2=2E7/lib-tk', '/usr/local/lib/python2=2E7/lib-old'=
,=20
>'/usr/local/lib/python2=2E7/lib-dynload',=20
>'/usr/local/lib/python2=2E7/site-packages']
>admin(71569): sys=2Eplatform    =3D   freebsd10
>admin(71569): [----- Environment Variables -----]
>admin(71569):   HTTP_COOKIE:
>admin(71569):   CONTEXT_DOCUMENT_ROOT: /usr/local/mailman/cgi-bin
>admin(71569):   SERVER_SOFTWARE: Apache
>admin(71569):   CONTEXT_PREFIX: /mailman
>admin(71569):   SERVER_SIGNATURE:
>admin(71569):   REQUEST_METHOD: POST
>admin(71569):   PATH_INFO: /mailman
>admin(71569):   SERVER_PROTOCOL: HTTP/1=2E1
>admin(71569):   QUERY_STRING:
>admin(71569):   LD_LIBRARY_PATH: /usr/local/lib:/usr/local/lib
>admin(71569):   CONTENT_LENGTH: 40
>admin(71569):   HTTP_USER_AGENT: Mozilla/5=2E0 (X11; FreeBSD amd64;=20
>rv:40=2E0) Gecko/20100101 Firefox/40=2E0
>admin(71569):   HTTP_CONNECTION: keep-alive
>admin(71569):   HTTP_REFERER:=20
>http://xxxxxx=2Exxxxxxxxxxxxx=2Exx/mailman/admin/mailman
>admin(71569):   SERVER_NAME: xxxxxx=2Exxxxxxxxxxxxx=2Exx
>admin(71569):   REMOTE_ADDR: xxx=2Exx=2Exxx=2Exxx
>admin(71569):   SERVER_PORT: 80
>admin(71569):   SERVER_ADDR: xxx=2Exx=2Exxx=2Exx
>admin(71569):   DOCUMENT_ROOT: /usr/local/mailman
>admin(71569):   PYTHONPATH: /usr/local/mailman
>admin(71569):   SCRIPT_FILENAME: /usr/local/mailman/cgi-bin/admin
>admin(71569):   SERVER_ADMIN: xxxxx@xxxxxxxxxxxxx=2Exx
>admin(71569):   HTTP_DNT: 1
>admin(71569):   HTTP_HOST: xxxxxx=2Exxxxxxxxxxxxx=2Exx
>admin(71569):   SCRIPT_NAME: /mailman/admin
>admin(71569):   HTTP_UPGRADE_INSECURE_REQUESTS: 1
>admin(71569):   REQUEST_URI: /mailman/admin/mailman
>admin(71569):   HTTP_ACCEPT:=20
>text/html,application/xhtml+xml,application/xml;q=3D0=2E9,*/*;q=3D0=2E8
>admin(71569):   GATEWAY_INTERFACE: CGI/1=2E1
>admin(71569):   REMOTE_PORT: 47270
>admin(71569):   HTTP_ACCEPT_LANGUAGE: es,en;q=3D0=2E5
>admin(71569):   REQUEST_SCHEME: http
>admin(71569):   CONTENT_TYPE: application/x-www-form-urlencoded
>admin(71569):   HTTP_ACCEPT_ENCODING: gzip, deflate
>admin(71569):   UNIQUE_ID: WP7dpJ5FfBkAAWoTaxkAAAAM
>
>
>
>--=20
>Greetings, have a nice day=2E
>Geo=2E
>_______________________________________________
>freebsd-ports@freebsd=2Eorg mailing list
>https://lists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-ports
>To unsubscribe, send any mail to
>"freebsd-ports-unsubscribe@freebsd=2Eorg"

Update your system *completely*, then be sure to match user accounts and f=
ix permissions as per the mailman installation instructions=2E 
From owner-freebsd-ports@freebsd.org  Tue Apr 25 07:30:17 2017
Return-Path: <owner-freebsd-ports@freebsd.org>
Delivered-To: freebsd-ports@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id E74FAD4F658
 for <freebsd-ports@mailman.ysv.freebsd.org>;
 Tue, 25 Apr 2017 07:30:17 +0000 (UTC)
 (envelope-from igeo.cu@gmail.com)
Received: from mail-vk0-x22b.google.com (mail-vk0-x22b.google.com
 [IPv6:2607:f8b0:400c:c05::22b])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id A18FF19F9
 for <freebsd-ports@freebsd.org>; Tue, 25 Apr 2017 07:30:17 +0000 (UTC)
 (envelope-from igeo.cu@gmail.com)
Received: by mail-vk0-x22b.google.com with SMTP id j127so50500125vkh.0
 for <freebsd-ports@freebsd.org>; Tue, 25 Apr 2017 00:30:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=subject:to:references:from:message-id:date:user-agent:mime-version
 :in-reply-to:content-language:content-transfer-encoding;
 bh=aesssp6zijM4h+62JmRhyLNdQ2LysqQPj9s+RymFJ04=;
 b=AJFGA1AAP5fNk1COIqBtGMzLGhPv+gndNQRHLIptmK9zRvs6bMO3qHcXmGDIE/xmhE
 vmPiwaj7nAVB4XDS7qeAFTvA81u35DgHAxzH9HExZK3l2RUKEj+4Phvl7m/LVvhPu/GR
 A0DvTqbrd99d8qVXYij06OVI/DdBy8Fhc5Mw5YfRQaiDOAo5fnQqGnzgrRnBxt4gIiMS
 1Rv2+0+nk9G0vSQ2PVibim3BbPHcJ8aY0hLK9wNmPxIBRKEsr+s22tO/iT4sRk+IclvF
 hYgqCWMvcGocmTDYQNRZzx+Z0nNogc/VmxhOfxlpZlbRK3VNsVa8FKmmy+yZxjM9sCRQ
 3Thg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=aesssp6zijM4h+62JmRhyLNdQ2LysqQPj9s+RymFJ04=;
 b=V9/WYGDWPy1cPjbswkXHy2y5qom02KSQyGIB7VxLD3qWiBoKtcUZrZkvM9SHwUoPG4
 DM2Q4j1If+rPBbAcPaPHreiqmutSM0WzDW6noSEt3AOZS817sEGcieE6MUmrDBCcAR8P
 +B6CVGJcWHg51zyPQpTFY2tnLYMfMeiIPQ9+TC5xZk/Nln6EhT5B6Eg5oY+1BpOEeQ8P
 w6yeRK3LXIl54NM42bN+U+Zxnn5lm4q7fzonw/+SHirUBPmMYpyWPiaf5uskM7Lqh3ND
 FBa8ITkC0LvjC8Ouv+IMduZAFsHBKRbPHt5u4Wnvlq3ZsxzXDZW+oSbK5HsVwEQ24ese
 0NBA==
X-Gm-Message-State: AN3rC/4xzL56B8PwF1X89nTbcI+dxdfChHII1KITpsTfgkqJ/4+4fl8S
 bSgaFlz5deec6g==
X-Received: by 10.31.200.65 with SMTP id y62mr3595376vkf.142.1493105416667;
 Tue, 25 Apr 2017 00:30:16 -0700 (PDT)
Received: from geo.prensa-latina.cu (geo.prensa-latina.cu. [200.55.135.190])
 by smtp.googlemail.com with ESMTPSA id f89sm5066253uaf.33.2017.04.25.00.30.15
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 25 Apr 2017 00:30:15 -0700 (PDT)
Subject: Re: Bug in Mailman version 2.1.23
To: Matthias Andree <matthias.andree@gmx.de>, freebsd-ports@freebsd.org
References: <97d1a2f6-6354-601d-cdda-ab974135c48c@gmail.com>
 <67D7C87D-3EDB-4F22-9562-B4B204D4BBF2@gmx.de>
From: "Geovani B. R." <igeo.cu@gmail.com>
Message-ID: <c80044c3-1123-bc2e-7471-2fa2958c43c1@gmail.com>
Date: Tue, 25 Apr 2017 03:30:13 -0400
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101
 Thunderbird/52.0.1
MIME-Version: 1.0
In-Reply-To: <67D7C87D-3EDB-4F22-9562-B4B204D4BBF2@gmx.de>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: es-ES
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/>;
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Apr 2017 07:30:18 -0000

On 04/25/2017 03:14, Matthias Andree wrote:
> Am 25. April 2017 07:28:16 MESZ schrieb "Geovani B. R." <igeo.cu 
> <http://igeo.cu>@gmail.com>:
> 
>     On FreeBSD 10.3-RELEASE-p7
> 
>     Mailman 2.1.23_1 + Postfix 3.1.4,1
> 
> 
>     Mailman returns me this error when trying to manage a list after login:
> 
> 
> 
>     Bug in Mailman version 2.1.23
> 
>     We're sorry, we hit a bug!
> 
>     Please inform the webmaster for this site of this problem. Printing of
>     traceback and other system information has been explicitly inhibited,
>     but the webmaster can find this information in the Mailman error logs.
> 
> 
> 
>     The Mailman error logs show this:
> 
> 
>     Apr 25 01:24:52 2017 admin(71569):
>     @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
>     admin(71569): [----- Mailman Version: 2.1.23 -----]
>     admin(71569): [----- Traceback ------]
>     admin(71569): Traceback (most recent call last):
>     admin(71569):   File "/usr/local/mailman/scripts/driver", line 117, in
>     run_main
>     admin(71569):     main()
>     admin(71569):   File "/usr/local/mailman/Mailman/Cgi/admin.py <http://admin.py>", line
>     241, in main
>     admin(71569):     mlist.Save()
>     admin(71569):   File "/usr/local/mailman/Mailman/MailList.py <http://MailList.py>", line 590,
>     in Save
>     admin(71569):     self.__save(dict)
>     admin(71569):   File "/usr/local/mailman/Mailman/MailList.py <http://MailList.py>", line 567,
>     in __save
>     admin(71569):os.link <http://os.link>(fname, fname_last)
>     admin(71569): OSError: [Errno 1] Operation not permitted
>     admin(71569): [----- Python Information -----]
>     admin(71569): sys.version     =   2.7.13 (default, Jan  3 2017, 01:24:10)
>     [GCC 4.2.1 Compatible FreeBSD Clang 3.4.1 (tags/RELEASE_34/dot1-final
>     208032)]
>     admin(71569): sys.executable  =   /usr/local/bin/python2.7
>     admin(71569): sys.prefix      =   /usr/local
>     admin(71569): sys.exec_prefix =   /usr/local
>     admin(71569): sys.path        =   ['/usr/local/mailman/pythonlib',
>     '/usr/local/mailman', '/usr/local/mailman/scripts',
>     '/usr/local/mailman', '/usr/local/lib/python27.zip <http://python27.zip>',
>     '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/plat-freebsd10',
>     '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old',
>     '/usr/local/lib/python2.7/lib-dynload',
>     '/usr/local/lib/python2.7/site-packages']
>     admin(71569): sys.platform    =   freebsd10
>     admin(71569): [----- Environment Variables -----]
>     admin(71569):   HTTP_COOKIE:
>     admin(71569):   CONTEXT_DOCUMENT_ROOT: /usr/local/mailman/cgi-bin
>     admin(71569):   SERVER_SOFTWARE: Apache
>     admin(71569):   CONTEXT_PREFIX: /mailman
>     admin(71569):   SERVER_SIGNATURE:
>     admin(71569):   REQUEST_METHOD: POST
>     admin(71569):   PATH_INFO: /mailman
>     admin(71569):   SERVER_PROTOCOL: HTTP/1.1
>     admin(71569):   QUERY_STRING:
>     admin(71569):   LD_LIBRARY_PATH: /usr/local/lib:/usr/local/lib
>     admin(71569):   CONTENT_LENGTH: 40
>     admin(71569):   HTTP_USER_AGENT: Mozilla/5.0 (X11; FreeBSD amd64;
>     rv:40.0) Gecko/20100101 Firefox/40.0
>     admin(71569):   HTTP_CONNECTION: keep-alive
>     admin(71569):   HTTP_REFERER:
>     http://xxxxxx.xxxxxxxxxxxxx.xx/mailman/admin/mailman
>     admin(71569):   SERVER_NAME: xxxxxx.xxxxxxxxxxxxx.xx
>     admin(71569):   REMOTE_ADDR:xxx.xx.xxx.xxx <http://xxx.xx.xxx.xxx>;
>     admin(71569):   SERVER_PORT: 80
>     admin(71569):   SERVER_ADDR:xxx.xx.xxx <http://xxx.xx.xxx>.xx
>     admin(71569):   DOCUMENT_ROOT: /usr/local/mailman
>     admin(71569):   PYTHONPATH: /usr/local/mailman
>     admin(71569):   SCRIPT_FILENAME: /usr/local/mailman/cgi-bin/admin
>     admin(71569):   SERVER_ADMIN: xxxxx@xxxxxxxxxxxxx.xx
>     admin(71569):   HTTP_DNT: 1
>     admin(71569):   HTTP_HOST: xxxxxx.xxxxxxxxxxxxx.xx
>     admin(71569):   SCRIPT_NAME: /mailman/admin
>     admin(71569):   HTTP_UPGRADE_INSECURE_REQUESTS: 1
>     admin(71569):   REQUEST_URI: /mailman/admin/mailman
>     admin(71569):   HTTP_ACCEPT:
>     text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
>     admin(71569):   GATEWAY_INTERFACE: CGI/1.1
>     admin(71569):   REMOTE_PORT: 47270
>     admin(71569):   HTTP_ACCEPT_LANGUAGE: es,en;q=0.5
>     admin(71569):   REQUEST_SCHEME: http
>     admin(71569):   CONTENT_TYPE: application/x-www-form-urlencoded
>     admin(71569):   HTTP_ACCEPT_ENCODING: gzip, deflate
>     admin(71569):   UNIQUE_ID: WP7dpJ5FfBkAAWoTaxkAAAAM
> 
> 
> 
> Update your system *completely*, then be sure to match user accounts and 
> fix permissions as per the mailman installation instructions.

I found the problem, the following kernel variables can't be turned on:

security.bsd.hardlink_check_gid (default 0).
security.bsd.hardlink_check_uid (default 0).

-- 
Greetings, have a nice day.
Geo.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?67D7C87D-3EDB-4F22-9562-B4B204D4BBF2>