[neon] [Bug 416016] Akonadi can no longer start : /run/user/1000/akonadi problem

2020-01-09 Thread Bruno Patri
https://bugs.kde.org/show_bug.cgi?id=416016

Bruno Patri  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED

-- 
You are receiving this mail because:
You are watching all bug changes.

[neon] [Bug 416016] Akonadi can no longer start : /run/user/1000/akonadi problem

2020-01-09 Thread Achim Bohnet
https://bugs.kde.org/show_bug.cgi?id=416016

Achim Bohnet  changed:

   What|Removed |Added

 CC||a...@mpe.mpg.de

-- 
You are receiving this mail because:
You are watching all bug changes.

[neon] [Bug 416016] Akonadi can no longer start : /run/user/1000/akonadi problem

2020-01-09 Thread Stefan
https://bugs.kde.org/show_bug.cgi?id=416016

--- Comment #18 from Stefan  ---
(In reply to KOT040188 from comment #17)
> (In reply to Stefan from comment #16)
> > (In reply to KOT040188 from comment #15)
> > > KDENeon plasma 5.17.5
> > Have you updated your system? Afterwards you have to reboot (more secure) or
> > to run
> > service apparmor teardown
> > systemctl restart apparmor.service
> 
> Yes, I updated. systemctl restart apparmor.service did not help, but I
> rebooted the system and everything is fine.

Sorry I was wrong in Comment 14. As written in comment 16 it's necessary to run
the teardown command before.

-- 
You are receiving this mail because:
You are watching all bug changes.

[neon] [Bug 416016] Akonadi can no longer start : /run/user/1000/akonadi problem

2020-01-09 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=416016

--- Comment #17 from kot040...@gmail.com ---
(In reply to Stefan from comment #16)
> (In reply to KOT040188 from comment #15)
> > KDENeon plasma 5.17.5
> Have you updated your system? Afterwards you have to reboot (more secure) or
> to run
> service apparmor teardown
> systemctl restart apparmor.service

Yes, I updated. systemctl restart apparmor.service did not help, but I rebooted
the system and everything is fine.

-- 
You are receiving this mail because:
You are watching all bug changes.

[neon] [Bug 416016] Akonadi can no longer start : /run/user/1000/akonadi problem

2020-01-09 Thread Stefan
https://bugs.kde.org/show_bug.cgi?id=416016

--- Comment #16 from Stefan  ---
(In reply to KOT040188 from comment #15)
> KDENeon plasma 5.17.5
Have you updated your system? Afterwards you have to reboot (more secure) or to
run
service apparmor teardown
systemctl restart apparmor.service

-- 
You are receiving this mail because:
You are watching all bug changes.

[neon] [Bug 416016] Akonadi can no longer start : /run/user/1000/akonadi problem

2020-01-09 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=416016

kot040...@gmail.com changed:

   What|Removed |Added

 CC||kot040...@gmail.com

--- Comment #15 from kot040...@gmail.com ---
KDENeon plasma 5.17.5

kot@kot-MS-7930:~$ akonadictl start
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kot@kot-MS-7930:~$ Invalid Context= "Panel" line for icon theme: 
"/usr/share/icons/Numix-Circle/16/panel/"
Invalid Context= "Panel" line for icon theme: 
"/usr/share/icons/Numix-Circle/16@2x/panel/"
Invalid Context= "Panel" line for icon theme: 
"/usr/share/icons/Numix-Circle/22/panel/"
Invalid Context= "Panel" line for icon theme: 
"/usr/share/icons/Numix-Circle/22@2x/panel/"
Invalid Context= "Panel" line for icon theme: 
"/usr/share/icons/Numix-Circle/24/panel/"
Invalid Context= "Panel" line for icon theme: 
"/usr/share/icons/Numix-Circle/24@2x/panel/"
org.kde.pim.akonadiserver: Starting up the Akonadi Server...
org.kde.pim.akonadiprivate: StandardDirs::saveDir: failed to create directory '
"/run/user/1000/akonadi" '
QDir::mkpath: Empty or null file name
org.kde.pim.akonadiserver: Creating socket directory with name "" failed:
Выполнено
org.kde.pim.akonadiserver: Could not create socket directory for Akonadi.
org.kde.pim.akonadiprivate: StandardDirs::saveDir: failed to create directory '
"/run/user/1000/akonadi" '
QDir::mkpath: Empty or null file name
org.kde.pim.akonadiserver: Creating socket directory with name "" failed:
Выполнено
org.kde.pim.akonadiserver: Could not create socket directory for Akonadi.
akonadi.collectionattributetable   OK
akonadi.collectionmimetyperelation OK
akonadi.collectionpimitemrelation  OK
akonadi.collectiontableOK
akonadi.flagtable  OK
akonadi.mimetypetable  OK
akonadi.parttable  OK
akonadi.parttypetable  OK
akonadi.pimitemflagrelationOK
akonadi.pimitemtable   OK
akonadi.pimitemtagrelation OK
akonadi.relationtable  OK
akonadi.relationtypetable  OK
akonadi.resourcetable  OK
akonadi.schemaversiontable OK
akonadi.tagattributetable  OK
akonadi.tagremoteidresourcerelationtable   OK
akonadi.tagtable   OK
akonadi.tagtypetable   OK
org.kde.pim.akonadiprivate: StandardDirs::saveDir: failed to create directory '
"/run/user/1000/akonadi" '
QDir::mkpath: Empty or null file name
org.kde.pim.akonadiserver: Creating socket directory with name "" failed:
Выполнено
org.kde.pim.akonadiserver: Could not create socket directory for Akonadi.
org.kde.pim.akonadiserver: Running DB initializer
org.kde.pim.akonadiserver: DB initializer done
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.akonadiserver: Unable to connect to dbus service:  "An AppArmor
policy prevents this sender from sending this message to this recipient;
type=\"method_call\", sender=\":1.228\" (uid=1000 pid=29849
comm=\"/usr/bin/akonadiserver \" label=\"/usr/bin/akonadiserver (enforce)\")
interface=\"org.freedesktop.DBus\" member=\"RequestName\" error
name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.DBus\"
(bus)"
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited
normally...

-- 
You are receiving this mail because:
You are watching all bug changes.

[neon] [Bug 416016] Akonadi can no longer start : /run/user/1000/akonadi problem

2020-01-09 Thread Stefan
https://bugs.kde.org/show_bug.cgi?id=416016

--- Comment #14 from Stefan  ---
(In reply to Bruno Patri from comment #13)
> @Jonathan Riddell, thanks for the quick fix.
> It works  now.
I can confirm this too. After removing the leftovers:
rm /etc/apparmor.d/usr.bin.akonadiserver*
rm /etc/apparmor.d/usr.sbin.mysqld-akonadi*

By the way this was enough to reload the profiles:
systemctl restart apparmor.service

There is only one profile now:
/etc/apparmor.d/mysqld_akonadi

-- 
You are receiving this mail because:
You are watching all bug changes.

[neon] [Bug 416016] Akonadi can no longer start : /run/user/1000/akonadi problem

2020-01-09 Thread Bruno Patri
https://bugs.kde.org/show_bug.cgi?id=416016

--- Comment #13 from Bruno Patri  ---
@Jonathan Riddell, thanks for the quick fix.
It works  now.

-- 
You are receiving this mail because:
You are watching all bug changes.

[neon] [Bug 416016] Akonadi can no longer start : /run/user/1000/akonadi problem

2020-01-09 Thread Jonathan Riddell
https://bugs.kde.org/show_bug.cgi?id=416016

--- Comment #12 from Jonathan Riddell  ---
The fix is now published, please update and reboot.

-- 
You are receiving this mail because:
You are watching all bug changes.

[neon] [Bug 416016] Akonadi can no longer start : /run/user/1000/akonadi problem

2020-01-09 Thread Stefan
https://bugs.kde.org/show_bug.cgi?id=416016

--- Comment #11 from Stefan  ---
(In reply to Bruno Patri from comment #10)
> (In reply to Stefan from comment #7)
> …
> > > > https://cgit.kde.org/akonadi.git/tree/apparmor/usr.bin.akonadiserver
> > > 
> > > It works for me...thank you!
> > Unfortunately this has not worked for me
> 
> If you replace the two files under /etc/apparmor.d usr.bin.akonadiserver and
> mysql_akonadi by the ones in https://cgit.kde.org/akonadi.git/tree/apparmor,
> it should work.

This doesn't work either.

-- 
You are receiving this mail because:
You are watching all bug changes.

[neon] [Bug 416016] Akonadi can no longer start : /run/user/1000/akonadi problem

2020-01-09 Thread Bruno Patri
https://bugs.kde.org/show_bug.cgi?id=416016

--- Comment #10 from Bruno Patri  ---
(In reply to Stefan from comment #7)
…
> > > https://cgit.kde.org/akonadi.git/tree/apparmor/usr.bin.akonadiserver
> > 
> > It works for me...thank you!
> Unfortunately this has not worked for me

If you replace the two files under /etc/apparmor.d usr.bin.akonadiserver and
mysql_akonadi by the ones in https://cgit.kde.org/akonadi.git/tree/apparmor, it
should work.

-- 
You are receiving this mail because:
You are watching all bug changes.

[neon] [Bug 416016] Akonadi can no longer start : /run/user/1000/akonadi problem

2020-01-09 Thread Stefan
https://bugs.kde.org/show_bug.cgi?id=416016

--- Comment #9 from Stefan  ---
(In reply to Jonathan Riddell from comment #8)
> Changes to apparmor profiles typically need a reboot to take effect

Yes I know. But still this doesn't help.

-- 
You are receiving this mail because:
You are watching all bug changes.

[neon] [Bug 416016] Akonadi can no longer start : /run/user/1000/akonadi problem

2020-01-09 Thread Jonathan Riddell
https://bugs.kde.org/show_bug.cgi?id=416016

--- Comment #8 from Jonathan Riddell  ---
Changes to apparmor profiles typically need a reboot to take effect

-- 
You are receiving this mail because:
You are watching all bug changes.

[neon] [Bug 416016] Akonadi can no longer start : /run/user/1000/akonadi problem

2020-01-09 Thread Stefan
https://bugs.kde.org/show_bug.cgi?id=416016

Stefan  changed:

   What|Removed |Added

 CC||sstaegl...@kdemail.net

--- Comment #7 from Stefan  ---
(In reply to dharman from comment #6)
> (In reply to Bruno Patri from comment #5)
> > This is an issue with apparmor and Ubuntu. Everything works if the apparmor
> > profile usr.bin.akonadiserver is disabled.
> > 
> > It seems that the apparmor profile provided in the KDE Neon package
> > akonadi-server needs at least a line to allow read and write in /run/user :
> > 
> > owner /{,var/}run/user/@{uid}/akonadi** rwk,
> > 
> > Not that this line is present in the master branch :
> > https://cgit.kde.org/akonadi.git/tree/apparmor/usr.bin.akonadiserver
> 
> It works for me...thank you!
Unfortunately this has not worked for me

-- 
You are receiving this mail because:
You are watching all bug changes.

[neon] [Bug 416016] Akonadi can no longer start : /run/user/1000/akonadi problem

2020-01-09 Thread Christophe Giboudeaux
https://bugs.kde.org/show_bug.cgi?id=416016

Christophe Giboudeaux  changed:

   What|Removed |Added

  Component|akonadiconsole  |general
 CC||j...@jriddell.org,
   ||neon-b...@kde.org,
   ||sit...@kde.org
Product|Akonadi |neon
Version|5.13.0  |unspecified
   Assignee|kdepim-b...@kde.org |neon-b...@kde.org

-- 
You are receiving this mail because:
You are watching all bug changes.