[Bug 1418279] Re: Automount NFSv4 doesn't work

2020-12-03 Thread Erik Lönroth
I get the same issue. I've created systemd unit files for both mount and
automount:


$ cat /etc/systemd/system/share-apps.automount 
[Unit]
Description=Automount Scratch

[Automount]
Where=/share/apps/

[Install]
WantedBy=multi-user.target


$ cat /etc/systemd/system/share-apps.mount 
[Unit]
Description=Scratch

[Mount]
What=192.168.2.241:/mnt/nfs_share
Where=/share/apps
Type=nfs

[Install]
WantedBy=multi-user.target


Mounting works fine (HELLO is a file on the remote NFS server):

$ systemctl start share-apps.mount 
$ ls /share/apps/
HELLO

However, automount fails:

$ systemctl stop share-apps.mount 
$ ls /share/apps/
$ systemctl start share-apps.automount 
Operation on or unit type of share-apps.automount not supported on this system.

$ systemd-detect-virt 
lxc


The nfs client container is privilegued.

The nfs client container has these apparmor settings and is restarted
with those settings:

lxc config get iceberg:juju-ee5ee4-0 raw.apparmor
mount fstype=rpc_pipefs, mount fstype=nfsd, mount fstype=nfs, mount 
fstype=nfsv4, mount fstype=autofs,

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

Title:
  Automount NFSv4 doesn't work

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

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

[Bug 1752082] Re: importing posix in Lua 5.2 on bionic fails to load posix.ctype

2019-02-14 Thread Erik Lönroth
This is still not fixed.

Broken. Need to revert to "environment-modules" legacy.

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

Title:
  importing posix in Lua 5.2 on bionic fails to load posix.ctype

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lua-posix/+bug/1752082/+subscriptions

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

[Bug 1746750] [NEW] Unhandled error when pxe ppc64el

2018-02-01 Thread Erik Lönroth
*** This bug is a duplicate of bug 1376483 ***
https://bugs.launchpad.net/bugs/1376483

Public bug reported:

I'm commissioning ppc64el (IBM power CPU arch) with MAAS.

MAAS version: 2.3.0 (6434-gd354690-0ubuntu1~16.04.1)

There seems to be an unhandled error although it doesn't seem to break.

I can still get the server into state: New

I can commission it.

The problem seems not to generate any side effects, but shouldn't
produce an unhandled exception.


=> /var/log/maas/rackd.log <==
2018-02-01 16:25:53 provisioningserver.rackdservices.tftp: [info] 
/ppc64el/pxelinux.cfg/01-70-e2-84-14-2f-f2 requested by 70:e2:84:14:2f:f2
2018-02-01 16:25:54 -: [critical] Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/twisted/application/app.py", 
line 364, in startReactor
self.config, oldstdout, oldstderr, self.profiler, reactor)
  File "/usr/lib/python3/dist-packages/twisted/application/app.py", 
line 285, in runReactorWithLogging
reactor.run()
  File "/usr/lib/python3/dist-packages/twisted/internet/base.py", line 
1194, in run
self.mainLoop()
  File "/usr/lib/python3/dist-packages/twisted/internet/base.py", line 
1203, in mainLoop
self.runUntilCurrent()
---  ---
  File "/usr/lib/python3/dist-packages/twisted/internet/base.py", line 
825, in runUntilCurrent
call.func(*call.args, **call.kw)
  File "/usr/lib/python3/dist-packages/tftp/util.py", line 81, in 
_call_and_schedule
self.callable(*self.callable_args, **self.callable_kwargs)
  File "/usr/lib/python3/dist-packages/twisted/internet/udp.py", line 
268, in write
return self.socket.send(datagram)
builtins.AttributeError: 'Port' object has no attribute 'socket'

2018-02-01 16:26:03 provisioningserver.rackdservices.tftp: [info] 
/ppc64el/ubuntu/ppc64el/ga-16.04/xenial/daily/boot-kernel requested by 
70:e2:84:14:2f:f2
2018-02-01 16:26:03 provisioningserver.rackdservices.tftp: [info] 
/ppc64el/ubuntu/ppc64el/ga-16.04/xenial/daily/boot-initrd requested by 
70:e2:84:14:2f:f2

** Affects: maas (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/1746750

Title:
  Unhandled error when pxe ppc64el

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

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

[Bug 1647628] [NEW] virt-install cant find mounted iso to use for install

2016-12-06 Thread Erik Lönroth
Public bug reported:

root@rd0029386:/tmp# lsb_release -rd
Description:Ubuntu 16.04.1 LTS
Release:16.04


=== Context 
I try to install a virtual desktop: ubuntu-16.04.1-desktop-amd64.iso


I mount it:

 sudo mount /tmp/ubuntu-16.04.1-desktop-amd64.iso /mnt2

Then i do:

virt-install -d \
--connect qemu:///system \
--name ubuntu0 \
--ram 2048 \
--disk pool=default,size=5,bus=virtio,sparse=false \
--network network=default,model=virtio \
--location /mnt2 \
--initrd-inject=/home/sssler/virtinstall/preeseed.cfg \
--extra-args="locale=en_US.utf8 console-setup/ask_detect=false 
keyboard-configuration/layoutcode=sv file=file:/preseed.cfg vga=788 quiet" \
--os-type=linux \
--os-variant=generic \
--arch x86_64 \
--virt-type kvm \
--video=vga \
--noreboot

 Expected result 
I would hope that it would install


=== Actual outcome 
It fails with the following output
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (cli:256) Launched with 
command line: /usr/share/virt-manager/virt-install -d --connect qemu:///system 
--name ubuntu0 --ram 2048 --disk pool=default,size=5,bus=virtio,sparse=false 
--network network=default,model=virtio --location /mnt2 
--initrd-inject=/home/sssler/virtinstall/preeseed.cfg 
--extra-args=locale=en_US.utf8 console-setup/ask_detect=false 
keyboard-configuration/layoutcode=sv file=file:/preseed.cfg vga=788 quiet 
--os-type=linux --os-variant=generic --arch x86_64 --virt-type kvm --video=vga 
--noreboot
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (cli:266) Requesting 
libvirt URI qemu:///system
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (cli:270) Received libvirt 
URI qemu:///system
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (virt-install:357) 
Requesting virt method 'default', hv type 'kvm'.
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (virt-install:576) 
Received virt method 'kvm'
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (virt-install:577) 
Hypervisor name is 'hvm'
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (virt-install:269) 
Distilled --network options: ['network=default,model=virtio']
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (virt-install:182) 
Distilled --disk options: ['pool=default,size=5,bus=virtio,sparse=false']
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (devicedisk:391) Creating 
volume 'ubuntu0.qcow2' on pool 'default'
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (devicedisk:513) 
disk.set_vol_install: name=ubuntu0.qcow2 poolxml=

  default
  574fd4a7-d4aa-4a17-a132-4090ebd9b0d5
  217529507840
  6729175040
  210800332800
  
  
  
/var/lib/libvirt/images

  0711
  0
  0

  


[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (distroinstaller:411) 
DistroInstaller location is a network source.
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (urlfetcher:56) Using 
scratchdir=/var/lib/libvirt/boot
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (urlfetcher:463) Finding 
distro store for location=/mnt2
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (urlfetcher:268) local 
hasFile: Couldn't find /mnt2/Fedora
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (urlfetcher:268) local 
hasFile: Couldn't find /mnt2/current/images/MANIFEST
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (urlfetcher:268) local 
hasFile: Couldn't find /mnt2/daily/MANIFEST
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (urlfetcher:268) local 
hasFile: Couldn't find /mnt2/current/images/MANIFEST
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (urlfetcher:268) local 
hasFile: Couldn't find /mnt2/install/netboot/version.info
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (urlfetcher:268) local 
hasFile: Couldn't find /mnt2/SL
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (urlfetcher:268) local 
hasFile: Couldn't find /mnt2/CentOS
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (urlfetcher:268) local 
hasFile: Couldn't find /mnt2/VERSION
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (urlfetcher:89) Fetching 
URI: /mnt2/.disk/info
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (urlfetcher:1220) Regex 
didn't match, not a ALT Linux distro
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (urlfetcher:268) local 
hasFile: Couldn't find /mnt2/Server
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (urlfetcher:268) local 
hasFile: Couldn't find /mnt2/Client
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (urlfetcher:268) local 
hasFile: Couldn't find /mnt2/RedHat
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (urlfetcher:268) local 
hasFile: Couldn't find /mnt2/images/pxeboot/vmlinuz
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (urlfetcher:268) local 
hasFile: Couldn't find /mnt2/images/boot.iso
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (urlfetcher:268) local 
hasFile: Couldn't find /mnt2/boot/boot.iso
[tis, 06 dec 2016 10:23:40 virt-install 29253] DEBUG (urlfetcher:268) 

[Bug 1647368] [NEW] [16.04.1 LTS] debconf-get-selections --installer, produces no output

2016-12-05 Thread Erik Lönroth
Public bug reported:

On Ubuntu release: Ubuntu 16.04.1 LTS
Package: debconf-utils
Version: 1.5.58ubuntu1
Arch: amd64

When running (as root):

"debconf-get-selections --installer"

No output is produced. Typically needed to produce a preseed.

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

** Description changed:

  On Ubuntu release: Ubuntu 16.04.1 LTS
  Package: debconf-utils
  Version: 1.5.58ubuntu1
  Arch: amd64
  
  When running (as root):
  
  "debconf-get-selections --installer"
  
- No output is produced, which is I need to produce a preseed.
+ No output is produced. Typically needed to produce a preseed.

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

Title:
  [16.04.1 LTS] debconf-get-selections --installer, produces no output

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

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


[Bug 352665] Re: Evolution hangs when accepting meeting invitations with CalDAV

2009-04-03 Thread Erik Lönroth
Why is this bug in state: Incomplete ?

Do you need more information other that the traceback I've attached?

-- 
Evolution hangs when accepting meeting invitations with CalDAV
https://bugs.launchpad.net/bugs/352665
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 352665] Re: Evolution hangs when accepting meeting invitations with CalDAV

2009-04-01 Thread Erik Lönroth
More information in this bug:

I'm not 100% sure, but it seems evolution tries to add the meeting to a
calendar not belonging to the users calendar.

My thoughts on that is that trying to add a meeting to a calendar that
the user does not have write access to, might perhaps generate this
bug?

The backtrace is now attached.

** Attachment added: gdb-evolution.txt
   http://launchpadlibrarian.net/24640479/gdb-evolution.txt

-- 
Evolution hangs when accepting meeting invitations with CalDAV
https://bugs.launchpad.net/bugs/352665
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 138746] Re: CalDAV calenders do not work

2009-03-31 Thread Erik Lönroth
I am running Ubuntu 8.10

I have a davical installation as follows:

e...@ubuntu0:/var/www$ dpkg-query -W davical
davical 0.9.6.2

I'm using Evolution on my laptop as follows:

e...@mambo:~$ dpkg-query -W evolution
evolution   2.24.3-0ubuntu1
e...@mambo:~$ dpkg-query -W libecal1.2-7
libecal1.2-72.24.3-0ubuntu1
e...@mambo:~$ dpkg-query -W libedata-cal1.2-6
libedata-cal1.2-6   2.24.3-0ubuntu1

I can add a calendar from the server belonging to my user and add
records to it.

I can't however access other users calendars which I have setup as READ
in davical. I dont know if this is a davical server problem or evolution
problem.

Loggs from davical apache server:

[Tue Mar 31 19:33:13 2009] [error] [client 192.168.122.1] File does not exist: 
/usr/share/davical/htdocs/20090330T100952Z.ics
[Tue Mar 31 19:33:13 2009] [error] [client 192.168.122.1] File does not exist: 
/usr/share/davical/htdocs/20090330T210116Z.ics
[Tue Mar 31 19:49:18 2009] [error] [client 192.168.122.1] ubuntu0: DBG: Record 
usr write type is update., referer: 
http://192.168.122.230/usr.php?user_no=1002edit=1
[Tue Mar 31 19:49:25 2009] [error] [client 192.168.122.1] ubuntu0: DBG: Record 
usr write type is update., referer: 
http://192.168.122.230/usr.php?user_no=1002edit=1
[Tue Mar 31 19:49:35 2009] [error] [client 192.168.122.1] ubuntu0: DBG: Record 
usr write type is update., referer: 
http://192.168.122.230/usr.php?edit=1user_no=1002action=delete_relationshipfrom_user=1001
[Tue Mar 31 20:03:13 2009] [error] [client 192.168.122.1] File does not exist: 
/usr/share/davical/htdocs/20090330T100952Z.ics
[Tue Mar 31 20:03:13 2009] [error] [client 192.168.122.1] File does not exist: 
/usr/share/davical/htdocs/20090330T210116Z.ic

 
Errors from evolution:

e...@mambo:~$ fg
evolution

(evolution:23319): calendar-gui-WARNING **: Unable to load the calendar
Unknown error

I can confirm that using my own calendar works but accessing other users
calendars dont.

** Attachment added: Shows that it works on my own calendar but can't 
access/read from others.
   http://launchpadlibrarian.net/24585789/evolution.png

-- 
CalDAV calenders do not work
https://bugs.launchpad.net/bugs/138746
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 138746] Re: CalDAV calenders do not work

2009-03-31 Thread Erik Lönroth
I can now confirm that I can add and view calendars from my own and
other persons calendar.

My post above can be ignored. I had set the wrong permission in the
davical server that prevented me from accessing the calendar.

Viewing other persons calendars are possible.

-- 
CalDAV calenders do not work
https://bugs.launchpad.net/bugs/138746
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 352665] [NEW] Evolution hangs when accepting meeting invitations with CalDAV

2009-03-31 Thread Erik Lönroth
Public bug reported:

Binary package hint: evolution

I have 2 ubuntu 8.10 installations.

1: A calendar-server running davical. Works fine, my users can add
appointments, view each others calendars etc. from evolution. (CalDAV)

2: A laptop: The evolution client.

This is what I do:

1. User ADAM creates a new appointment and adds BEN as attendee. (Both have 
working calendars in the calendar-server
2. BEN gets an invitation email.
3. BEN opens up the email, which contains the invitation to a meeting from ADAM.
4. BEN presses the Accept button.  (See attachment image.)

What happens: 
Evolution hangs and needs to be Force Quit to break out.
The meeting is not accepted or added to the calendar.
I have to force quit evolution to break out.

An strace on the evolution mail process gives:


e...@laptop:~$ strace -p33457

snip

gettimeofday({1238529441, 30679}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}, {fd=8, 
events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=21, events=POLLIN}, 
{fd=11, events=POLLIN}, {fd=43, events=POLLIN}], 7, 251528) = 1
read(3, \5\1pB\305\311\325\26;\1\0\0\6\7\340\2\0\0\0\0K\2\341\2..., 4096) = 32
read(3, 0x9258784, 4096)= -1 EAGAIN (Resource temporarily 
unavailable)
gettimeofday({1238529441, 58626}, NULL) = 0
write(2, ** Message: Response 1\n, 23) = 23
time(NULL)  = 1238529441
writev(44, [{GIOP\1\2\1\0\266\5\0\0, 12}, 
{\340\230\216\277\0\0\0\0\0\0\0\0\34\0\0\0\t\0\0\0\v\276..., 1462}], 2) = 1474
futex(0x98c6674, 0x80 /* FUTEX_??? */, 1

end snip (when Force-Quit) 


An strace on the evolution data-server process gives:

e...@laptop:~$ strace -p32119

Process 32119 attached - interrupt to quit
restart_syscall(... resuming interrupted call ...) = ? ERESTART_RESTARTBLOCK 
(To be restarted)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [SEGV], 8) = 0
clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD, 
parent_tidptr=0xbfd129c4) = 32172
waitpid(32172, [{WIFEXITED(s)  WEXITSTATUS(s) == 127}], 0) = 32172
rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [SEGV], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
exit_group(1)   = ?
Process 32119 detached


I have set the CalDAV calendar as default calendar for the users trying to 
import the meeting.

What I expected was that the meeting inserted into ADAMs default
calendar.

** Affects: evolution (Ubuntu)
 Importance: Undecided
 Status: Confirmed

-- 
Evolution hangs when accepting meeting invitations with CalDAV
https://bugs.launchpad.net/bugs/352665
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 352665] Re: Evolution hangs when accepting meeting invitations with CalDAV

2009-03-31 Thread Erik Lönroth

** Attachment added: evolution-hangs.png
   http://launchpadlibrarian.net/24589025/evolution-hangs.png

-- 
Evolution hangs when accepting meeting invitations with CalDAV
https://bugs.launchpad.net/bugs/352665
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