[Bug 1875169] Re: After upgrading to Ubuntu 20.04 (from 18.04) Fail2Ban no longer inserts iptables --match-set rules

2020-04-26 Thread Mark Alan
SOLVED:

Must change the line started by "actionstart =" in the file iptables-
ipset-proto6-allports.conf (or iptables-ipset-proto6-allports.local),

from (Fail2Ban v.0.10..x):
  actionstart = ipset create  hash:ip timeout 

to (Fail2Ban v.0.11..x):
  actionstart = ipset create  hash:ip timeout 


MA

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875169

Title:
  After upgrading to Ubuntu 20.04 (from 18.04) Fail2Ban no longer
  inserts iptables --match-set rules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fail2ban/+bug/1875169/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1875169] [NEW] After upgrading to Ubuntu 20.04 (from 18.04) Fail2Ban no longer inserts iptables --match-set rules

2020-04-26 Thread Mark Alan
Public bug reported:

1. We have just upgraded to Ubuntu Server 20.04 LTS (from 18.04 LTS),
using the usual do-release-upgrade command.

2. Fail2Ban was upgraded from 0.10.2-2 to 0.11.1-1 and now I does not
insert the usual match-set rules into iptables, although it seems to be
finding IP's, banning and trying to insert those rules. The filter.d and
jail.d scripts that we customized were left untouched from the
previously working setup and are all present in the current directories.

3. Runing systemctl status --no-pager -l fail2ban.service shows:
● fail2ban.service - Fail2Ban Service
 Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor 
preset: enabled)
 Active: active (running) since Sun 2020-04-26 11:22:37 CEST; 1h 40min ago
   Docs: man:fail2ban(1)
Process: 8769 ExecStartPre=/bin/mkdir -p /run/fail2ban (code=exited, 
status=0/SUCCESS)
   Main PID: 8770 (f2b/server)
  Tasks: 11 (limit: 4654)
 Memory: 12.4M
 CGroup: /system.slice/fail2ban.service
 └─8770 /usr/bin/python3 /usr/bin/fail2ban-server -xf start

abr 26 11:22:37 mx systemd[1]: Starting Fail2Ban Service...
abr 26 11:22:37 mx systemd[1]: Started Fail2Ban Service.
abr 26 11:22:38 mx fail2ban-server[8770]: Server ready

4. The log at /var/log/fail2ban.log, shows:

4.1. the usual entries:
2020-04-26 12:44:37,284 fail2ban.filter [8770]: INFO[some-filter] 
Found 185.39.10.73 - 2020-04-26 12:44:37
2020-04-26 12:44:37,594 fail2ban.actions[8770]: NOTICE  [some-filter] 
Ban 185.39.10.73

4.2. many previously not found ERRORS like:
2020-04-26 12:44:37,607 fail2ban.utils  [8770]: ERROR   7fc2d9f26ab0 -- 
exec: ipset create f2b-some-filter hash:ip timeout 
iptables -w -I INPUT 6 -m set --match-set f2b-some-filter src -j DROP
2020-04-26 12:44:37,608 fail2ban.utils  [8770]: ERROR   7fc2d9f26ab0 -- 
stderr: '/bin/sh: 2: Syntax error: newline unexpected'
2020-04-26 12:44:37,608 fail2ban.utils  [8770]: ERROR   7fc2d9f26ab0 -- 
returned 2
2020-04-26 12:44:37,608 fail2ban.actions[8770]: ERROR   Failed to 
execute ban jail 'some-filter' action 'iptables-ipset-proto6-allports' info 
'ActionInfo({'ip': '185.39.10.73', 'family': 'inet4', 'fid':  at 0x7fc2d9f0a430>, 'raw-ticket':  at 0x7fc2d9f0aaf0>})': Error starting action 
Jail('some-filter')/iptables-ipset-proto6-allports: 'Script error'

5. In the current setup although the Fail2Ban daemon seems to be
running, there seems to be some change in the Fail2Ban v.0.11.x script's
parser that blocks Fail2Ban from inserting iptables --match-set rules
and rendering the application useless.

Thank you.
MA

** Affects: fail2ban (Ubuntu)
 Importance: Undecided
 Status: New

** Description changed:

  1. We have just upgraded to Ubuntu Server 20.04 LTS (from 18.04 LTS),
  using the usual do-release-upgrade command.
  
  2. Fail2Ban was upgraded from 0.10.2-2 to 0.11.1-1 and now I does not
  insert the usual match-set rules into iptables, although it seems to be
- finding IP's, banning and trying to insert those rules. The previous
- user changed filter.d and jail.d scripts were left untouched from the
- previously working setup.
+ finding IP's, banning and trying to insert those rules. The filter.d and
+ jail.d scripts that we customized were left untouched from the
+ previously working setup and are all present in the current
+ diretctories.
  
  3. Runing systemctl status --no-pager -l fail2ban.service shows:
  ● fail2ban.service - Fail2Ban Service
-  Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor 
preset: enabled)
-  Active: active (running) since Sun 2020-04-26 11:22:37 CEST; 1h 40min ago
-Docs: man:fail2ban(1)
- Process: 8769 ExecStartPre=/bin/mkdir -p /run/fail2ban (code=exited, 
status=0/SUCCESS)
-Main PID: 8770 (f2b/server)
-   Tasks: 11 (limit: 4654)
-  Memory: 12.4M
-  CGroup: /system.slice/fail2ban.service
-  └─8770 /usr/bin/python3 /usr/bin/fail2ban-server -xf start
+  Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor 
preset: enabled)
+  Active: active (running) since Sun 2020-04-26 11:22:37 CEST; 1h 40min ago
+    Docs: man:fail2ban(1)
+ Process: 8769 ExecStartPre=/bin/mkdir -p /run/fail2ban (code=exited, 
status=0/SUCCESS)
+    Main PID: 8770 (f2b/server)
+   Tasks: 11 (limit: 4654)
+  Memory: 12.4M
+  CGroup: /system.slice/fail2ban.service
+  └─8770 /usr/bin/python3 /usr/bin/fail2ban-server -xf start
  
  abr 26 11:22:37 mx systemd[1]: Starting Fail2Ban Service...
  abr 26 11:22:37 mx systemd[1]: Started Fail2Ban Service.
  abr 26 11:22:38 mx fail2ban-server[8770]: Server ready
  
  4. The log at /var/log/fail2ban.log, shows:
  
  4.1. the usual entries:
  2020-04-26 12:44:37,284 fail2ban.filter [8770]: INFO[some-filter] 
Found 185.39.10.73 - 2020-04-26 12:44:37
  2020-04-26 12:44:37,594 fail2ban.actions[8770]: NOTICE  [some-filter] 
Ban 

[Bug 1573959] Re: On-screen text disappears after suspend

2019-10-26 Thread Mark Alan
I have the same issue.

$  uname -a
Linux desk 5.0.0-32-generic #34~18.04.2-Ubuntu SMP Thu Oct 10 10:36:02 UTC 2019 
x86_64 x86_64 x86_64 GNU/Linux

$  lspci -nn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th 
Gen Core Processor Integrated Graphics Controller [8086:0402] (rev 06)

$  lsb_release -d
Description:Ubuntu 18.04.3 LTS

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573959

Title:
  On-screen text disappears after suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-lts-xenial/+bug/1573959/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 673493] Re: In an European Portuguese setup LANGUAGE variable is set as LANGUAGE=pt:pt_BR:en instead of LANGUAGE=pt:pt_PT:en

2017-02-06 Thread Mark Alan
You are right. Please close.
Thank you

** Description changed:

- lsb_release -rd: Ubuntu 10.10
- apt-cache policy locales: 2.13+git20100825-1
- 
- After a fresh Ubuntu 10.10 install, were the Portuguese (European)
- language was chosen, the LANGUAGE should be setup as LANGUAGE=pt:pt_PT
- or, at least, LANGUAGE=pt:pt_PT:en.
- 
- Instead the locale command shows LANGUAGE=pt:pt_BR:en (Brasilian):
- 
- LANG=pt_PT.utf8
- LANGUAGE=pt:pt_BR:en
- LC_CTYPE="pt_PT.utf8"
- LC_NUMERIC="pt_PT.utf8"
- LC_TIME="pt_PT.utf8"
- LC_COLLATE="pt_PT.utf8"
- LC_MONETARY="pt_PT.utf8"
- LC_MESSAGES="pt_PT.utf8"
- LC_PAPER="pt_PT.utf8"
- LC_NAME="pt_PT.utf8"
- LC_ADDRESS="pt_PT.utf8"
- LC_TELEPHONE="pt_PT.utf8"
- LC_MEASUREMENT="pt_PT.utf8"
- LC_IDENTIFICATION="pt_PT.utf8"
- LC_ALL=
- --
- 
- ProblemType: Bug
- DistroRelease: Ubuntu 10.10
- Package: locales 2.13+git20100825-1
- ProcVersionSignature: Ubuntu 2.6.35-22.35-generic-pae 2.6.35.4
- Uname: Linux 2.6.35-22-generic-pae i686
- Architecture: i386
- Date: Wed Nov 10 12:30:11 2010
- InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
- PackageArchitecture: all
- ProcEnviron:
-  LANGUAGE=pt:pt_BR:en
-  PATH=(custom, user)
-  LANG=pt_PT.utf8
-  SHELL=/bin/bash
- SourcePackage: langpack-locales
+ PLEASE CLOSE

** Attachment removed: "Dependencies.txt"
   
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/673493/+attachment/1728961/+files/Dependencies.txt

** Summary changed:

- In an European Portuguese setup LANGUAGE variable is set as 
LANGUAGE=pt:pt_BR:en instead of LANGUAGE=pt:pt_PT:en
+ PLEASE CLOSE

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/673493

Title:
  PLEASE CLOSE

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/673493/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1566302] Re: Ubuntu 16.04: Suspend freezes the system after upgrade to linux image 4.4.0-16

2016-09-15 Thread Mark Alan
@Tim:  I have purged xautolock a long time ago (due to other reason) but
I am still having the freezes ( from which I recover by a keyboard key
combination that I mapped to: xrandr --auto )

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1566302

Title:
  Ubuntu 16.04: Suspend freezes the system after upgrade to linux image
  4.4.0-16

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1566302/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1566302] Re: Ubuntu 16.04: Suspend freezes the system after upgrade to linux image 4.4.0-16

2016-08-08 Thread Mark Alan
I am also having the "blank screen" hang after suspend (screen shows a "no HDMI 
signal").
My systems is a Xubuntu 16.04.1, Kernel 4.4.0-31-generic, motherboard MSI 
B85M-E45 (Intel chipset B85 Express, ACPI: Video Device [GFX0]).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1566302

Title:
  Ubuntu 16.04: Suspend freezes the system after upgrade to linux image
  4.4.0-16

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1566302/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1247463] [NEW] package postgresql-client-9.1 9.1.9-0ubuntu12.04 failed to install/upgrade: ErrorMessage: package postgresql-client-9.1 is already installed and configured

2013-11-02 Thread Mark Alan
Public bug reported:

Program crashes when I try to update.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: postgresql-client-9.1 9.1.9-0ubuntu12.04
ProcVersionSignature: Ubuntu 3.2.0-55.85-generic 3.2.51
Uname: Linux 3.2.0-55-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Wed Oct 30 13:03:51 2013
ErrorMessage: ErrorMessage: package postgresql-client-9.1 is already installed 
and configured
InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
MarkForUpload: True
SourcePackage: dpkg
Title: package postgresql-client-9.1 9.1.9-0ubuntu12.04 failed to 
install/upgrade: ErrorMessage: package postgresql-client-9.1 is already 
installed and configured
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: dpkg (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-package precise

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1247463

Title:
  package postgresql-client-9.1 9.1.9-0ubuntu12.04 failed to
  install/upgrade: ErrorMessage: package postgresql-client-9.1 is
  already installed and configured

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1247463/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 745608] Re: [915GM] font corruption on Intel GMA900

2012-07-25 Thread Mark Alan
Reproducible while running Xubuntu 12.04 on the following HW:
Asus P5LD2-VM Mainboard:
   VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics 
Controller (rev 02) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device 817a
   Kernel driver in use: i915
   Kernel modules: intelfb, i915

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/745608

Title:
  [915GM] font corruption on Intel GMA900

To manage notifications about this bug go to:
https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/745608/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 835532] Re: lightdm does not keep numlock status on boot

2011-11-16 Thread Mark Alan
Same problem here while using Xubuntu 11.10.

The usual tweaks do (briefly) light the numlock led upon login, but then
the led goes off and numlock stays off.

By 'usual tweaks' I mean:
1. sudo apt-get install numlockx
2. followed by:

either:
  (cd ~/.config/autostart;ln -s $(which numlockx))

or: 
  printf [Desktop 
Entry]\nVersion=1.0\nType=Application\nName=numlockx\nExec=/usr/bin/numlockx\nStartupNotify=false\nTerminal=false\nHidden=false\n
  $HOME/.config/autostart/numlockx.desktop

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/835532

Title:
  lightdm does not keep numlock status on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/835532/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 887982] [NEW] xfce4-panel bottom launcher does not center contents if length is 100%

2011-11-09 Thread Mark Alan
Public bug reported:

Setting panel 2 (i.e., the bottom launcher) to length 100% will make the 
launcher icons randomly align at left or right.
In the panel config dialog there is no auto-center contents option to be 
checked.

** Affects: xfce4-panel (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: launcher xfce4-panel

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/887982

Title:
  xfce4-panel bottom launcher does not center contents if length is 100%

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfce4-panel/+bug/887982/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 876135] Re: The filters have no names when saving a file

2011-10-27 Thread Mark Alan
Same problem here

Ubuntu Oneiric 11.10

simple-scan 3.2.0-0ubuntu1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/876135

Title:
  The filters have no names when saving a file

To manage notifications about this bug go to:
https://bugs.launchpad.net/simple-scan/+bug/876135/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 754562] Re: soffice.bin crashed with SIGSEGV in g_hash_table_lookup()

2011-10-27 Thread Mark Alan
Starting with a freshly installed and perfectly working libreoffice,
by just copying a few templates (.ott  .otg) into the template dir 
~/.config/.libreoffice/3/user/template/ 
starts the dysfunctional behavior of libreoffice crashing with every click on 
the Page Preview button.

To restore normality it is enough to remove the ~/.config/.libreoffice 
directory and restart libreoffice.
  rm -fr ~/.config/.libreoffice

The above proposed package
https://launchpad.net/~libreoffice/+archive/ppa does not install in
Ubuntu 11.10

M.

Sysinfo:

cat /etc/issue
   Ubuntu 11.10 \n \l

dpkg -l | grep 'libreoffice\|lo-menubar'
   ii  libreoffice1:3.4.3-3ubuntu2  
  office productivity suite
ii  libreoffice-base   1:3.4.3-3ubuntu2 
   office productivity suite -- database
ii  libreoffice-base-core  1:3.4.3-3ubuntu2 
   office productivity suite -- shared library
ii  libreoffice-calc   1:3.4.3-3ubuntu2 
   office productivity suite -- spreadsheet
ii  libreoffice-common 1:3.4.3-3ubuntu2 
   office productivity suite -- arch-independent files
ii  libreoffice-core   1:3.4.3-3ubuntu2 
   office productivity suite -- arch-dependent files
ii  libreoffice-draw   1:3.4.3-3ubuntu2 
   office productivity suite -- drawing
ii  libreoffice-emailmerge 1:3.4.3-3ubuntu2 
   office productivity suite -- email mail merge
ii  libreoffice-filter-mobiledev   1:3.4.3-3ubuntu2 
   office productivity suite -- mobile devices filters
ii  libreoffice-gtk1:3.4.3-3ubuntu2 
   office productivity suite -- GTK+ integration
ii  libreoffice-help-pt1:3.4.3-1ubuntu1 
   office productivity suite -- Portuguese help
ii  libreoffice-impress1:3.4.3-3ubuntu2 
   office productivity suite -- presentation
ii  libreoffice-java-common1:3.4.3-3ubuntu2 
   office productivity suite -- arch-independent Java support files
ii  libreoffice-l10n-common1:3.4.3-1ubuntu1 
   common files for LibreOffice language and help packages
ii  libreoffice-l10n-pt1:3.4.3-1ubuntu1 
   office productivity suite -- Portuguese language package
ii  libreoffice-l10n-pt-br 1:3.4.3-1ubuntu1 
   office productivity suite -- Portuguese_brazilian language package
ii  libreoffice-math   1:3.4.3-3ubuntu2 
   office productivity suite -- equation editor
ii  libreoffice-report-builder-bin 1:3.4.3-3ubuntu2 
   LibreOffice extension for building database reports -- libraries
ii  libreoffice-style-human1:3.4.3-3ubuntu2 
   office productivity suite -- Crystal symbol style
ii  libreoffice-writer 1:3.4.3-3ubuntu2 
   office productivity suite -- word processor
ii  lo-menubar 0.1.0-0ubuntu3   
   A LibreOffice extension for the global menubar

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/754562

Title:
  soffice.bin crashed with SIGSEGV in g_hash_table_lookup()

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/754562/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716394] [NEW] Variable DAEMON_OPTS in file /etc/default/gross is never used in /etc/init.d/gross

2011-02-10 Thread Mark Alan
Public bug reported:

Binary package hint: gross

The file /etc/default/gross includes the variable:
  # Additional options that are passed to the Daemon.
  DAEMON_OPTS=

That variable is never used by /etc/init.d/gross because, although that file 
uses the line:
  # Read configuration variable file if it is present
  [ -r /etc/default/$NAME ]  . /etc/default/$NAME

to include the variables set in /etc/default/gross, those variable never
get used.

The following patch would fix it:

--- /etc/init.d/gross   2011-02-10 12:16:45.033688998 +
+++ /etc/init.d/gross   2011-02-10 12:20:21.445688990 +
@@ -20,6 +20,7 @@
 DAEMON=/usr/sbin/grossd   # Introduce the server's location here
 PIDFILE=/var/run/gross/$NAME.pid
 DAEMON_ARGS=-p $PIDFILE # Arguments to run the daemon with
+DAEMON_OPTS=
 SCRIPTNAME=/etc/init.d/$NAME
 USER=gross
 GROUP=gross
@@ -57,7 +58,7 @@
 || return 1
 start-stop-daemon --start -c $USER:$GROUP --quiet \
   --pidfile $PIDFILE --exec $DAEMON -- \
-$DAEMON_ARGS \
+$DAEMON_ARGS $DAEMON_OPTS \
 || return 2
 # Add code here, if necessary, that waits for the process to be ready
 # to handle requests from services started subsequently which depend

** Affects: gross (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716394

Title:
  Variable DAEMON_OPTS in file /etc/default/gross is never used in
  /etc/init.d/gross

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 713779] Re: Grossd won't start if statefile is enabled

2011-02-06 Thread Mark Alan
[SOLVED] please close ticket.

The Ubuntu Gross .deb package postinst uses 'install -d -o gross -g
gross -m 0700 /var/lib/gross' to create the /var/lib/gross directory in
which the statefile should be stored.

In Ubuntu (at least with with apparmor on and using strict permissions
enforcement), one must assure that sudoers  apparmor are configured to
permit 'sudo -u gross /usr/sbin/grossd -C' to use the /var/lib/gross
directory.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/713779

Title:
  Grossd won't start if statefile is enabled

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 713779] [NEW] Grossd won't start if statefile is enabled

2011-02-05 Thread Mark Alan
Public bug reported:

Binary package hint: gross

# while using Ubuntu 10.10 and Gross 1.0.2-2:

1. Using a working grossd
2. add line: statefile = /var/lib/gross/grossd.state to /etc/grossd.conf
grep '^[^# ]' /etc/default/gross /etc/grossd.conf
  /etc/default/gross:DAEMON_OPTS=
  /etc/grossd.conf:protocol = sjsms
  /etc/grossd.conf:protocol = postfix
  /etc/grossd.conf:statefile = /var/lib/gross/grossd.state
  /etc/grossd.conf:check = dnsbl
  /etc/grossd.conf:dnsbl = bl.spamcop.net;2
  /etc/grossd.conf:dnsbl = combined.njabl.org
  /etc/grossd.conf:dnsbl = cbl.abuseat.org
  /etc/grossd.conf:dnsbl = dnsbl.sorbs.net

3. sudo -i -u gross /usr/sbin/grossd -C
  will silently end but no /var/lib/gross/grossd.state will be created

4. sudo /etc/init.d/gross restart
 * Restarting gross policy server gross  [ OK ]
tail /var/log/syslog
  (...)grossd version 1.0.2 starting...
  (...)creating pidfile /var/run/gross/gross.pid
  (...)Grossd shutdown with exit code 2: stat(): statefile opening failed No 
such file or directory

5. sudo /etc/init.d/gross status
 * gross is not running

6. sudo ls -la /var/run/gross/gross.pid /var/lib/gross
-rw-r--r-- 1 gross gross4 2011-02-05 11:48 /var/run/gross/gross.pid
/var/lib/gross:
total 8
drwx--  2 gross gross 4096 2011-02-05 11:35 .
drwxr-xr-x 71 root  root  4096 2011-02-05 10:26 ..

7. (cd /var/lib/gross/;sudo touch grossd.state; sudo chown gross.gross 
grossd.state) ; sudo /etc/init.d/gross restart ; sudo tail /var/log/syslog
  Grossd shutdown with exit code 2: statefile size differs from the calculated 
size

** Affects: gross (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/713779

Title:
  Grossd won't start if statefile is enabled

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 706945] Re: php5-fpm package does not include a logrotate file

2011-02-03 Thread Mark Alan
 php5-fpm has been removed from upstream so im closing this bug.

Do you know why?
Has it any security risk?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
https://bugs.launchpad.net/bugs/706945

Title:
  php5-fpm package does not include a logrotate file

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 706945] Re: php5-fpm package does not include a logrotate file

2011-02-03 Thread Mark Alan
 php5-fpm has been removed from upstream so im closing this bug.

Do you know why?
Has it any security risk?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706945

Title:
  php5-fpm package does not include a logrotate file

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 706945] [NEW] php5-fpm package does not include a logrotate file

2011-01-24 Thread Mark Alan
Public bug reported:

Binary package hint: php5-fpm

php5-fpm package should include a logrotate file.

For instance:
cat /etc/logrotate.d/php5-fpm
/var/log/php5-fpm.log {
  weekly
  rotate 10
  create 600 root root
  size 64k
  compress
  notifempty
  postrotate
[ -f /var/run/php5-fpm.pid ]  /bin/kill -USR1 $(cat /var/run/php5-fpm.pid)
endscript
}

** Affects: php5 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
https://bugs.launchpad.net/bugs/706945

Title:
  php5-fpm package does not include a logrotate file

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 706945] [NEW] php5-fpm package does not include a logrotate file

2011-01-24 Thread Mark Alan
Public bug reported:

Binary package hint: php5-fpm

php5-fpm package should include a logrotate file.

For instance:
cat /etc/logrotate.d/php5-fpm
/var/log/php5-fpm.log {
  weekly
  rotate 10
  create 600 root root
  size 64k
  compress
  notifempty
  postrotate
[ -f /var/run/php5-fpm.pid ]  /bin/kill -USR1 $(cat /var/run/php5-fpm.pid)
endscript
}

** Affects: php5 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706945

Title:
  php5-fpm package does not include a logrotate file

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 701997] [NEW] phpmyadmin dependencies should include php5-fpm

2011-01-12 Thread Mark Alan
Public bug reported:

Binary package hint: phpmyadmin

With the inclusion of php5-fpm in main Unbuntu distro the Depends line
at the file DEBIAN/control should be adjusted to include php5-fpm as
follows:

- Depends: libapache2-mod-php5 | php5-cgi | php5, php5-mysql |
php5-mysqli, php5-mcrypt, perl, debconf (= 0.5) | debconf-2.0,
dbconfig-common, ucf (= 0.28), libjs-mootools (= 1.2.4.0~debian1-1)

+Depends: libapache2-mod-php5 | php5-cgi | php5-fpm | php5, php5-mysql |
php5-mysqli, php5-mcrypt, perl, debconf (= 0.5) | debconf-2.0,
dbconfig-common, ucf (= 0.28), libjs-mootools (= 1.2.4.0~debian1-1)

That way a user wanting to install a non apache (nginx or lighttp) web
server and using php5-fpm instead of php5-cgi would not need to also
install either apache, or php5-cgi, or php5 (wich has a php5-fpm hook)

** Affects: phpmyadmin (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/701997

Title:
  phpmyadmin dependencies should include php5-fpm

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 673493] [NEW] In an European Portuguese setup LANGUAGE variable is set as LANGUAGE=pt:pt_BR:en instead of LANGUAGE=pt:pt_PT:en

2010-11-10 Thread Mark Alan
Public bug reported:

lsb_release -rd: Ubuntu 10.10
apt-cache policy locales: 2.13+git20100825-1

After a fresh Ubuntu 10.10 install, were the Portuguese (European)
language was chosen, the LANGUAGE should be setup as LANGUAGE=pt:pt_PT
or, at least, LANGUAGE=pt:pt_PT:en.

Instead the locale command shows LANGUAGE=pt:pt_BR:en (Brasilian):

LANG=pt_PT.utf8
LANGUAGE=pt:pt_BR:en
LC_CTYPE=pt_PT.utf8
LC_NUMERIC=pt_PT.utf8
LC_TIME=pt_PT.utf8
LC_COLLATE=pt_PT.utf8
LC_MONETARY=pt_PT.utf8
LC_MESSAGES=pt_PT.utf8
LC_PAPER=pt_PT.utf8
LC_NAME=pt_PT.utf8
LC_ADDRESS=pt_PT.utf8
LC_TELEPHONE=pt_PT.utf8
LC_MEASUREMENT=pt_PT.utf8
LC_IDENTIFICATION=pt_PT.utf8
LC_ALL=
--

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: locales 2.13+git20100825-1
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic-pae 2.6.35.4
Uname: Linux 2.6.35-22-generic-pae i686
Architecture: i386
Date: Wed Nov 10 12:30:11 2010
InstallationMedia: Ubuntu 10.10 Maverick Meerkat - Release i386 (20101007)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=pt:pt_BR:en
 PATH=(custom, user)
 LANG=pt_PT.utf8
 SHELL=/bin/bash
SourcePackage: langpack-locales

** Affects: langpack-locales (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug i386 maverick

-- 
In an European Portuguese setup LANGUAGE variable is set as 
LANGUAGE=pt:pt_BR:en instead of LANGUAGE=pt:pt_PT:en
https://bugs.launchpad.net/bugs/673493
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 673493] Re: In an European Portuguese setup LANGUAGE variable is set as LANGUAGE=pt:pt_BR:en instead of LANGUAGE=pt:pt_PT:en

2010-11-10 Thread Mark Alan


-- 
In an European Portuguese setup LANGUAGE variable is set as 
LANGUAGE=pt:pt_BR:en instead of LANGUAGE=pt:pt_PT:en
https://bugs.launchpad.net/bugs/673493
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 659872] Re: Aliases in /etc/hosts overwritten

2010-11-10 Thread Mark Alan
Same problem here.
I am using a line starting with a 127.1.1.1 to keep my local host names.

-- 
Aliases in /etc/hosts overwritten
https://bugs.launchpad.net/bugs/659872
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 351122] Re: gthumb doesn't work with gphoto (was please disable gphoto2 backend for Jaunty)

2009-06-20 Thread Mark Alan
Same problem here.

But, I am able to import the pictures if:
  a) connect the camera
  b) run from the command line:
gthumb --import-photos
  or,
gnome-volume-manager-gthumb  


$ cat /etc/issue
Ubuntu 9.04 \n \l

$ uname -a
Linux mail.example.com 2.6.28-13-generic #44-Ubuntu SMP Tue Jun 2 07:57:31 UTC 
2009 i686 GNU/Linux

$ lsusb
Bus 001 Device 020: ID 04a9:311c Canon, Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

$ gvfs-mount -l
Drive(0): CD-RW/DVD±RW Drive
  Type: GProxyDrive (GProxyVolumeMonitorHal)
Drive(1): Mass Storage Drive
  Type: GProxyDrive (GProxyVolumeMonitorHal)
  Volume(0): win_xp
Type: GProxyVolume (GProxyVolumeMonitorHal)

$ mount
...
gvfs-fuse-daemon on /home/example/.gvfs type fuse.gvfs-fuse-daemon 
(rw,nosuid,nodev,user=mark)
gvfs-fuse-daemon on /root/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev)

-- 
gthumb doesn't work with gphoto (was please disable gphoto2 backend for Jaunty)
https://bugs.launchpad.net/bugs/351122
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 224365] Re: Apparmor prevents printing with cups-pdf

2009-05-23 Thread Mark Alan
Martin is right, this works:
rm -fr ~/PDF  mkdir -m 701 -p ~/PDF  chmod 701 $HOME

-- 
Apparmor prevents printing with cups-pdf
https://bugs.launchpad.net/bugs/224365
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2009-05-23 Thread Mark Alan
In Ubuntu 9.04 Jaunty this works:
mkdir ~/PDF ; chmod 701 $HOME ~/PDF

-- 
apparmor prevent cups-pdf to create ~/PDF folder
https://bugs.launchpad.net/bugs/270046
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 270046] Re: apparmor prevent cups-pdf to create ~/PDF folder

2008-12-20 Thread Mark Alan
Running:
  sudo aa-logprof
solves the problem, as expected.
Without any further need to disable (or fiddle with) AppArmor.
Also the /var/log/cups/cups-pdf_log log file will be clean again.

-- 
apparmor prevent cups-pdf to create ~/PDF folder
https://bugs.launchpad.net/bugs/270046
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 227881] Re: tftpd-hpa does not use /etc/default/tftp-hpa options

2008-12-20 Thread Mark Alan
To run tftpd-hpa as a daemon:

#purge old config
sudo aptitude purge tftpd-hpa openbsd-inetd

# install only tftpd-hpa
sudo aptitude -R install tftpd-hpa

# enable RUN_DAEMON
sudo sed -i 's/.*RUN_DAEMON.*/RUN_DAEMON=yes/' /etc/default/tftpd-hpa

# disable tftp inetd supervision
sudo sed -i 's/^tftp/#off# tftp/' /etc/inetd.conf # has the same effect as: 
sudo update-inetd --disable tftp

## if needed
sudo update-rc.d -f tftpd-hpa remove # remove auto boot
sudo update-rc.d tftpd-hpa start 20 2 3 4 5 . stop 20 1 . # reinstall auto boot
# sudo /etc/init.d/tftpd-hpa restart is broken (the restart script exits after 
executing the first stop), use instead:
sudo /etc/init.d/tftpd-hpa stop
sudo /etc/init.d/tftpd-hpa start

-- 
tftpd-hpa does not use /etc/default/tftp-hpa options
https://bugs.launchpad.net/bugs/227881
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs